Package: saeHB.twofold 0.1.2

Reyhan Saadi

saeHB.twofold: Hierarchical Bayes Twofold Subarea Level Model SAE

We designed this package to provides several functions for area and subarea level of small area estimation under Twofold Subarea Level Model using hierarchical Bayesian (HB) method with Univariate Normal distribution for variables of interest. Some dataset simulated by a data generation are also provided. The 'rjags' package is employed to obtain parameter estimates using Gibbs Sampling algorithm. Model-based estimators involves the HB estimators which include the mean, the variation of mean, and the quantile. For the reference, see Rao and Molina (2015) <doi:10.1002/9781118735855>, Torabi and Rao (2014) <doi:10.1016/j.jmva.2014.02.001>, Leyla Mohadjer et al.(2007) <http://www.asasrms.org/Proceedings/y2007/Files/JSM2007-000559.pdf>, and Erciulescu et al.(2019) <doi:10.1111/rssa.12390>.

Authors:Reyhan Saadi [aut, cre], Azka Ubaidillah [aut]

saeHB.twofold_0.1.2.tar.gz
saeHB.twofold_0.1.2.tar.gz(r-4.5-noble)saeHB.twofold_0.1.2.tar.gz(r-4.4-noble)
saeHB.twofold_0.1.2.tgz(r-4.4-emscripten)saeHB.twofold_0.1.2.tgz(r-4.3-emscripten)
saeHB.twofold.pdf |saeHB.twofold.html
saeHB.twofold/json (API)

# Install 'saeHB.twofold' in R:
install.packages('saeHB.twofold', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/reymath99/saehb.twofold/issues

Uses libs:
  • jags– Just Another Gibbs Sampler for Bayesian MCMC
  • c++– GNU Standard C++ Library v3
Datasets:
  • dataTwofold - Simulated dataset Under Two Fold Subarea level model with Normal distribution.
  • dataTwofoldNS - Simulated dataset Under Two Fold Subarea level model with Normal distribution and Non-sampled subarea

jagscpp

2.00 score 3 scripts 56 downloads 1 exports 12 dependencies

Last updated 9 days agofrom:652e9fe119. Checks:OK: 2. Indexed: no.

TargetResultDate
Doc / VignettesOKNov 28 2024
R-4.5-linuxOKNov 28 2024

Exports:NormalTF

Dependencies:clicodadata.tablegluelatticelifecyclemagrittrrjagsrlangstringistringrvctrs

An Application to HB Twofold Normal Model On sampel dataset

Rendered fromTwofold.Rmdusingknitr::rmarkdownon Nov 28 2024.

Last update: 2022-05-09
Started: 2022-02-28