FUNCTION REFERENCE

probplot

Probability plot of data against a distribution.

Probability plot of data against a distribution.

Syntax

probplot(y)

Syntax

probplot(dist, y)

Syntax

probplot(dist, y, cens, freq)

Syntax

probplot(..., 'noref')

Syntax

probplot(ax, pd)

Syntax

h = probplot(...)

dist is 'normal' (default), 'exponential', 'extreme value', 'half normal', 'lognormal', 'logistic', 'loglogistic', 'rayleigh', 'weibull' or a probability distribution object. Each sorted value is plotted at plotting position (i-0.5)/n (Kaplan-Meier step midpoints with censoring or frequencies) on the distribution's quantile scale; the x axis is logarithmic for weibull, lognormal and loglogistic. The dashed reference line passes through the first and third quartiles (the minimum and median for half normal), or follows the fitted cdf of a distribution object. probplot(ax, pd) adds the fitted line of pd to an existing probability plot. h holds the data line and reference line of each column.

Example

probplot('weibull', [1.2 0.4 2.2 0.9 3.1 1.7]);

Example

h = probplot([4.1 5.3 4.4 6.0 4.8 5.1]);

Differences from MATLAB: probability labels are text objects beside dotted grid lines inside the axes, and the axis ticks keep the transformed scale; probplot(ax, fun, params) is not supported.

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