Package: ngvb 0.2.1
ngvb: Latent Non-Gaussian Modelling with 'INLA' and Variational Bayes
Diagnoses whether the latent Gaussian assumption of a model fitted with the 'INLA' package is adequate, and fits latent non-Gaussian extensions that relax it. The function ng.check() reports a Bayes-factor sensitivity diagnostic that says whether, and where, the Gaussian assumption is inadequate; ngvb() then fits the non-Gaussian model by a variational-Bayes loop around 'INLA', adding local flexibility only where the data support it. A single unified engine implements the conditional precision Q(theta, V) = D(theta)^T diag(1/V) D(theta) and owns its normalizing constant, and a model registry covers iid, random-walk, autoregressive, Ornstein-Uhlenbeck, intrinsic-CAR (besag), simultaneous-autoregression, 'SPDE'/Matern and seasonal models. Methods follow Cabral, Bolin and Rue (2024) <doi:10.1080/01621459.2023.2296704> and Cabral, Bolin and Rue (2025) <doi:10.1093/jrsssb/qkae107>.
Authors:
ngvb_0.2.1.tar.gz
ngvb_0.2.1.zip(r-4.7-any)ngvb_0.2.1.zip(r-4.6-any)
ngvb_0.2.1.tar.gz(r-4.7-any)ngvb_0.2.1.tar.gz(r-4.6-any)
ngvb_0.2.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
card.svg |card.png
ngvb/json (API)
| # Install 'ngvb' in R: |
| install.packages('ngvb', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/rafaelcabral-ai/ngvb/issues
Pkgdown/docs site:https://rafaelcabral-ai.github.io
Last updated from:eb5b47297e. Checks:6 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 134 | ||
| source / vignettes | OK | 287 | ||
| linux-release | OK | 143 | ||
| windows-devel | OK | 68 | ||
| windows-release | OK | 89 | ||
| wasm-release | OK | 111 |
Exports:areal.plotbayes.factorgeo.plotng.checkngvbngvb_customngvb_operatorngvb_precisionngvb_rgenericngvb_sample
Dependencies:clicodetoolscpp11farverggplot2GIGrvggluegtableisobandlabelinglatticelifecycleMatrixpatchworkR6RColorBrewerrlangS7scalesvctrsviridisLitewithr
