datasaeu.ns {sae.prop}R Documentation

Data generated based on Univariate Fay Herriot Model with Additive Logistic Transformation with Non-Sampled Cases

Description

This data is generated based on univariate Fay-Herriot model and then transformed by using inverse Additive Logistic Transformation (alr). Then some domain would be edited to be non-sampled. The steps are as follows:

  1. β\beta are set to be β0=β1=β2=1\beta_{0} = \beta_{1} = \beta_{2} = 1

  2. Auxiliary variables are set as follows:

    • x1N(0,1)x_{1} \sim N(0, 1)

    • x2N(0.5,1)x_{2} \sim N(0.5, 1)

  3. For random effects, uN(0,Vu)u \sim N(0, V_{u}), where Vu=1V_{u} = 1.

  4. For sampling errors eN(0,Ved)e \sim N(0, V_{ed}), where VedV_{ed} is generated VedInvGamma(50,0.5)V_{ed} \sim InvGamma(50, 0.5).

  5. The generated data is transformed using inverse alr transformation, so the data will be within the range of proportion.

  6. Domain 3, 15, and 25 are set to be examples of non-sampled cases (0, 1, or NA).

  7. clustercluster is cluster performed using k-medoids algorithm with pamk.

Auxiliary variables x1,x2x_{1}, x_{2}, direct estimation yy, and sampling variance vardirvardir are combined into a data frame called datasaeu.

Usage

datasaeu.ns

Format

A data frame with 30 rows and 5 columns:

y

Direct Estimation of y

x1

Auxiliary variable of x1

x2

Auxiliary variable of x2

vardir

Sampling Variance of y

cluster

Cluster of y


[Package sae.prop version 0.1.2 Index]