Learn R Programming

hbsae (version 1.2)

Hierarchical Bayesian Small Area Estimation

Description

Functions to compute small area estimates based on a basic area or unit-level model. The model is fit using restricted maximum likelihood, or in a hierarchical Bayesian way. In the latter case numerical integration is used to average over the posterior density for the between-area variance. The output includes the model fit, small area estimates and corresponding mean squared errors, as well as some model selection measures. Additional functions provide means to compute aggregate estimates and mean squared errors, to minimally adjust the small area estimates to benchmarks at a higher aggregation level, and to graphically compare different sets of small area estimates.

Copy Link

Version

Install

install.packages('hbsae')

Monthly Downloads

408

Version

1.2

License

GPL-3

Maintainer

Harm Jan Boonstra

Last Published

March 5th, 2022

Functions in hbsae (1.2)

CVarea

Compute area-level cross-validation measure for sae objects.
aggr

Compute aggregates of small area estimates and MSEs.
bench

Benchmark small area estimates.
uweights

Compute unit weights underlying the small area estimates or their aggregate.
fSAE.Area

Compute small area estimates based on the basic area-level model.
fSAE

Fit a linear model with random area effects and compute small area estimates.
fSAE.Unit

Compute small area estimates based on the basic unit-level model.
plot.weights

Plot method for objects of class weights.
print.sae

Print method for objects of class sae.
fSurvReg

Compute small area estimates based on the survey regression estimator.
generateFakeData

Generate artificial dataset for demonstration and testing purposes.
sae-class

S3 class for the fitted model and SAE outcomes.
summary.weights

Summary method for objects of class weights.
plot.sae

Plot method for objects of class sae.
hbsae-package

A package for hierarchical Bayesian small area estimation.