cdfBinomial

Syntax

cdfBinomial(trials, p, X)

Arguments

trials is a positive integer.

p is a floating number between 0 and 1.

trials and p are shape parameters.

X is a numeric scalar and vector.

Details

Return the value of the cumulative distribution function of a binomial distribution.

Examples

cdfBinomial(10, 0.1, [1, 5, 9]);
// output
[0.736099, 0.999853, 1]

cdfBinomial(12,0.627, [1, 3, 5, 7, 9]);
// output
[0.000154, 0.009085, 0.114844, 0.483879, 0.88373]