Comparing linear and Poisson regression
During this exercise, you will fit a linear regression and see how the models produce different results than the Poisson regression you previously fit.
In the previous exercise, you fit a GLM with a Poisson family, poisson_out.
This object has been provided for you.
Now, using glm(), fit a glm() with a normal or Gaussian family.
यह अभ्यास पाठ्यक्रम का हिस्सा है
Generalized Linear Models in R
इंटरैक्टिव व्यावहारिक अभ्यास
इस अभ्यास को इस नमूना कोड को पूरा करके आज़माएँ।
# Fit a glm with count predicted by time using data.frame dat and gaussian family
lm_out <- ___(___)
___(___)
___(___)