Learn R Programming

⚠️There's a newer version (1.2) of this package.Take me there.

hbsae (version 1.0)

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 MSEs, as well as some model selection measures. Additional functions provide means to compute aggregate estimates and MSEs, 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.0

License

GPL-3

Maintainer

Harm Jan Boonstra

Last Published

September 5th, 2012

Functions in hbsae (1.0)

plot.sae

Plot method for objects of class sae.
aggr

Compute aggregates of small area estimates and MSEs.
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.
bench

Benchmark 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.
CVarea

Compute area-level cross-validation measure for sae objects.
summary.weights

Summary method for objects of class weights.
fSurvReg

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

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

Generate artificial dataset for demonstration and testing purposes.
print.sae

Print method for objects of class sae.
sae-class

S3 class for the fitted model and SAE outcomes.
hbsae-package

A package for hierarchical Bayesian small area estimation.