datamix {saeME} | R Documentation |
datamix
Description
This data generated by simulation based on Fay-Herriot with Measurement Error Model by following these steps:
Generate
from a UNIF(5, 10) distribution,
from a UNIF(9, 11) distribution,
= 3,
=
= 0.25, and
= 2.
Generate
from a N(0,
) distribution,
from a N(0,
) distribution,
from a N(0,
) distribution, and
from a N(0,
) distribution.
Generate
from a UNIF(1, 5) distribution and
from a UNIF(10, 14) distribution.
Generate
=
+
and
=
+
.
Then for each iteration, we generated
=
and
=
.
This data contain combination between auxiliary variable measured with error and without error.
Direct estimator y
, auxiliary variable
, sampling variance
, and
are arranged in a dataframe called
datamix
.
Usage
data(datamix)
Format
A data frame with 100 observations on the following 8 variables.
small_area
areas of interest.
y
direct estimator for each domain.
x.hat1
auxiliary variable (measured with error) for each domain.
x.hat2
auxiliary variable (measured with error) for each domain.
x3
auxiliary variable (measured without error) for each domain.
x4
auxiliary variable (measured without error) for each domain.
vardir
sampling variances for each domain.
var.x1
mean squared error of auxiliary variable and sorted as
x.hat1
var.x2
mean squared error of auxiliary variable and sorted as
x.hat2