CBprob | R Documentation |
Given a vector of parameters and a scalar of the number of trials the function returns a vector of probabilities.
CBprob(twoparameter, nt)
twoparameter |
A vector of the parameters of the correlated binomial distribution. |
nt |
The number of trials. |
Vector of probabilities
David M. Smith <dmccsmith@verizon.net>
Kupper L, Haseman J (1978). The Use of a Correlated Binomial Model for the Analysis of Toxicological Experiments. Biometrics, 34(1), 69-76.
twoparameter <- c(0.971242852,0.001465007)
names(twoparameter) <- c('p','rho')
nt <- 37
CBprob(twoparameter,nt)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.