Can anyone please explain the identity link and log link in Poisson regression with simple example? For example, I have run a script using the mtcars
data set in R.
head(mtcars)
glm(mpg~disp+hp+wt, data=mtcars, family=poisson(link="identity"))
mpg
, disp
, and wt
are variables in the data set. I got the results:
(Intercept)= 35.205669
Coefficient of disp=-0.004313
Coefficient of hp=-0.028214
Coefficient of wt=-3.102409
How do I interpret these coefficients? How does the model look like mathematically? What does link="identity"
mean in the model?