Molina 2015 - Fay-Herriot Area-Level Model and EBLUP
Summary
The Fay-Herriot model has a sampling model (direct estimate = truth + noise with known variance ) and a linking model (truth = regression + area effect with variance ). The EBLUP is a precision-weighted average of the direct estimate and the regression-synthetic estimate with weight .
Overview
Notation: a finite population is partitioned into areas of size ; the target is (often the mean ). Area-level models use only area aggregates as covariates; unit-level models (see Molina 2015 - Unit-Level BHF Model and EB for Nonlinear Parameters) use microdata. Design-based inference averages over samples; model-based inference treats measurements as random and links areas.
Main Content
Fay-Herriot model
Sampling model: with known. Linking model: . Combined: , . Normality is needed only for MSE estimation.
BLUP and EBLUP under FH (Henderson 1975)
with , and . Replacing by a consistent gives the EBLUP
If is an even, translation-invariant function of the data (true for FH, ML, REML), the EBLUP stays unbiased (Kackar-Harville 1984).
Interpretation: if the EBLUP is close to the direct estimator; if it is close to the regression-synthetic estimate. Regression is used only where strength must be borrowed.
Fitting and fit measures
Methods: Fay-Herriot moment method, ML, and REML (default; accounts for degrees of freedom lost in , so less finite-sample bias). Log-likelihood ; , .
MSE. Analytic large-sample estimates: Prasad-Rao (1990) for the moment estimator, Datta-Lahiri (2000) for ML/REML, Datta et al. (2005) for the FH method. In sae: eblupFH(formula, vardir, method="REML") and mseFH(...); areas must have non-zero sample size; no NA values. Direct estimates and variances come from direct(), survey or sampling.
Examples
Example 1: fresh milk expenditure (43 areas, 1989)
Data
milk(Arora & Lahiri 1997): area sample sizesni, direct estimatesyi, standard deviationsSD, CVs and major areas (You & Chapman 2006). Model:mseFH(yi ~ as.factor(MajorArea), SD^2); CV of EBLUP = . Result (Fig. 1): EBLUPs follow direct estimates but are less volatile; EBLUP CVs are smaller in every area and none exceeds the usual 20% publication cutoff, whereas several direct CVs do; gains are larger for small-sample areas.
Shrinkage by hand
, . Area 1: , gives , EBLUP . Area 2: , gives , EBLUP . Same direct estimate, different shrinkage.
import numpy as np
from scipy.optimize import minimize_scalar
def fh_reml(y, X, psi):
def nll(logA):
A=np.exp(logA); V=1/(A+psi); W=V
XtWX=(X*W[:,None]).T@X; b=np.linalg.solve(XtWX,(X*W[:,None]).T@y)
r=y-X@b
return 0.5*(np.log(A+psi).sum()+np.log(np.linalg.det(XtWX))+(W*r**2).sum())
A=np.exp(minimize_scalar(nll,bounds=(-12,5),method="bounded").x)
W=1/(A+psi); b=np.linalg.solve((X*W[:,None]).T@X,(X*W[:,None]).T@y)
g=A/(A+psi); return g*y+(1-g)*X@b, A, gConnections
In a Bayesian reading, is the posterior mean of under a flat prior on and a plugged-in (Hierarchical Models; eight-schools form). PyMC sketch (untested): A=pm.HalfNormal("A",1); u=pm.Normal("u",0,A,shape=D); delta=X@beta+u; pm.Normal("y",delta,sigma=np.sqrt(psi),observed=y_dir).
See Also
Molina Marhuenda 2015 - sae Small Area Estimation - Overview