Univariate exponential family regression Flashcards
(9 cards)
Univariate exponential family density and requirements
f(y|θ) = exp{ (yθ-b(θ)) / φ * x + c(y, φ, w)}
Useful for likelihood quantities: (y|θ) = exp{ (yθ-b(θ))}
- Support of y must be independent of θ;
- w weights (=1 for individual data, =ni for grouped data, =1/ni for summed data per group);
- b(θ) must be twice differentiable and such that f(y|θ) can be normalized;
- φ=1 for Binomial and Poisson distributions.
E(y) = μ = b’(θ)
Var(y) = φb’’(θ) / w = φv(μ) / w with v(μ) variance function
Advantages of using a canonical function in the univariate exponential family regression
- Every EF distribution has a unique canonical link function with θi = ηi = xi‘β;
- It ensures concavity of the log-likelihood;
- It ensures the existance of a unique ML estimate;
- F(β) = H(β), so Fisher scoring = Newton-Rhapson
Score for EF
yi IID:
s(β) = Σ xi h’(ηi)/σ2 (yi-μ) = X’DΣ-1(y-μ)
s(^β) = 0
Fisher matrix for EF
yi IID:
F(β) = Σ xixi‘wi~ = X’WX
wi~ = (h’(ηi))2/σi2
Iterative weighted least squares (IWLS) for exponential family
Equivalent to Fisher scoring
β^(t+1) = (X’W(t)X)-1 X’ W(t)y~(t)
- y~i(t) = ^ηi(t) + [yi-h(^ηi(t))] / h’(^ηi(t))
- X’W(t)X must be invertible;
- If we are not using the canonical link function, we need multiple starts for the algorithm.
Asymptotical properties of β^ if using a canonical function
- (X’X)-1 -> 0
- λmin(X’X) -> +&infty; so the “actual dimension” of the matrix tends to infinity
These are sufficient for:
β^ ~. Np(β, F-1(β^)) and weak consistency of β^
Overdispersion estimation for EF
φ^ = 1/(G-p) Σ [yi - h(η^i)]2/[v(μ^i)/ni]
- We need grouped data;
- The estimator is consistent;
- Leads to a quasilikelihood approach.
Hypothesis testing for EF
LR, W, u quantities defined in terms of b(θ), h(.), v(μ), ecc.
Still ~. χ2r
Model selection for EF
χ2 = Σ (yi-μ^i)2 / [v(μ^i)/wi]
D = -2Σ[li(μ^i) - li(y-i)]
Both ~. φχ2G-p
They measure the fit quality relatively to the saturated model
AIC=-2l(β) + 2p for model comparison as always - p+1=k+2 if we have the nuisance parameter φ too