I asked Chris about distributions in GenReg
In the model launch window for GenReg it says response distribution. Is this correct? Or is it the distribution of the residual of the model?
The short answer is that it’s the response distribution and not an error distribution that is being modeled in general. For the Normal and a couple other distributions like the Cauchy you can think of the error distribution and the response distribution as the same, but they aren’t the same outside of a few special cases. For example, one never thinks of an “error term” for the binomial, Poisson, Lognormal, Gamma, or Weibull distributions, just response distributions. It’s only the cases where the distribution is symmetric around the mode where one considers there to be a “y= mean model + error term” concept that applies. What happens is people learn least squares modeling first using the model+error concept, but then to really understand Logistic and Poisson regression you have to unlearn it and think of it using response distributions. Unfortunately, outside of certain university settings, this point is almost never made clear. The good news is that, for the most part, this subtle lack of understanding doesn’t get in the way of people using the models successfully in industry.
Confusion about this totally understandable because it is very widespread. Even the opening sentence in the Wikipedia page on Generalized Linear Models gets it wrong when they say:
“In statistics, the generalized linear model (GLM) is a flexible generalization of ordinary linear regression that allows for response variables that have error distribution models other than a normal distribution.”
They do begin to get it right in the second sentence, however…
What is really going on in Logistic, Poisson, or Gamma regression is that we are allowing the response variable to have a non-normal distribution. The relationship between the response and the predictor variables occurs by placing a linear model on a suitably chosen function of the mean, which is called the link function. In the case of the Logistic (Binomial) regression this is a logistic() function, in Poisson it is the log(), etc. Combining this mean model with a non-normal distribution for estimation allows us to make more efficient use of the data because it inherently takes into account how the variance changes as a function of the mean, which is the case for all non-negative distributions and allows us to get the inferential aspects like hypothesis tests and confidence intervals of the analysis correct.