Skip to content

This package provides a convenient interface for building Measurement Model of Derivatives (MMOD; Estabrook, 2015) in OpenMx

Notifications You must be signed in to change notification settings

khusmann/mxmmod

Folders and files

NameName
Last commit message
Last commit date

Latest commit

86c0ea8 · May 18, 2021

History

38 Commits
May 18, 2021
Mar 16, 2020
Mar 16, 2020
May 18, 2021
May 18, 2021
Mar 16, 2020
May 18, 2021
Oct 14, 2019
May 18, 2021
Mar 16, 2020
May 18, 2021
Mar 16, 2020
May 18, 2021
Oct 12, 2019

Repository files navigation

mxmmod

This package provides a convenient interface for building Measurement Model of Derivatives (MMOD; Estabrook, 2015) in OpenMx.

Installing

Install in R with:

devtools::install_github('khusmann/mxmmod')

Usage

data(nlsy97depression)
# Fit one factor MMOD
structure <- list(
  F1 = c('nervous', 'down', 'depressed', 'calm', 'happy')
)
mmod_model <- mxMmodModel(data=nlsy97depression,
                          modelName='1 Factor MMOD',
                          idvar='pid', timevar='occasion', structure=structure)
mmod_fit <- OpenMx::mxRun(mmod_model)
summary(mmod_fit)

About

This package provides a convenient interface for building Measurement Model of Derivatives (MMOD; Estabrook, 2015) in OpenMx

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages