dataTMEHB {saeHB.ME}R Documentation

Sample Data for Small Area Estimation with Measurement Error using Hierarchical Bayesian Method under Student-t Distribution

Description

This data generated by simulation based on Hierarchical Bayesian Method under Student-t Distribution with Measurement Error by following these steps:

  1. Generate x1x_{1} ~ UNIF(10, 20) and x2x_{2} ~ UNIF(30,50)

  2. Generate v.x1v.x_{1} ~ 1/(Gamma(1,1))

  3. Generate x1hx_{1h} ~ N(x1x_{1}

  4. Generate β0\beta_{0} = β1\beta_{1} = β2\beta_{2} = 0.5

  5. Generate uu ~ N(0,1) and kk ~ Gamma(10,1)

  6. Calculate μ\mu = β0+β1x1h+β2x2h+u\beta_{0} + \beta_{1}*x_{1h} + \beta_{2}*x_{2h} + u

  7. Generate YY ~ t(kk, μ\mu)) and vv = σy2\sigma_{y}^{2}

Direct estimation Y, auxiliary variables x1 x2 x3 x4, sampling variance v, and mean squared error of auxiliary variables v.x1 v.x2 are arranged in a dataframe called dataTMEHB.

Usage

data(dataTMEHB)

Format

A data frame with 30 observations on the following 8 variables.

Y

direct estimation of Y.

x1

auxiliary variable of x1.

x2

auxiliary variable of x2.

vardir

sampling variances of Y.

v.x1

mean squared error of x1.


[Package saeHB.ME version 1.0.1 Index]