Hi Jacqueline,
By default, I believe zelig is giving the linear predictors, which is why
you are getting non-integer values.
You can obtain predicted values using sim() - to extract the predicted
values, use s.out$qi$pr. If you want predicted values for every
observation, set fn=NULL in your setx() argument.
Best,
Ian
On Mon, 24 Apr 2006, Jacqueline Chattopadhyay wrote:
I am using Zelig to run negative binomial regression.
It is returning fitted
values that are non-integers, which should not be the case. Does anyone know
what the source of this problem might be? In case it's relevant, the
dependent variable and the covariates in the model we are running are all
event-count variables and 0/1 dummy variables. The intercept is suppressed
because there are dummy variables for every category.
Thanks,
Jacqueline