GBprob | R Documentation |
Given a vector of parameters and a scalar of the number of trials the function returns a vector of probabilities. The name GBprob is used to avoid confusion with EPPMprob which is the function calculating the probabilties given the constructed vector vector of lambdas.
GBprob(twoparameter, nt)
twoparameter |
A vector of the parameters of the EPPM binomial distribution. |
nt |
The number of trials. |
Vector of probabilities
David M. Smith <dmccsmith@verizon.net>
Faddy M, Smith D. (2012). Extended Poisson Process Modeling and Analysis of Grouped Binary Data. Biometrical Journal, 54, 426-435. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1002/bimj.201100214")}.
twoparameter <- c(0.971242852,0.001465007)
names(twoparameter) <- c('p','b')
nt <- 37
GBprob(twoparameter,nt)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.