dataME | R Documentation |

This data generated by simulation based on Fay-Herriot with Measurement Error Model by following these steps:

Generate

*xi*from a UNIF(5, 10) distribution,*ψi*= 3,*ci*= 0.25, and*σ2v*= 2.Generate

*ui*from a N(0,*ci*) distribution,*ei*from a N(0,*ψi*) distribution, and*vi*from a N(0,*σ2v*) distribution.Generate

*x.hati*=*xi*+*ui*.Then for each iteration, we generated

*Yi*=*2 + 0.5*x.hati + vi*and*yi*=*Yi + ei*.

Direct estimator `y`

, auxiliary variable *x.hat*, sampling variance *ψ*, and *c* are arranged in a dataframe called `dataME`

.

data(dataME)

A data frame with 100 observations on the following 4 variables.

`small_area`

areas of interest.

`y`

direct estimator for each domain.

`x.hat`

auxiliary variable for each domain.

`vardir`

sampling variances for each domain.

`var.x`

mean squared error of auxiliary variable and sorted as

`x.hat`

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.