Package: modeLLtest 1.0.5

Shana Scogin

modeLLtest: Compare Models with Cross-Validated Log-Likelihood

An implementation of the cross-validated difference in means (CVDM) test by Desmarais and Harden (2014) <doi:10.1007/s11135-013-9884-7> (see also Harden and Desmarais, 2011 <doi:10.1177/1532440011408929>) and the cross-validated median fit (CVMF) test by Desmarais and Harden (2012) <doi:10.1093/pan/mpr042>. These tests use leave-one-out cross-validated log-likelihoods to assist in selecting among model estimations. You can also utilize data from Golder (2010) <doi:10.1177/0010414009341714> and Joshi & Mason (2008) <doi:10.1177/0022343308096155> that are included to facilitate examples from real-world analysis.

Authors:Shana Scogin [aut, cre], Sarah Petersen [aut], Jeff Harden [aut], Bruce A. Desmarais [aut]

modeLLtest_1.0.5.tar.gz
modeLLtest_1.0.5.tar.gz(r-4.7-arm64)modeLLtest_1.0.5.tar.gz(r-4.7-x86_64)modeLLtest_1.0.5.tar.gz(r-4.6-arm64)modeLLtest_1.0.5.tar.gz(r-4.6-x86_64)
modeLLtest_1.0.5.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
modeLLtest/json (API)
NEWS

# Install 'modeLLtest' in R:
install.packages('modeLLtest', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/shanascogin/modelltest/issues

Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3
Datasets:
  • govtform - Data from Golder (2010) on government formation in Western Europe
  • nepaldem - Data from Joshi and Mason (2008) on voter turnout in Nepal

On CRAN:

Conda:

openblascpp

2.88 score 15 scripts 203 downloads 4 exports 10 dependencies

Last updated from:3d75bf8799. Checks:6 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64OK168
linux-devel-x86_64OK176
source / vignettesOK241
linux-release-arm64OK169
linux-release-x86_64OK179
wasm-releaseOK133

Exports:cvdmcvllcvlldiffcvmf

Dependencies:coxrobustlatticeMASSMatrixMatrixModelsquantregRcppRcppArmadilloSparseMsurvival

Getting Started with ModeLLtest

Rendered fromgetting_started.Rmdusingknitr::rmarkdownon Jun 09 2026.

Last update: 2020-08-07
Started: 2019-07-03