Description
Calculating the M2 Model Fit Statistic for Diagnostic Classification Models.
Description
A collection of functions for calculating the M2 model fit statistic for diagnostic classification models as described by Liu et al. (2016) <DOI:10.3102/1076998615621293>. These functions provide multiple sources of information for model fit according to the M2 statistic, including the M2 statistic, the *p* value for that M2 statistic, and the Root Mean Square Error of Approximation based on the M2 statistic.
README.md
dcm2
The goal of dcm2 is to provide a generic function for calculating the M2 statistic described by Liu et al. (2016). The package provides native support for models estimated with GDINA, but package authors can create methods for different classes of models.
Installation
You can install the release version of {dcm2} from CRAN:
install.packages("dcm2")
To install the development version from GitHub use:
# install.packages("remotes")
remotes::install_github("atlas-aai/dcm2")