Dear Javan,
I think you confuse a couple of things. One is goodness of fit, the other is model selection and the third one is prediction, in particular the computation of the uncertainty around predictions. You seem to want to inflate the prediction standard errors or confidence intervals by the additional uncertainty represented by a c.hat, which you obtain in a Gof test. You can’t do that with unmarked’s own predict function. However, Marc Mazerolle’s AICcmodavg package has a number of very useful functions that work specifically for unmarked fitted objects and includes functions for prediction with inflated SEs/CIs. To be honest, I don’t know whether this also applies to occupancy models, but it does for N-mixture models. I attach a blurb from our upcoming AHM book that describes prediction for Nmix models fit with pcount() and assume that something similar works also for occupancy models fit with occu().
Kind regards --- Marc
--
You received this message because you are subscribed to the Google Groups "unmarked" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
unmarked+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Dear Javan,
Here is part 2 of my reply (I should have read your email till the end, sorry !). To get 95% prediction intervals that are inflated by some c.hat value, you can predict on the link scale, the code for and result of which may look something like this:
> modavgPred(cand.set = list(fm12), newdata=newData, parm.type = "detect",
+ type = "link", c.hat = 3.04) # Could be used to get 95% CIs
Model-averaged predictions based on entire model set:
mod.avg.pred uncond.se
1 0.58 0.56
2 0.53 0.52
3 0.49 0.48
4 0.45 0.45
5 0.41 0.43
6 0.37 0.41
Then you can take the mean plus/minus twice that SE and backtransform (apply the inverse logit) and this will give you approximate, c-hat inflated 95% prediction intervals.
Best regards --- Marc
Dear Marc,
This will be a very welcome addition to your highly useful package; thank you !
Best regards --- Marc