Learn R Programming

semTools (version 0.4-12)

nullMx: Analyzing data using a null model

Description

Analyzing data using a null model by full-information maximum likelihood. In the null model, all means and covariances are free if items are continuous. All covariances are fixed to 0. For ordinal variables, their means are fixed as 0 and their variances are fixed as 1 where their thresholds are estimated. In multiple-group model, all means are variances are separately estimated.

Usage

nullMx(data, groupLab = NULL)

Arguments

data
The target data frame
groupLab
The name of grouping variable

Value

The MxModel object which contains the analysis result of the null model.

See Also

saturateMx, fitMeasuresMx, standardizeMx

Examples

Run this code
## Not run: 
# library(OpenMx)
# data(demoOneFactor)
# nullModel <- nullMx(demoOneFactor)
# ## End(Not run)

Run the code above in your browser using DataLab