I want to know what is the best way to analyze a data set where my response variable is count data and my explanatory variables are continuous variables. All my variables are not normally distributed. Are GLMs a good option?
|
They are. You may want to look at Poisson regression (in R: Whether the predictors are normally distributed does not matter. (Except for analyses of influential data points.) What you probably have in mind is whether residuals are normally distributed. This is an important assumption in Ordinary Least Squares - more specifically: for inference in OLS. However, your data are counts, so residuals will not be normal and you are not thinking about OLS, anyway. |
|||||||
|
|
For a non-normal GLM, the distribution of residuals do not matter, I have never heard that a Poisson GLM for example has to have normal errors. I think that examining overdispersion and general model fit are better cues to which model to use. Negative binomial can be implemented in glm.nb() in the R MASS library, and ZIP can be done using the zeroinfl() function in the pscl library in R |
|||||
|