Learn R Programming

saeHB.TF.beta (version 0.2.0)

dataBetaNS: Simulated dataset Under Two Fold Subarea level model with Beta distribution and Non-Sampled subarea.

Description

  1. A dataset to simulate Small Area Estimation using Hierarchical Bayesian method under Two Fold Subarea level model with Beta distribution and Non-sampled subarea

  2. This data contains NA values that indicates no sampled at one or more Subareas. It uses the dataBeta with the direct estimates and the related variances in 5 subareas are missing.

Usage

dataBetaNS

Arguments

Format

A data frame with 90 rows and 6 columns:

y

Direct estimation of subarea mean \(y_{ij}\)

X1

Auxiliary variable of \(X_{ij1}\)

X2

Auxiliary variable of \(X_{ij2}\)

codearea

Index that describes the code relating to area for each subarea

w

Unit proportion on each subarea or weight \(w_{ij}\)

vardir

Sampling variance of direct estimator \(y_{ij}\)