MRChart - Maple Help

ProcessControl

 MRChart
 generate the MR chart

 Calling Sequence MRChart(X, options, plotoptions)

Parameters

 X - data options - (optional) equation(s) of the form option=value where option is one of color, confidencelevel, controllimits, ignore, or rbar; specify options for generating the MR chart plotoptions - (optional) parameters to pass to the plot command

Description

 • The MRChart command generates control chart for the moving range (MR chart) for the specified observations. The chart also contains the upper control limit (UCL), the lower control limit (LCL), and the average of the moving ranges of two observations (represented by the center line) of the underlying quality characteristic. Unless explicitly given, the control limits are computed based on the data.
 • The first parameter X is a single data sample, given as a Vector or list. Each value represents an individual observation.

Computation

 • All computations involving data are performed in floating-point; therefore, all data provided must have type realcons and all returned solutions are floating-point, even if the problem is specified with exact values.
 • For more information about computation in the ProcessControl package, see the ProcessControl help page.

Options

 The options argument can contain one or more of the following options.
 • color=list -- This option specifies colors of the various components of the MR chart. The value of this option must be a list containing the color of the control limits, center line, data to be plotted, and the specification limits.
 • confidencelevel=realcons -- This option specifies the required confidence level. The default value is 0.9973, corresponding to a 3 sigma confidence level.
 • controllimits=deduce or [realcons, realcons] -- This option specifies the values for the control limits. The first element is the value of the lower control limit. The second element is the value of the upper control limit. For data with variable sample size, the value of this option must be a list of control limits for each sample. If this option is set to deduce (the default value), the control limits are computed based on the data.
 • ignore=truefalse -- This option controls how missing values are handled by the MRChart command. Missing values are represented by undefined or Float(undefined). So, if ignore=false and X contains missing data, the MRChart command returns undefined. If ignore=true, all missing items in X are ignored. The default value is true.
 • rbar=deduce or realcons -- This option specifies the mean value of the moving ranges of two observations.

Examples

 > $\mathrm{with}\left(\mathrm{ProcessControl}\right):$
 > $\mathrm{infolevel}\left[\mathrm{ProcessControl}\right]≔1:$
 > $A≔\left[33.75,33.05,34.00,33.81,33.46,34.02,33.68,33.27,33.49,33.20,33.62,33.00,33.54,33.12,33.84\right]:$
 > $\mathrm{MRChart}\left(A\right)$
 > $\mathrm{MRControlLimits}\left(A\right)$
 $\left[{0.}{,}{1.57127089652357}\right]$ (1)
 > $l≔\mathrm{MRControlLimits}\left(A,\mathrm{confidencelevel}=0.95\right)$
 ${l}{≔}\left[{0.}{,}{1.57127089652357}\right]$ (2)
 > $\mathrm{MRChart}\left(A,\mathrm{controllimits}=l\right)$

References

 Montgomery, Douglas C. Introduction to Statistical Quality Control. 2nd ed. New York: John Wiley & Sons, 1991.