A simulated dataset for 100 districts under a Binomial logit-normal
model. Each district provides a number of successes (y) out of
n trials.
Format
A data frame with 100 rows and 14 variables:
nNumber of trials in the district.
yNumber of successes.
pDirect proportion (
y / n).x1,x2,x3Auxiliary covariates.
u_trueTrue area-level random effect (logit scale).
eta_trueTrue linear predictor (logit scale).
p_trueTrue success probability.
psi_iSampling variance.
y_obs,p_obsObserved (direct) values.
districtDistrict identifier (
"district_001".."district_100") – the 100 small areas to estimate.regencyRegency identifier (
"regency_01".."regency_05") – coarse spatial-cluster level (5 regencies each containing 20 districts). Pair withadjacency_matrix_car_regency.