Rcapture (version 1.4-3)

uifit: Closed Population Models Fit Statistics Concerning the ui

Description

This function produces fit statistics concerning the \(u_i\), 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,\ldots,t\), for each model in closedp. For models M0, Mh Poisson2, Mh Darroch and Mb, predicted values are also extrapolated for \(i = t+1,\ldots,t+5\).

fit.stat

Chi-square fit statistics for each model in closedp \((\sum_{i=1}^t \frac{(\mbox{observed}_i -\mbox{predicted}_i)^2}{\mbox{predicted}_i})\).

day.first.capt

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

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

closedp

Examples

Run this code
# NOT RUN {
# Third primary period of mvole data set
period3 <- mvole[, 11:15]
cp <- closedp(period3)
uifit(cp)
# }

Run the code above in your browser using DataCamp Workspace