Initial GitHub submission.
Added the main function hbm()
for general hierarchical Bayesian modeling in the context of Small Area Estimation (SAE).
Added model-specific functions:
hbm_beta()
for Beta distribution modeling.hbm_logitnormal()
for Logit-Normal distribution modeling.hbm_lognormal()
for Log-Normal distribution modeling.
Added model diagnostic functions:
hbcc()
for convergence checking (e.g., using trace plots, Rhat, and effective sample size).hbmc()
for evaluating model goodness-of-fit.
Added hbsae()
function for producing area-level predictions and estimates based on fitted models.
Added run_sae_app()
to launch an interactive Shiny application for upload data, model specification, fitting, checking, and result exploration.
hbmc()
:k
Pareto values in LOO diagnostics.Included prior sensitivity analysis as part of the model checking process.
Improved hbsae()
:
posterior_predict()
with posterior_epred()
from the brms package for better compatibility and interpretation.Removed the scaling option for prediction; SAE predictions are now standardized using posterior_epred()
consistently.
Updated model-specific functions (hbm_beta()
, hbm_logitnormal()
, and hbm_lognormal()
):
Weakly informative priors are now used by default for all regression coefficients (betas), enhancing model stability while preserving flexibility.
Shiny App Enhancements via run_sae_app()
:
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.