Learn R Programming

aMNLFA (version 1.1.2)

Automated Moderated Nonlinear Factor Analysis Using 'M-plus'

Description

Automated generation, running, and interpretation of moderated nonlinear factor analysis models for obtaining scores from observed variables, using the method described by Gottfredson and colleagues (2019) . This package creates M-plus input files which may be run iteratively to test two different types of covariate effects on items: (1) latent variable impact (both mean and variance); and (2) differential item functioning. After sequentially testing for all effects, it also creates a final model by including all significant effects after adjusting for multiple comparisons. Finally, the package creates a scoring model which uses the final values of parameter estimates to generate latent variable scores. \n\n This package generates TEMPLATES for M-plus inputs, which can and should be inspected, altered, and run by the user. In addition to being presented without warranty of any kind, the package is provided under the assumption that everyone who uses it is reading, interpreting, understanding, and altering every M-plus input and output file. There is no one right way to implement moderated nonlinear factor analysis, and this package exists solely to save users time as they generate M-plus syntax according to their own judgment.

Copy Link

Version

Install

install.packages('aMNLFA')

Monthly Downloads

335

Version

1.1.2

License

GPL-2

Maintainer

Veronica Cole

Last Published

February 13th, 2022

Functions in aMNLFA (1.1.2)

fixPath

helper function - removes the final slash at the end of a given string
aMNLFA.itemplots

aMNLFA item plotting function
aMNLFA.prune

aMNLFA simultaneous model fitting function
aMNLFA.simultaneous

aMNLFA simultaneous model fitting function
aMNLFA.sample

aMNLFA sampling function
write.inp.file

helper function for writing out Mplus inputs
aMNLFA.initial

aMNLFA initial model fitting function
aMNLFA.final

aMNLFA simultaneous model fitting function
aMNLFA.object

aMNLFA object function
aMNLFA.DIFplot

aMNLFA plotting function for aMNLFA.prune() results
aMNLFA.scores

aMNLFA score generating function
xstudy

Simulated cross-study data