[R] Fit Negbin glm model with autoregressive correlation structure

2014-01-31 Thread flavie.vial
Hello, I am attempting to estimate the effect of various variables on the time-series of counts of reported cattle stillbirths. We investigate the effect of day-of-week, month, holidays etc...and also the effect of non-temporal variables. We performed model comparisons between Gaussian glm, Pois

[R] Generating random values from zero inflated negative binomial distribution with rZINBI {gamlss.dist}

2013-08-20 Thread flavie.vial
Good afternoon, I have two years of count data (daily time-series data). My Y variable can be modeled using a ZINB model with "day of the week" and "month" effects (both x variables retained in the logistic and negative binomial part of the model). Now I would like to simulate 100 years of coun