ProcessControl
PControlLimits
compute control limits for the P chart
Calling Sequence
Parameters
Description
Computation
Options
Examples
References
PControlLimits(X, n, options)
X
-
data
n
sample size
options
(optional) equation(s) of the form option=value where option is one of confidencelevel or pbar; specify options for computing the control limits
The PControlLimits command computes the upper and lower control limits for the P chart. Unless explicitly given, the standard deviation of the underlying quality characteristic is 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 nonconforming items 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.
confidencelevel=realcons -- This option specifies the required confidence level. The default value is 0.9973, corresponding to a 3 sigma confidence level.
pbar=deduce or realcons -- This option specifies the average fraction of nonconforming items per data sample.
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
PControlLimits⁡A,N
0.00733469451799994,0.183685713645266,0.,0.194093420749116,0.,0.194093420736166,0.00733469452185952,0.183685713641406,0.0114381544250419,0.179582253738224,0.0114381544116218,0.179582253751644,0.00733469452185952,0.183685713641406,0.00733469452185952,0.183685713641406,0.00256505605928631,0.188455352103979,0.00256505607051234,0.188455352092753,0.0114381544116218,0.179582253751644,0.0150173447357757,0.176003063427490,0.0150173447401369,0.176003063423129,0.0150173447401369,0.176003063423129,0.0114381544116218,0.179582253751644,0.,0.194093420736166,0.,0.194093420736166,0.,0.194093420736166,0.00256505607051234,0.188455352092753,0.00733469452185952,0.183685713641406,0.00733469452185952,0.183685713641406,0.00733469452185952,0.183685713641406,0.00733469452185952,0.183685713641406,0.00256505607051234,0.188455352092753,0.00256505607051234,0.188455352092753
PControlLimits⁡A,N,confidencelevel=0.95
0.0379032632001590,0.153117144963106,0.0311036861938802,0.159916721969385,0.0311036861938802,0.159916721969385,0.0379032632001590,0.153117144963106,0.0405841410590932,0.150436267104172,0.0405841410590932,0.150436267104172,0.0379032632001590,0.153117144963106,0.0379032632001590,0.153117144963106,0.0347871566796007,0.156233251483665,0.0347871566796007,0.156233251483665,0.0405841410590932,0.150436267104172,0.0429225024327639,0.148097905730501,0.0429225024327639,0.148097905730501,0.0429225024327639,0.148097905730501,0.0405841410590932,0.150436267104172,0.0311036861938802,0.159916721969385,0.0311036861938802,0.159916721969385,0.0311036861938802,0.159916721969385,0.0347871566796007,0.156233251483665,0.0379032632001590,0.153117144963106,0.0379032632001590,0.153117144963106,0.0379032632001590,0.153117144963106,0.0379032632001590,0.153117144963106,0.0347871566796007,0.156233251483665,0.0347871566796007,0.156233251483665
PControlLimits⁡A,100
0.00621857384815468,0.180981426151846
PControlLimits⁡A,100,confidencelevel=0.95
0.0365118507466331,0.150688149253367
Montgomery, Douglas C. Introduction to Statistical Quality Control. 2nd ed. New York: John Wiley & Sons, 1991.
See Also
infolevel
ProcessControl[NPChart]
ProcessControl[NPControlLimits]
ProcessControl[PChart]
Statistics
Download Help Document