BinaryEPPM (version 2.3)

CBprob: 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

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

Run this code
# NOT RUN {
twoparameter <- c(0.971242852,0.001465007)
names(twoparameter) <- c('p','rho')
nt <- 37
CBprob(twoparameter,nt)
# }

Run the code above in your browser using DataLab