SAEval_example {SAEval} | R Documentation |
Example dataset for the evaluation of Small Area Estimates
Description
SAEval_example
contains a data.frame
with direct and indirect estimates for unplunned domain among with their variance.
Usage
data(SAEval_example)
Format
SAEval_example
is a data frame with 107 domains and 18 variables:
sa
domain of interest codes
nuts1
NUTS1 codes
nuts2
NUTS2 codes
nuts0
NUTS0 codes
y_d
direct estimated
mse_d
variance of direct estimates
y_syna
unit level synthetic estimates
mse_sa
MSE of unit level synthetic estimates
y_eblupa
unit level EBLUP estimates
mse_eba2
MSE of unit level EBLUP estimates
y_spaznr
unit level EBLUP estimates with spatial correlation of random effects
mse_spaznr
MSE of unit level EBLUP estimates with spatial correlation of random effects
y_eblupb
area level EBLUP estimates
mse_ebb
MSE of area level EBLUP estimates
y_synb
area level synthetic estimates
mse_sb
MSE of area level synthetic estimates
y_logis
unit level EBLUP type logit estimates
mse_log
MSE of unit level EBLUP type logit estimates
Examples
# Load example data
data(SAEval_example)
summary(SAEval_example)
# being the domain unplunned there are 7 areas without direct estimates
dim(SAEval_example[SAEval_example$y_d==0,])