Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

uifit

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), http://www.jstatsoft.org/v19/i05.

See Also

Examples

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

Rcapture

Loglinear Models for Capture-Recapture Experiments

v1.4-3
GPL-2
Authors
Louis-Paul Rivest [aut, cre], Sophie Baillargeon [aut]
Initial release
2019-12-16

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.