find.climits: Calculate confidence limits around a number of deaths.

Description Usage Arguments Details Value Examples

Description

Calculates confidence limits around a number of deaths, D, out of N individuals.

Usage

1
find.climits(N, D, alpha = 0.05, kind = "upper")

Arguments

N

The number of individuals alive at the outset.

D

The number of deaths by the end.

alpha

The critical probability. Defaults to 0.05, which gives 95% confidence limits.

kind

Either "upper" or "lower".

Details

It uses the beta distribution as the conjugate of the binomial, so the beta is the posterior of the number dying. N and D can be vectors or matrices, but must have matching dimensions.

Value

Confidence limits for the given number of surviving trees.

Examples

1
2
3
4
## Not run: 
find.climits(10, 5, kind = 'lower')

## End(Not run)

forestgeo/ctfs documentation built on May 3, 2019, 6:44 p.m.