Displaying 1 result from an estimated 1 matches for "haul_numb".
2013 Oct 18
1
hurdle model error why does need integer values for the dependent variable?
Dear list,
I am using the hurdle model for modelling the habitat of rare fish species. However I do get an error message when I try to model my data:
> test_new1<-hurdle(GALUMEL~ depth + sal + slope + vrm + lat:long + offset(log(haul_numb)), dist = "negbin", data = datafit_elasmo)
Error in hurdle(GALUMEL ~ depth + sal + slope + vrm + lat:long + offset(log(haul_numb)), :
invalid dependent variable, non-integer values
When I do fit the same model with round(my dependent variable) the model works. Sorry for the stupid qu...