dataME: dataME

Description Usage Format

Description

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

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

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

  3. Generate x.hati = xi + ui.

  4. 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.

Usage

1

Format

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


saeME documentation built on Jan. 13, 2021, 11:03 a.m.