correlbinom: Correlated Binomial Probabilities

Calculates the probabilities of k successes given n trials of a binomial random variable with non-negative correlation across trials. The function takes as inputs the scalar values the level of correlation or association between trials, the success probability, the number of trials, an optional input specifying the number of bits of precision used in the calculation, and an optional input specifying whether the calculation approach to be used is from Witt (2014) <doi:10.1080/03610926.2012.725148> or from Kuk (2004) <doi:10.1046/j.1467-9876.2003.05369.x>. The output is a (trials+1)-dimensional vector containing the likelihoods of 0, 1, ..., trials successes.

Getting started

Package details

AuthorChris Rohlfs [aut], Gary Witt [aut,cre]
MaintainerGary Witt <[email protected]>
LicenseGPL (>= 3)
Version0.0.1
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("correlbinom")

Try the correlbinom package in your browser

Any scripts or data that you put into this service are public.

correlbinom documentation built on July 6, 2017, 5:02 p.m.