closedp.Mtb {Rcapture} | R Documentation |
Closed Population Capture-Recapture Model Mtb
Description
This function fits model Mtb for closed populations in capture-recapture experiments.
Usage
closedp.Mtb(X, dfreq=FALSE, method = "BFGS", ...)
## S3 method for class 'closedp.Mtb'
print(x, ...)
Arguments
X |
The matrix of the observed capture histories (see |
dfreq |
A logical. By default |
method |
The method to be used by |
... |
Further arguments to be passed to |
x |
An object, produced by the |
Details
The Mtb model is non-linear. It is fitted with the optim
function instead of the glm
function. Therefore, the abundance estimate can be unstable.
For the model to be identifiable, the parameters are constrained in the following way:
logit(c_i)=logit(p_i)+b
for i in 2,\ldots,l
.
Value
n |
The number of captured units |
t |
The total number of capture occasions in the data matrix |
results |
A table containing, for the fitted model:
|
optim |
The output produced by |
optim.warn |
A vector of character strings. If the |
parMtb |
Capture-recapture parameters estimates for model Mtb : the abundance N, |
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
Examples
# hare data set
closedp.Mtb(hare)
## Example producing an unstable estimate
# Fourth primary period of mvole data set
period4 <- mvole[, 16:20]
closedp.Mtb(period4)