Package: HLMdiag 0.5.0
HLMdiag: Diagnostic Tools for Hierarchical (Multilevel) Linear Models
A suite of diagnostic tools for hierarchical (multilevel) linear models. The tools include not only leverage and traditional deletion diagnostics (Cook's distance, covratio, covtrace, and MDFFITS) but also convenience functions and graphics for residual analysis. Models can be fit using either lmer in the 'lme4' package or lme in the 'nlme' package.
Authors:
HLMdiag_0.5.0.tar.gz
HLMdiag_0.5.0.tar.gz(r-4.5-noble)HLMdiag_0.5.0.tar.gz(r-4.4-noble)
HLMdiag_0.5.0.tgz(r-4.4-emscripten)HLMdiag_0.5.0.tgz(r-4.3-emscripten)
HLMdiag.pdf |HLMdiag.html✨
HLMdiag/json (API)
NEWS
# Install 'HLMdiag' in R: |
install.packages('HLMdiag', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/aloy/hlmdiag/issues
Last updated 4 years agofrom:da2086d275. Checks:OK: 1 NOTE: 1. Indexed: no.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Dec 14 2024 |
R-4.5-linux-x86_64 | NOTE | Dec 14 2024 |
Exports:adjust_lmListcase_deletecompare_eb_lscovratiocovtracedotplot_diagextract_designhlm_augmenthlm_influencehlm_residleverageLSresidsmdffitspull_residresid_conditionalresid_marginalrotate_ranefrvcvarcomp.mer
Dependencies:clicolorspacecpp11diagonalsdplyrfansifarvergenericsggplot2ggrepelgluegtablehmsisobandjanitorlabelinglatticelifecyclelubridatemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigplyrpurrrR6RColorBrewerRcppRcppArmadilloreshape2rlangscalessnakecasestringistringrtibbletidyrtidyselecttimechangeutf8vctrsviridisLitewithr
Influence Diagnostics
Rendered frominfluence_diagnostics.Rmd
usingknitr::rmarkdown_notangle
on Dec 14 2024.Last update: 2021-05-02
Started: 2020-12-14
Residual Diagnostics
Rendered fromhlm_resid.Rmd
usingknitr::rmarkdown_notangle
on Dec 14 2024.Last update: 2020-12-14
Started: 2020-12-14
Updated JSS code
Rendered fromjss_update.Rmd
usingknitr::rmarkdown_notangle
on Dec 14 2024.Last update: 2021-05-02
Started: 2020-12-14
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Fitting Common Models via 'lm' | adjust_lmList adjust_lmList,formula,data.frame-method adjust_lmList.formula |
Methylprednisolone data | ahd |
Autism data | autism |
Case Deletion for 'mer'/'lmerMod' objects | case_delete case_delete.default case_delete.lme case_delete.lmerMod case_delete.mer |
Visually comparing shrinkage and LS estimates | compare_eb_ls |
Influence on precision of fixed effects in HLMs | covratio covratio.default covratio.lme covratio.lmerMod covratio.mer covtrace covtrace.default covtrace.lme covtrace.lmerMod covtrace.mer |
Dot plots for influence diagnostics | dotplot_diag |
Extracting covariance matrices from lme | extract_design |
Calculating residuals and influence diagnostics for HLMs 'hlm_augment' is used to compute residuals, fitted values, and influence diagnostics for a hierarchical linear model. The residuals and fitted values are computed using Least Squares(LS) and Empirical Bayes (EB) methods. The influence diagnostics are computed through one step approximations. | hlm_augment hlm_augment.default hlm_augment.lmerMod |
Calculating influence diagnostics for HLMs | hlm_influence hlm_influence.default hlm_influence.lme hlm_influence.lmerMod |
Calculating residuals from HLMs | hlm_resid hlm_resid.default hlm_resid.lme hlm_resid.lmerMod |
Diagnostic tools for hierarchical (multilevel) linear models | HLMdiag package-HLMdiag |
Defunct functions in package HLMdiag | diagnostics ggplot_qqnorm group_qqnorm HLMdiag-defunct HLMresid HLMresid.default HLMresid.lmerMod HLMresid.mer |
Deprecated functions in HLMdiag | HLMdiag-deprecated |
Leverage for HLMs | leverage leverage.default leverage.lme leverage.lmerMod leverage.mer |
Calculating least squares residuals | LSresids LSresids.default LSresids.lme LSresids.lmerMod LSresids.mer |
Influence on fixed effects of HLMs | cooks.distance cooks.distance.lme cooks.distance.lmerMod cooks.distance.mer mdffits mdffits.default mdffits.lme mdffits.lmerMod mdffits.mer |
Computationally Efficient HLM Residuals | pull_resid pull_resid.default pull_resid.lme pull_resid.lmerMod |
Radon data | radon |
Conditional residuals | resid_conditional resid_conditional.default resid_conditional.lme resid_conditional.lmerMod |
Marginal residuals | resid_marginal resid_marginal.default resid_marginal.lme resid_marginal.lmerMod |
Random effects residuals | resid_ranef |
Calculate s-dimensional rotated random effects | rotate_ranef rotate_ranef.default rotate_ranef.lme rotate_ranef.lmerMod rotate_ranef.mer |
Relative variance change for HLMs | rvc rvc.default rvc.lme rvc.lmerMod rvc.mer |
Extracting variance components | varcomp.mer |
Wages for male high school dropouts | wages |