Conditional Distributions in the GLM
Conditional Distributions Β· GLM Families Β· Density/PMF Β· E[Y|x] Β· Ridgeline Β· Reflection Questions
Β© Dr. Rainer DΓΌsing Β· Interactive Tools by Claude
⬑ GLM IN 3D
SCENARIOS Choose a research scenario β€” or explore parameters freely
VIEW 1 β€” DISTRIBUTION
P(Y | x = 0)
Ξ· = –  β†’  Ξ» = –
VIEW 2 β€” REGRESSION
E[Y|x] as a function of x
xΞ· = Ξ²β‚€ + β₁·xParameterE[Y|x]
β„Ή GLM Conditional Distributions β€” Help
What will I learn here?
The core principle of the GLM: for every x-value a distinct conditional distribution P(Y|x) arises. The linear predictor Ξ· = Ξ²β‚€ + β₁·x is transformed via the link function into the distribution parameter β€” which then determines the shape and location of the distribution.
The linear predictor Ξ·
Ξ· = Ξ²β‚€ + β₁·x can take any value. The link function transforms it into the valid parameter range:

Log link: Ξ» = e^Ξ· β€” always positive (Poisson, Gamma)
Logit link: p = 1/(1+e^βˆ’Ξ·) β€” always in (0,1) (Bernoulli, Binomial)
Identity: ΞΌ = Ξ· β€” the classical LM (Normal)
The three views
GLM families overview
Normal (OLS): continuous data, unbounded Β· Οƒ constant
Poisson / Neg. Binomial: count data (0,1,2,…); NB for overdispersion
Bernoulli / Binomial: 0/1-data or k successes from n trials
Gamma: positive continuous data, right-skewed
ZIP / Hurdle-Poisson: count data with many zeros β€” two processes combined
Reflection questions
Reflection questions appear at the bottom to deepen understanding β€” e.g. why variance and mean are identical for Poisson or when to choose Neg. Binomial instead of Poisson.
Next β†’ GLM in 3D: the same distributions visualised as a three-dimensional landscape