Package: GLAMMGoF 1.1.2

Colin Shea
GLAMMGoF: Resampling-Based Predictive Validation for Generalized Linear and Generalized Additive Models
Provides resampling-based predictive validation for generalized linear and generalized additive models (with or without random effects) fitted using packages such as glmmTMB, mgcv, stats, lme4, and MASS. Predictive performance is assessed using either repeated random holdout (Monte Carlo cross-validation) or bootstrap resampling with out-of-bag evaluation. In each replicate, models are refit to a training dataset and evaluated on separate testing data, generating sampling distributions of in-sample and out-of-sample performance statistics. For continuous or integer response models, supported metrics include relative root mean squared error (RRMSE), relative mean absolute error (RMAE), relative median absolute error (RMedAE), and relative bias (RBIAS). For binary response models, supported metrics include AUC, Brier score, and log loss. All predictive metrics are based on population-level predictions, meaning random effects are excluded when present. Optional residual diagnostics can also be performed using the DHARMa package.
Authors:
GLAMMGoF_1.1.2.tar.gz
GLAMMGoF_1.1.2.zip(r-4.7)GLAMMGoF_1.1.2.zip(r-4.6)GLAMMGoF_1.1.2.zip(r-4.5)
GLAMMGoF_1.1.2.tgz(r-4.6-any)GLAMMGoF_1.1.2.tgz(r-4.5-any)
GLAMMGoF_1.1.2.tar.gz(r-4.7-any)GLAMMGoF_1.1.2.tar.gz(r-4.6-any)
GLAMMGoF_1.1.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
card.svg |card.png
GLAMMGoF/json (API)
| # Install 'GLAMMGoF' in R: |
| install.packages('GLAMMGoF', repos = c('https://colinpshea.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/colinpshea/glammgof/issues
- countData - Simulated count data
- countModel_GAM - Simulated count GAM example model
- countModel_GAMM - Simulated count GAMM example model
- countModel_GAMM2 - Simulated count GAMM2 example model
- countModel_GLM - Simulated count GLM example model
- countModel_GLMM - Simulated count GLMM example model
- countModel_GLMM2 - Simulated count GLMM2 example model
- logitData - Simulated binary data
- logitModel_GAM - Simulated binary GAM example model
- logitModel_GAMM - Simulated binary GAMM example model
- logitModel_GAMM2 - Simulated binary GAMM2 example model
- logitModel_GLM - Simulated binary GLM example model
- logitModel_GLMM - Simulated binary GLMM example model
- logitModel_GLMM2 - Simulated binary GLMM2 example model
Last updated from:23d7e5f094. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 252 | ||
| source / vignettes | OK | 453 | ||
| linux-release-x86_64 | OK | 241 | ||
| macos-release-arm64 | OK | 131 | ||
| macos-oldrel-arm64 | OK | 116 | ||
| windows-devel | OK | 187 | ||
| windows-release | OK | 169 | ||
| windows-oldrel | OK | 201 | ||
| wasm-release | OK | 191 |
Exports:bias_precisionbrier_aucjensen_correct
Dependencies:apeaskpassbackportsbase64encbootbroombslibcachemcheckmatecliclustercodetoolscolorspacecommonmarkcowplotcpp11crayoncrosstalkcurldata.tableDerivDHARMadigestdoBydoParalleldplyrevaluatefarverfastmapfontawesomeforcatsforeachforecastforeignFormulafracdifffsgamm4gapgap.datasetsgenericsGGallyggplot2ggstatsglmmTMBgluegridExtragtablehighrHmischmshtmlTablehtmltoolshtmlwidgetshttpuvhttrisobanditeratorsjquerylibjsonliteKernSmoothknitrlabelinglaterlatticelazyevallifecyclelme4lmtestmagrittrMASSMatrixMatrixModelsmatrixStatsmemoisemgcvmgcVizmicrobenchmarkmimeminqamodelrmultcompmvtnormnlmenloptrnnetnumDerivopensslotelpatchworkpbkrtestpillarpkgconfigplotlyplyrpolsplineprettyunitsprogresspromisespurrrqgamquantregR6rappdirsrbibutilsRColorBrewerRcppRcppArmadilloRcppEigenRdpackreformulasrlangrmarkdownrmsrpartrstudioapiS7sandwichsassscalesshinysourcetoolsSparseMstringistringrsurvivalsysTH.datatibbletidyrtidyselecttimeDatetinytexTMBurcautf8vctrsviridisviridisLitewithrxfunxtableyamlzoo
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Bootstrap or Monte Carlo assessment of RRMSE, RMAE, RMedAE, and RBIAS predictive performance statistics | bias_precision |
| Bootstrap or Monte Carlo assessment of AUC, Brier score, and log loss predictive performance statistics | brier_auc |
| Simulated count data | countData |
| Simulated count GAM example model | countModel_GAM |
| Simulated count GAMM example model | countModel_GAMM |
| Simulated count GAMM2 example model | countModel_GAMM2 |
| Simulated count GLM example model | countModel_GLM |
| Simulated count GLMM example model | countModel_GLMM |
| Simulated count GLMM2 example model | countModel_GLMM2 |
| Lognormal bias correction factor for log-link GLMM marginal predictions | jensen_correct |
| Simulated binary data | logitData |
| Simulated binary GAM example model | logitModel_GAM |
| Simulated binary GAMM example model | logitModel_GAMM |
| Simulated binary GAMM2 example model | logitModel_GAMM2 |
| Simulated binary GLM example model | logitModel_GLM |
| Simulated binary GLMM example model | logitModel_GLMM |
| Simulated binary GLMM2 example model | logitModel_GLMM2 |