R: Analyzing data with full-information maximum likelihood with...
auxiliary
R Documentation
Analyzing data with full-information maximum likelihood with auxiliary variables
Description
Analyzing data with full-information maximum likelihood with auxiliary variables. The techniques used to account for auxiliary variables are both extra-dependent-variables and saturated-correlates approaches (Enders, 2008). The extra-dependent-variables approach is used for all single variables in the model (such as covariates or single-indicator dependent varaible) For variables that are belong to a multiple-indicator factor, the saturated-correlates approach is used. Note that all covariates are treated as endogenous varaibles in this model (fixed.x = FALSE) so multivariate normality is assumed for the covariates. CAUTION: (1) this function will automatically change the missing data handling method to full-information maximum likelihood and (2) this function is still not applicable for categorical variables (because the maximum likelhood method is not available in lavaan for estimating models with categorical variables currently).
The lavaan object, the parameter table, or lavaan script. If the lavaan object is provided, the lavaan object must be evaluated with mean structure.
aux
The list of auxiliary variable
fun
The character of the function name used in running lavaan model ("cfa", "sem", "growth", "lavaan").
...
The additional arguments in the lavaan function.
Value
The lavaanStar object which contains the original lavaan object and the additional values of the null model, which need to be adjusted to account for auxiliary variables.
Enders, C. K. (2008). A note of the use of missing auxiliary variables in full information maximum likelihood-based structural equation models. Structural Equation Modeling, 15, 434-448.