Hello!

I have a data set where i need to predict hotel stays in a 3 month 
period by customer.  I have stays for each customer in the 3 month 
period and the previous 3 month period + other variables.  these stays 
contain an integer that ranges from 0 to 10.  classic poisson distribution.

my question is around zeros.  usually we could take logs on the stays 
and run an OLS model i think an enhancement would be to fit a poisson 
GLM model.  i am confused about handling of zeros.  i will have zero 
values on the RHS and potentially on the LHS.  It seems like the poisson 
GLM model can handle zeros on the LHS and RHS.   i guess my question is 
fitting a poisson GLM, are zeros allowed?  If so, how is this estimated 
with a log link function?

-zubin

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to