I've been recently learning about GLM's after learning about ordinary linear regression. In simple linear regression, I believe that an error term is used in order to account for randomness in the actual response when we predict values, like the equation below:
Yi= β0+ βxi+ ϵi
Where ϵi follows a normal distribution with expectation 0 and variance sigma^2. However I believe that this assumes that our Y variable follows a normal distribution.
I was wondering what would be the equivalent error term (if any) for GLM's that we model assuming Y follows another distribution (such as Poisson or Gamma), and if it relates anyway to the "link" function used in GLMS.
Thanks!
Thank you for explaining link functions - I think i get that part now. Just with the errors component, would you be able to elaborate more?
Say if I am modelling count using a GLM assuming it follows a Poisson Distribution with a log link, how can we model uncertainty with probabilities? - do we look at the prediction /confidence interval?]
– Sushiix Nov 22 '20 at 10:27