OpenMx (version 2.17.3)

omxAugmentDataWithWLSSummary: 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

Run this code
# NOT RUN {
omxAugmentDataWithWLSSummary(mxData(Bollen[,1:8], 'raw'))
# }

Run the code above in your browser using DataLab