Hi Christopher,
Do you have any missing values in your data? Essentially
Nmix.gof.test( ) just calls parboot( ) with a Pearson chi-square
computed by Nmix.chisq( ) for each iteration, and then computes the
c-hat and formats the output. The statistics are computed after removing
NA's. Nmix.gof.test( ) uses a parametric bootstrap, so you should get
the same answer as the "manual approach" you are using. If you want, you
can send me the data and minimal R code off list to reproduce the
problem and I can look into it.
Regarding the c-hat < 1, usually you would not correct for
underdispersion by changing the c-hat value. However, low values can
also identify lack of fit and you might want to try a different model
instead.
Sincerely,
Marc
--
____________________________________
Marc J. Mazerolle
Centre d'étude de la forêt
Université du Québec en Abitibi-Témiscamingue
445 boulevard de l'Université
Rouyn-Noranda, Québec J9X 5E4, Canada
Tel:
(819) 762-0971 ext. 2458
Email:
marc.ma...@uqat.ca
-------- Message initial --------
De: Christopher F. Hansen <
chris.f...@gmail.com>
À:
unma...@googlegroups.com
Sujet: [unmarked] Nmix.gof.test vs. parboot()
Date: Fri, 6 Jun 2014 11:16:22 -0700