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.hbsae():
posterior_predict() with
posterior_epred() from the brms package
for better compatibility and interpretation.posterior_epred() consistently.hbm_beta(),
hbm_logitnormal(), and hbm_lognormal()):
run_sae_app():