Model-based Geostatistics for Global Public Health
Lancaster University
A common solution for overdispersed count data.
Extends the Poisson distribution by introducing a dispersion parameter \(\alpha\):
\[ \mathbb{E}(Y) = \mu, \quad \text{Var}(Y) = \mu + \alpha \mu^2. \]
When \(\alpha = 0\), it reduces to Poisson.
Random Effects Interpretation:
Assumptions:
Let the \(Z_i\) be i.i.d. Gaussian distributions with mean zero and variance \(\sigma^2\).
Likelihood function
The vector of unkown parameters is \(\theta=(\beta, \sigma^2)\) \[ L(\theta) = \prod_{i=1}^n \int_{-\infty}^{+\infty} [Z_i] [Y_i \mid Z_i] \: dY_i \]
Maximize the likelihood using the Laplace approximation (glmer in the lme4 package).
Hypothesis Testing
\[ D = 2(\log L(\hat{\theta}) - \log L(\hat{\theta}_0)) \sim \chi^2_{p} \]
Pearson Residuals: \[\frac{y_i - \hat{y}_i}{\sqrt{\text{Var}(\hat{y}_i)}}\]
Deviance Residuals: \[\text{sign}(y_i - \hat{y}_i) \times \sqrt{d_i}\] where \(d_i\) is the deviance contribution of observation \(i\).
Random Effects Residuals: \(\hat{Z}_i\), i.e. the estimated random effect for each location/household/cluster/village.
## Coordinate Reference Systems (CRS) {.smaller .scrollable} |
![]() |
- A CRS defines how spatial data is projected onto the Earth’s surface. - Two main types: - Geographic CRS (Latitude/Longitude, e.g., WGS84) - Projected CRS (e.g., UTM, which uses meters for measurements) |
Distances in Geographic CRS (Lat/Lon) require geodesic calculations (e.g., Haversine formula).
Projecting to UTM allows for Euclidean distance calculations in meters.
Conversion to UTM in R:
Grid-based data (e.g., satellite images, elevation models).
Each cell has a value representing an attribute (e.g., temperature, elevation).