User manual for the R cnbdistr package, providing functions for the Conditional Negative Binomial distribution including PMF, CDF, quantiles, and random…
This document is the user manual for the R package 'cnbdistr' (version 1.0.1), released in July 2017. The package provides a suite of functions for working with the Conditional Negative Binomial distribution, which models the conditional distribution of X given X + Y = D, where X and Y are independent negative binomial variables.
| Version | 1.0.1 |
|---|---|
| Release Date | 2017-07-04 |
| License | GPL-3 |
| Minimum R Version | 3.2.2 |
| Required Imports | hypergeo (>= 1.2-13), stats (>= 3.3.2) |
It calculates the probability mass function of the conditional distribution of X given X + Y = D.
It calculates the mean of the conditional distribution of X given X + Y = D.
It calculates the variance of the conditional distribution of X given X + Y = D.