FUNCTION REFERENCE

cdf

Cumulative distribution function of a named distribution.

Cumulative distribution function of a named distribution.

Syntax

P = cdf(name, X, A, B, ...)

Syntax

P = cdf(name, X, A, B, ..., 'upper')

Same as the family function, e.g. cdf('Gamma', X, A, B) is gamcdf(X, A, B); 'upper' gives the upper tail. Names as in pdf.

Example

cdf('Normal', 1.96)

Example

cdf('Exponential', 5, 1, 'upper')

Distribution objects from makedist or fitdist are accepted as the first argument; object parameters are supplied by the object.

Differences from MATLAB: parameter confidence intervals and truncated distributions are unsupported.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.