CBprob {BinaryEPPM}R Documentation

Calculation of vector of probabilities for the correlated binomial distribution.

Description

Given a vector of parameters and a scalar of the number of trials the function returns a vector of probabilities.

Usage

CBprob(twoparameter, nt)

Arguments

twoparameter

A vector of the parameters of the correlated binomial distribution.

nt

The number of trials.

Value

Vector of probabilities

Author(s)

David M. Smith <dmccsmith@verizon.net>

References

Kupper L, Haseman J (1978). The Use of a Correlated Binomial Model for the Analysis of Toxicological Experiments. Biometrics, 34(1), 69-76.

Examples

twoparameter <- c(0.971242852,0.001465007)
names(twoparameter) <- c('p','rho')
nt <- 37
CBprob(twoparameter,nt)

[Package BinaryEPPM version 3.0 Index]