R: Analyzing data using a null model

nullMx {semTools} | R Documentation

## 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.

### Author(s)

Sunthud Pornprasertmanit (psunthud@gmail.com)

### See Also

`saturateMx`, `fitMeasuresMx`, `standardizeMx`

### Examples

    ## Not run:
    library(OpenMx)
    data(demoOneFactor)
    nullModel <- nullMx(demoOneFactor)

    ## End(Not run)

[Package semTools version 0.4-14 Index]