omxAugmentDataWithWLSSummary {OpenMx}R Documentation

Estimate summary statistics used by the WLS fit function

Description

The summary statistics are returned in the observedStats slot of the MxData object.

Usage

omxAugmentDataWithWLSSummary(
  mxd,
  type = c("WLS", "DWLS", "ULS"),
  allContinuousMethod = c("cumulants", "marginals"),
  ...,
  exogenous = c(),
  fullWeight = TRUE,
  returnModel = FALSE,
  silent = TRUE
)

Arguments

mxd

an MxData object containing raw data

type

the type of WLS weight matrix

allContinuousMethod

which method to use when all indicators are continuous

...

Not used. Forces remaining arguments to be specified by name.

exogenous

names variables to be modelled as exogenous

fullWeight

whether to produce a fullWeight matrix

returnModel

whether to return the whole mxModel (TRUE) or just the mxData (FALSE)

silent

logical. Whether to print status to terminal.

See Also

mxFitFunctionWLS

Examples

omxAugmentDataWithWLSSummary(mxData(Bollen[,1:8], 'raw'))

[Package OpenMx version 2.21.11 Index]