Learn R Programming

gpk (version 1.0)

Batrecapture: Fitting a model to bat recapture data

Description

In a particular study bats were captured regularly for over an year. About 9000 different individuals were captured and released back, some of them more than once. We assume that all bats are equally likely to be captured regardless of how often they have experienced capture earlier. We have to see if such a model fits the data well. If not, we can try a modification in which probability of capture changes depending upon the number of times the individual is captured earlier. The probability may go up (trap attraction) or down (trap shyness).

Usage

data(Batrecapture)

Arguments

Format

A data frame with 11 observations on the following 2 variables.
Number.recapture
The number of times a bat is recaptured
Number.individuals
The frequency of the number of times a bat is caught

Source

http://ces.iisc.ernet.in/hpg/nvjoshi/statspunedatabook/databook.html

Details

Suggested solution: MLE and chi-square goodness of fit test.

Examples

Run this code
data(Batrecapture)

Run the code above in your browser using DataLab