GBprob: Calculation of vector of probabilities for the generalized...

Description Usage Arguments Value Author(s) References Examples

View source: R/GBprob.R

Description

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

Usage

1
GBprob(twoparameter, nt)

Arguments

twoparameter

A vector of the parameters of the generalized binomial distribution.

nt

The number of trials.

Value

Vector of probabilities

Author(s)

David M. Smith <smithdm1@us.ibm.com>

References

Faddy M, Smith D. (2012). Extended Poisson Process Modeling and Analysis of Grouped Binary Data. Biometrical Journal, 54, 426-435. doi: 10.1002/bimj.201100214.

Examples

1
2
3
4
twoparameter <- c(0.971242852,0.001465007)
names(twoparameter) <- c('p','b')
nt <- 37
GBprob(twoparameter,nt)

BinaryEPPM documentation built on July 31, 2019, 5:08 p.m.