All:
Thank you for the many useful suggestions. I tried to implement your
advice regarding log-likelihood tests, but encountered some errors.
I tried to extract the log-likelihood for each reduced model, but
received the following error
> logLik(fm2)
Error in UseMethod("logLik") :
no applicable method for 'logLik' applied to an object of class
"unmarkedFitPCount"
I also tried to compare via log-likelihood ratio test the full and
reduced models, and received an error about NaNs produced. (Yet, both
models were fit successfully without error.)
> LRT(fm2, fm2.1)
Chisq DF Pr(>Chisq)
1 -122.7824 -2 NaN
Warning message:
In pchisq(q, df, lower.tail, log.p) : NaNs produced
I would love to hear any additional feedback on this. Many thanks
again!
- Steve
On Nov 30, 5:56 pm, Andy Royle <
aro...@usgs.gov> wrote:
> hi Steve,
>
> in both cases I think you'll have to use standard methods to obtain the result directly -- e.g., to test the significance of a treatment effect you can obtain the log-likelihood for the full and reduced models and the difference should have a chi-square on 2*(dffull-dfred) df. i.e., fit both models and extract the relevant stuff from the resulting object.
>
> regards,
>
> andy
>
>
>
>
> J. Andy Royle
> Research Statistician
> USGS Patuxent Wildlife Research Center
> 12100 Beech Forest Rd.
> Laurel, MD 20708
http://profile.usgs.gov/professional/mypage.php?name=aroylean...@usgs.gov
> -----
unma...@googlegroups.com wrote: -----To:
unma...@googlegroups.com
> Subject: [unmarked] Factor significance and group level contrasts following analysis w/ pcountHi All:
> Web: <A...
>
> read more »