Process capability plot

`p = capaplot(data,specs)`

[p,h] = capaplot(data,specs)

`p = capaplot(data,specs)`

estimates
the mean of and variance for the observations in input vector `data`

,
and plots the pdf of the resulting T distribution. The observations
in `data`

are assumed to be normally distributed.
The output, `p`

, is the probability that a new observation
from the estimated distribution will fall within the range specified
by the two-element vector `specs`

. The portion of
the distribution between the lower and upper bounds specified in `specs`

is
shaded in the plot.

`[p,h] = capaplot(data,specs)`

additionally
returns handles to the plot elements in `h`

.

`capaplot`

treats `NaN`

values
in `data`

as missing, and ignores them.

Was this topic helpful?