SLIDE 11
Probability density function
µ = 0.5, σ2 = 0.023 (a = 5, b = 5) µ = 0.167, σ2 = 0.019 (a = 1, b = 5) µ = 0.833, σ2 = 0.019 (a = 5, b = 1) µ = 0.5, σ2 = 0.125 (a = 0.5, b = 0.5) 0.00 0.25 0.50 0.75 1.00
f (x | a, b) =
Γ(a+b) Γ(a)Γ(b)xa−1(1 − x)b−1
µ =
a a+b, σ2 = ab (a+b)2.(a+b+1)
- must consider zero-one inflated
1.24. Generalized linear models
Y = β0 + β1x1 + ... + βpxp + e g(µ)
function
= β0 + β1x1 + ... + βpxp
- Systematic
- Random component.
Y ∼ Dist(µ, ...)
- Systematic component [−∞, ∞]
- Link function (g())
g(µ) = β0 + β1x1 + ... + βpxp
1.25. Generalized linear models
Linear model is just a special case Y = β0 + β1x1 + ... + βpxp + e g(µ)
function
= β0 + β1x1 + ... + βpxp
- Systematic
- Random component.
Y ∼ N(µ, σ2)
- Systematic component [−∞, ∞]
- Link function (g())
I(µ) = β0 + β1x1 + ... + βpxp