uifit {Rcapture}R 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 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.

Author(s)

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

References

Baillargeon, S. and Rivest, L.P. (2007). Rcapture: Loglinear models for capture-recapture in R. Journal of Statistical Software, 19(5), http://www.jstatsoft.org/

See Also

closedp

Examples

data(mvole)
period3<-mvole[,11:15]
cp <- closedp(period3)
uifit(cp)

[Package Rcapture version 1.1 Index]