
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.
nullMx(data, groupLab = NULL)
The target data frame
The name of grouping variable
The MxModel
object which contains the analysis result of the null model.
# NOT RUN {
library(OpenMx)
data(demoOneFactor)
nullModel <- nullMx(demoOneFactor)
# }
Run the code above in your browser using DataLab