gof | R Documentation |
Goodness-of-fit tests for ubmsFit
models using posterior predictive
checks
gof(object, draws = NULL, ...)
## S4 method for signature 'ubmsFitOccu'
gof(object, draws = NULL, quiet = FALSE, ...)
## S4 method for signature 'ubmsFitAbun'
gof(object, draws = NULL, quiet = FALSE, ...)
object |
A fitted model of class |
draws |
Number of draws from the posterior to use in the check |
... |
Currently ignored |
quiet |
If |
An object of class ubmsGOF
containing statistics calculated
from the posterior predictive distribution.
gof(ubmsFitOccu)
: Applies the MacKenzie-Bailey chi-square goodness of fit test for
ocupancy models (MacKenzie and Bailey 2004).
gof(ubmsFitAbun)
: A goodness-of-fit test for N-mixture type models based on Pearson's chi-square.
MacKenzie, D. I., & Bailey, L. L. (2004). Assessing the fit of site-occupancy models. Journal of Agricultural, Biological, and Environmental Statistics, 9(3), 300-318.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.