Package: hlmLab 0.2.0.9000

hlmLab: Hierarchical Linear Modeling with Visualization and Decomposition

Provides functions for visualization and decomposition in hierarchical linear models (HLM) for applications in education, psychology, and the social sciences. Includes variance decomposition for two-level and three-level data structures following Snijders and Bosker (2012, ISBN:9781849202015), intraclass correlation (ICC) estimation and design effect computation as described in Shrout and Fleiss (1979) <doi:10.1037/0033-2909.86.2.420>, and contextual effect decomposition via the Mundlak (1978) <doi:10.2307/1913646> specification distinguishing within- and between-cluster components, with the uncertainty of the contextual contrast obtained from the full fixed-effect covariance matrix. Teaching displays cover simulated intraclass correlations, partial pooling of cluster means, random-slope heterogeneity, and cross-level interaction with an observed Level-2 moderator, following Hofmann and Gavin (1998) <doi:10.1177/014920639802400504> and Hamaker and Muthen (2020) <doi:10.1037/met0000239>. Multilevel models are estimated using 'lme4' (Bates et al., 2015 <doi:10.18637/jss.v067.i01>). An optional 'Shiny' application enables interactive exploration of model components and parameter variation. The implementation follows the multilevel modeling framework of Raudenbush and Bryk (2002, ISBN:9780761919049).

Authors:Subir Hait [aut, cre]

hlmLab_0.2.0.9000.tar.gz
hlmLab_0.2.0.9000.zip(r-4.7-any)hlmLab_0.2.0.9000.zip(r-4.6-any)hlmLab_0.2.0.9000.zip(r-4.5-any)
hlmLab_0.2.0.9000.tgz(r-4.6-any)hlmLab_0.2.0.9000.tgz(r-4.5-any)
hlmLab_0.2.0.9000.tar.gz(r-4.7-any)hlmLab_0.2.0.9000.tar.gz(r-4.6-any)
hlmLab_0.2.0.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
hlmLab/json (API)

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

Bug tracker:https://github.com/subirhait/hlmlab/issues

On CRAN:

Conda:

3.30 score 1 stars 341 downloads 11 exports 38 dependencies

Last updated from:ff72875f98. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK147
source / vignettesOK215
linux-releaseOK143
macos-releaseOK105
macos-oldrelOK88
windows-develOK98
windows-releaseOK88
windows-oldrelOK80
wasm-releaseOK118

Exports:hlm_contexthlm_context_plothlm_cross_level_plothlm_decomposehlm_decompose_longhlm_icchlm_icc_demohlm_icc_plothlm_random_slope_plothlm_shrinkage_plothlm_xint_geom

Dependencies:bootclicpp11dplyrfarvergenericsggplot2gluegtableisobandlabelinglatticelifecyclelme4magrittrMASSMatrixminqanlmenloptrpillarpkgconfigR6rbibutilsRColorBrewerRcppRcppEigenRdpackreformulasrlangS7scalestibbletidyselectutf8vctrsviridisLitewithr