search for: nafdiv

Displaying 1 result from an estimated 1 matches for "nafdiv".

Did you mean: nadiv
2009 Apr 30
0
Using predict with glmmPQL
I am wondering if anyone knows how to use predict with a glmmPQL model, where you want to predict the response for one factor in the model? Originally I used predict on a GLM (gamma, log link) in the following way: p.1<-predict(model1,data.frame(year=as.factor(xv),nafdiv=as.factor(rep(" 3N",length(xv))), duration=1000, cfv=as.factor(rep(106166,length(xv))), hooks=rep(1,length(xv))),type="response",se.fit=T) where model1 standardises catch rate and includes nafo area, year, duration of fishing sets, and vessel (cfv) as explanatory variables with...