MplusAutomation-package: Automating Mplus Model Estimation and Interpretation
Description
The MplusAutomation package leverages the flexibility of the
R language to automate latent variable model estimation and interpretation using Mplus,
a powerful latent variable modeling program developed by Muthen and Muthen (www.statmodel.com).
Specifically, MplusAutomation provides routines for creating related groups of models,
running batches of models, and extracting and tabulating model parameters and fit statistics.Details
ll{
Package: MplusAutomation
Type: Package
Version: 0.2-5
Date: 2010-04-01
License: LGPL-3
LazyLoad: yes
}
The MplusAutomation package has three primary purposes:
- To automatically run groups/batches of models.
- To provide routines to extract model fit statistics, parameter estimates,
and raw data from Mplus output files.
- To provide a template language that allows for the creation of related input files (under development).
At this time, the first two items are included in the package, with a prototype of the template language under development.
The core routine for running batches of models is runModels
, with an easy-to-use GUI wrapper, runModels_Interactive
.
To extract model summary statistics from one or more output files, see extractModelSummaries
, which returns a data.frame
of fit statistics
for models located within a directory. Model fit results can be summarized in tabular form (for comparing among models) using showSummaryTable
(displays table in separate window), HTMLSummaryTable
(creates HTML file containing summary table), or LatexSummaryTable
(returns
a LaTex-formatted table of summary statistics).
To extract raw data created by the SAVEDATA command (e.g., class membership probabilities or factor scores), see getSavedata_Data
.
To extract unstandardized or standardized parameter estimates from a single output file, see extractModelParameters
.References
Mplus software. Muthen and Muthen. http://www.statmodel.com