control.limits.s {envoutliers} | R Documentation |
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.
control.limits.s(x, group.size, L)
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 |
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.
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 |
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.