chat: Overdispersion metrics for binomial N-mixture models.

Description Usage Arguments Value Examples

View source: R/rqRes.r

Description

Computes various types of overdispersion metrics, based on Pearson residuals, for binomial N-mixture models.

Usage

1
chat(umFit, type = "marginal")

Arguments

umFit

An object of class unmarkedFit from a model fitted using pcount.

type

The type of metric to compute, one of 'marginal', 'site-sum' or 'observation'.

Value

An estimate of overdispersion relative to the fitted model.

Examples

1
2
3
4
5
6
library(unmarked)
data(mallard)
fm.mallard <- pcount(~ 1 ~ 1, unmarkedFramePCount(y = mallard.y), K=100)
chat(fm.mallard, "m")
chat(fm.mallard, "s")
chat(fm.mallard, "o")

nmixgof documentation built on May 2, 2019, 6:41 a.m.