uifit {Rcapture} | R Documentation |
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.
uifit(x.closedp)
x.closedp |
An object produced by the closedp function. |
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 . |
Sophie Baillargeon Sophie.Baillargeon@mat.ulaval.ca and
Louis-Paul Rivest Louis-Paul.Rivest@mat.ulaval.ca
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/
data(mvole) period3<-mvole[,11:15] cp <- closedp(period3) uifit(cp)