gof {ubms}R Documentation

Check model goodness-of-fit

Description

Goodness-of-fit tests for ubmsFit models using posterior predictive checks

Usage

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, ...)

Arguments

object

A fitted model of class ubmsFit

draws

Number of draws from the posterior to use in the check

...

Currently ignored

quiet

If TRUE, suppress progress bar

Value

An object of class ubmsGOF containing statistics calculated from the posterior predictive distribution.

Functions

References

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.


[Package ubms version 1.2.6 Index]