cdf_lognormal SciMax Toolbox cdf_normal

SciMax Toolbox >> cdf_negative_binomial

cdf_negative_binomial

Maxima Function

Calling Sequence

cdf_negative_binomial (x,n,p)

Description

Returns the value at x of the distribution function of a Negative Binomial(n,p) random variable, with 0<p<1 and n a positive integer.

This function is numerically computed if the global variable numer equals true, otherwise it returns a nominal expression.

(%i1) load (distrib)$
(%i2) cdf_negative_binomial(3,4,1/8);
                                             1
(%o2)            cdf_negative_binomial(3, 4, -)
                                             8
(%i3) cdf_negative_binomial(3,4,1/8), numer;
(%o3)                  .006238937377929698
cdf_lognormal SciMax Toolbox cdf_normal