Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/bootstrapCapwire.R

Uses maximum likelihood parameter estimates from `fitEcm`

, `fitTirm`

, or `fitTirmPartition`

to perform a parametric bootstrap to get confidence intervals for the estimate of the population size

1 | ```
bootstrapCapwire(x, bootstraps = 1000, CI = c(0.025, 0.975))
``` |

`x` |
An object inherited from |

`bootstraps` |
The number of bootstraps to be performed (default is 1000) |

`CI` |
A vector of quantiles to to generate a confidence interval for the population estimate. The default is |

This function uses the ML estimates obtained from fitting the model to simulate data under the model.

`bootstrapCapwire`

inherits an object from `fitEcm`

, `fitTirm`

, or `fitTirmPartition`

such that the model and parameter estimates do not need to be specified.

The ML estimate for the population size will also be returned but this will not be changed by `bootstrapCapwire`

Note that if the model is a poor fit to the data, the confidence intervals may not be reliable.

The lower confidence interval is bounded by the number of unique individuals in the sample.

`ml.pop.size` |
The maximum likelihood estimate for the population size obtained by fitting the model |

`conf.int` |
The confidence interval for the estimate of the population size |

Matthew W. Pennell

Miller C. R., P. Joyce and L.P. Waits. 2005. A new method for estimating the size of small populations from genetic mark-recapture data. Molecular Ecology 14:1991-2005.

`fitEcm`

, `fitTirm`

, `fitTirmPartition`

1 2 3 4 5 6 7 8 9 10 11 |

capwire documentation built on May 30, 2017, 1:13 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.