ProcessControl
UChart
generate the U chart
Calling Sequence
Parameters
Description
Computation
Options
Examples
References
UChart(X, n, options, plotoptions)
X
-
data
n
sample size
options
(optional) equation(s) of the form option=value where option is one of color, confidencelevel, controllimits, or ubar; specify options for generating the U chart
plotoptions
(optional) parameters to pass to the plot command
The UChart command generates the control chart for average number of nonconformities per inspection unit (U chart) for the specified observations. The chart also contains the upper control limit (UCL), the lower control limit (LCL), and the average number of nonconformities per inspection unit (represented by the center line) of the underlying quality characteristic. Unless explicitly given, the average number of nonconformities per unit and 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 the number of nonconformities in the corresponding sample.
The second parameter n specifies the size of the samples. It can be either a positive integer, in which case all samples are assumed to be of size n, or a list (or Vector) of positive integers. Each value represents the size of the corresponding sample.
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.
The options argument can contain one or more of the following options.
color=list -- This option specifies colors of the various components of the U 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.
ubar=deduce or realcons -- This option specifies the average number of nonconformities per inspection unit.
with⁡ProcessControl:
infolevelProcessControl≔1:
A≔12,8,6,9,10,12,11,16,10,6,20,15,9,8,6,8,10,7,5,8,5,8,10,6,9
N≔100,80,80,100,110,110,100,100,90,90,110,120,120,120,110,80,80,80,90,100,100,100,100,90,90
The command to create the plot from the Plotting Guide is
UChart⁡A,N
UChart⁡A,100
Estimated Control Limits: [.00181764853697591, .185382351463024]
UControlLimits⁡A,N
0.00279602820106184,0.188224379962204,0.,0.199167803958239,0.,0.199167803958239,0.00279602820106184,0.188224379962204,0.00711070588132663,0.183909702281939,0.00711070588132663,0.183909702281939,0.00279602820106184,0.188224379962204,0.00279602820106184,0.188224379962204,0.,0.193239526474135,0.,0.193239526474135,0.00711070588132663,0.183909702281939,0.0108741281902800,0.180146279972986,0.0108741281902800,0.180146279972986,0.0108741281902800,0.180146279972986,0.00711070588132663,0.183909702281939,0.,0.199167803958239,0.,0.199167803958239,0.,0.199167803958239,0.,0.193239526474135,0.00279602820106184,0.188224379962204,0.00279602820106184,0.188224379962204,0.00279602820106184,0.188224379962204,0.00279602820106184,0.188224379962204,0.,0.193239526474135,0.,0.193239526474135
l≔UControlLimits⁡A,N,confidencelevel=0.90
l≔0.0446764547135566,0.146343953449709,0.0386763445107801,0.152344063652485,0.0386763445107801,0.152344063652485,0.0446764547135566,0.146343953449709,0.0470421257850995,0.143978282378166,0.0470421257850995,0.143978282378166,0.0446764547135566,0.146343953449709,0.0446764547135566,0.146343953449709,0.0419267274101495,0.149093680753116,0.0419267274101495,0.149093680753116,0.0470421257850995,0.143978282378166,0.0491055520584020,0.141914856104863,0.0491055520584020,0.141914856104863,0.0491055520584020,0.141914856104863,0.0470421257850995,0.143978282378166,0.0386763445107801,0.152344063652485,0.0386763445107801,0.152344063652485,0.0386763445107801,0.152344063652485,0.0419267274101495,0.149093680753116,0.0446764547135566,0.146343953449709,0.0446764547135566,0.146343953449709,0.0446764547135566,0.146343953449709,0.0446764547135566,0.146343953449709,0.0419267274101495,0.149093680753116,0.0419267274101495,0.149093680753116
UChart⁡A,N,controllimits=l
Montgomery, Douglas C. Introduction to Statistical Quality Control. 2nd ed. New York: John Wiley & Sons, 1991.
See Also
infolevel
ProcessControl[CChart]
ProcessControl[NPChart]
ProcessControl[PChart]
ProcessControl[UControlLimits]
Statistics
Download Help Document