Displaying 2 results from an estimated 2 matches for "bycatch".
Did you mean:
batch
2012 Jul 09
3
Predicted values for zero-inflated Poisson
Hi all-
I fit a zero-inflated Poisson model to model bycatch rates using an offset term for effort. I need to apply the fitted model to a datasets of varying levels of effort to predict the associated levels of bycatch. I am seeking assistance as to the correct way to code this.
Thanks in advance!
Laura
[[alternative HTML version deleted]]
2012 Jul 12
1
Predicted values when using offset in ZIP GLM
...ason+offset(LogEffort),dist="poisson",link="logit",data=data)
I wasn't clear about one aspect of the response to a similar question I recently posted...I apply the predicted model to a new dataset of standard conditions and take the sum to get the total predicted numbers of bycatch:
Prediction<-predict(ZIP,newdata=effort,type="response")
sum(Prediction)
Do I first need to exponentiate before taking the sum as in:
Prediction<-exp(predict(ZIP,newdata=effort,type="response"))
sum(Prediction)
Thanks again in advance!
Cheers,
Laura
[[alternativ...