Companion
Functions
Allows static computation of complementary cdf function assumes that distribution's range is {0,1, ...}
Allows static computation of cdf assumes that distribution's range is {0,1, ...} false indicated the use of the incomplete gamma function It yields about 7 digits of accuracy, the recursive algorithm has more accuracy
Returns the quantile associated with the supplied probablity, x assumes that distribution's range is {0,1, ...}
Computes the first order loss function for the distribution function for given value of x, G1(x) = Emax(X-x,0)
Computes the 2nd order loss function for the distribution function for given value of x, G2(x) = (1/2)Emax(X-x,0)*max(X-x-1,0)
Allows static computation of prob mass function assumes that distribution's range is {0,1, ...}
Computes the cdf at j using a recursive (iterative) algorithm using logarithms
Computes the probability mass function at j using a recursive (iterative) algorithm using logarithms