uifit: Closed Population Models Fit Statistics Concerning the ui

View source: R/uifit.R

uifitR Documentation

Closed Population Models Fit Statistics Concerning the ui

Description

This function produces fit statistics concerning the ui, i.e. the numbers of first captures on each capture occasion, for closed population models. It also forecasts, for some models, the number of additional units that would be captured if the experiment was continued for five more occasions.

Usage

uifit(x.closedp)

Arguments

x.closedp

An object produced by the closedp.t function.

Value

predicted

The observed and predicted values of the ui frequencies, i = 1,…,t, for each model in closedp. For models M0, Mh Poisson2, Mh Darroch and Mb, predicted values are also extrapolated for i = t+1,…,t+5.

fit.stat

Chi-square fit statistics for each model in closedp (sum((observed - predicted)^2/predicted)).

day.first.capt

The mean and variance of the day of first capture, calculated with the observed and predicted ui, for each model in closedp.t.

Author(s)

Louis-Paul Rivest Louis-Paul.Rivest@mat.ulaval.ca and Sophie Baillargeon

References

Baillargeon, S. and Rivest, L.P. (2007) Rcapture: Loglinear models for capture-recapture in R. Journal of Statistical Software, 19(5), doi: 10.18637/jss.v019.i05.

See Also

closedp

Examples

# Third primary period of mvole data set
period3 <- mvole[, 11:15]
cp <- closedp(period3)
uifit(cp)

Rcapture documentation built on May 4, 2022, 5:05 p.m.

Related to uifit in Rcapture...