control.limits.s {envoutliers} | R Documentation |
Limits for control chart s - Only intended for developer use
Description
Estimation of limits of control chart s. The function is called by KRDetect.outliers.controlchart
and is not intended for use by regular users of the package.
Usage
control.limits.s(x, group.size, L)
Arguments
x |
a numeric vector of data values. |
group.size |
a positive integer giving the number of observations in individual segments used for computation of control chart limits. If the data can not be equidistantly divided, the first extra values will be excluded from the analysis. |
L |
a positive numeric value giving parameter |
Details
This function computes parameters based on which control chart s can be constructed. The function is exported for developer use only. It does not perform any checks on inputs since it is only a convenience function for identification limits based on control chart s.
Value
A list is returned with elements:
x |
a numeric vector of data |
sd.est |
a numeric value giving an estimate of standard deviation parameter |
groups.count |
a numeric value giving a number of segments used for estimating parameters of control chart |
groups.sd |
a numeric vector giving sample standard deviations in individual segments used for estimating parameters of control chart |
LCL |
a numeric value giving lower control limit of control chart s |
UCL |
a numeric value giving upper control limit of control chart s |
References
Shewhart W (1931). Quality control chart. Bell System Technical Journal, 5, 593–603.
SAS/QC User's Guide, Version 8, 1999. SAS Institute, Cary, N.C.
Wild C, Seber G (2000). Chance encounters: A first course in data analysis and inference. New York: John Wiley.