What is a conditional distribution?
The
raw distribution of a dependent variable (DV) β e.g. a histogram of all
observed y-values, ignoring any predictor β is
not what a
GLM models.
A GLM assumes: for
every value of x there is a separate distribution of Y β
the
conditional distribution P(Y|x). Its location (the expected value) follows
the regression line/curve; its shape (variance, skew) can change with x. What you see on the
left is therefore a
slice through the joint distribution of (X, Y) at one fixed
x β the spread
around the regression line, not the spread of the raw data overall.
Where do you find it in practice? It is the distribution a model predicts for the
residuals at a given x β e.g. a single "slice" of a
posterior predictive check plot, or
the distribution from which the
family argument in
brms/
lme4
(e.g.
poisson(),
Gamma(link="log")) would be simulated at a fixed
predictor value.