Count data regression Flashcards
(6 cards)
Linear Poisson model
ηi = λi = xi‘β
- Symmetrical distribution;
- Expected large λi;
- Additive effects of covariates.
Log-linear Poisson model
ηi = log(λi)
λi = exp(ηi) = exp(xi‘β)
- Effect of β is linear on log-scale
- Effect of β on the original scale is exp(β)
Handling overdispersion in count data regression
- Introduce φ as binary regression (with same issues): Var(y-i) = φλi;
- Use Negative-Binomial distribution (more difficult interpretation);
- Use a random effects model.
ML estimation for count data regression (loglinear)
l(β) = Σ yiηi - λi
s(β) = Σ xi(yi-λi)
F(β) = Σ xixi‘λi
If offset: F(β) = Σ xixi‘λiΔi
Pearson statistics for count data regression
χ2 = Σ (yi-^λi)2 / [ ^λi/ni]
Remember that:
- E(yi) = λi = var(yi)
- 0log(0) = 0 in the case of yi=0 for AIC
Offset
Since λi is affected by the time frame/area, we rescale the phenomenon in the log-scale by a offset γi
- No coefficient estimated;
- ηi = xiβ + γi
- γi = log(Δi)
- γi = log(ni) for grouped data;
- Gives less variability for ^β.