Products & Services Industries Academia Support User Community Company

Learn more about Statistics Toolbox   

normplot - Normal probability plot

Syntax

h = normplot(X)

Description

h = normplot(X) displays a normal probability plot of the data in X. For matrix X, normplot displays a line for each column of X. h is a handle to the plotted lines.

The plot has the sample data displayed with the plot symbol '+'. Superimposed on the plot is a line joining the first and third quartiles of each column of X (a robust linear fit of the sample order statistics.) This line is extrapolated out to the ends of the sample to help evaluate the linearity of the data.

The purpose of a normal probability plot is to graphically assess whether the data in X could come from a normal distribution. If the data are normal the plot will be linear. Other distribution types will introduce curvature in the plot. normplot uses midpoint probability plotting positions. Use probplot when the data included censored observations.

Examples

Generate a normal sample and a normal probability plot of the data.

x = normrnd(10,1,25,1);
normplot(x)

See Also

cdfplot, wblplot, probplot, hist, normfit, norminv, normpdf, normspec, normstat, normcdf, normrnd, normlike

Normal Distribution

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS