Learn R Programming

BEANSP (version 1.0)

example1: Missouri Dickcissel Nest Survival Data - Interval Format

Description

The Missouri dickcissel dataset collected by Suedkamp Wells(2005) is analyzed via BEANSP for illustration. For more detailed analysis,see Cao et.al(2009).

Usage

data(example1)

Arguments

Format

A data frame with 217 observations on the following 8 variables.
id
Nest id
fate
Nest fate; if 1, the nest fate is success;if 0, the nest fate is failure.
ul
The youngest possible age that the nest could have been when first encounterd.
ur
The oldest possible age that the nest could have been when first encounterd.
zl
The smallest possible number of time units from the first encounter date to the outcome date.
zr
The largest possible number of time units from the first encounter date to the outcome date.
cov1
The first nest-specific covariate.
cov2
The second nest-specific covariate.

Details

The interval format is prefered if one has some additional information about encounter age and exposure interval other than visiting dates. The additional information may yield more precise intervals.

References

Cao, J., He, C., Suedkamp Wells, K.M., Millspaugh, J.J., and Ryan, M.R. (2009). Modeling age and nest-specific survival using a hierarchical Bayesian approach. Biometrics, 65, 1052-1062.

Examples

Run this code
data(example1)

Run the code above in your browser using DataLab