Calculating the M2 Model Fit Statistic for Diagnostic Classification Models

A collection of functions for calculating the M2 model fit statistic for diagnostic classification models as described by Liu et al. (2016) . 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.


dcm2

Project Status: Active – The project has reached a stable, usablestate and is being activelydeveloped. License

R-CMD-check Codecov testcoverage

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")

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("dcm2")

1.0.2 by Jeffrey Hoover, 4 years ago


https://github.com/atlas-aai/dcm2


Report a bug at https://github.com/atlas-aai/dcm2/issues


Browse source code at https://github.com/cran/dcm2


Authors: Jeffrey Hoover [aut, cre, cph] , W. Jake Thompson [aut] , Wenchao Ma [ctb] (Author of Mord.cpp)


Documentation:   PDF Manual  


GPL-3 license


Imports dplyr, glue, magrittr, methods, modelr, purrr, Rcpp, rlang, stringr, tibble, tidyr

Suggests covr, GDINA, roxygen2, spelling, testthat

Linking to Rcpp, RcppArmadillo


Imported by measr.


See at CRAN