X-bar & R Chart VI
- Updated2024-11-20
- 6 minute(s) read
Computes points and limits for X-bar and Range control Charts - control charts for process mean and range. NOTE: Sample size (number of columns in the samples X array) may not exceed 25. A range of indices for samples to be used and specific indices to ignore in the control calculation can also be specified. The actual number of samples used to calculate the control limits is supplied. FORMULAS: UCLx = x-bar-bar + stderr mult x R-bar/(d2 x sqrt(n)) CLx = x-bar-bar LCLx = x-bar-bar - stderr mult x R-bar/(d2 x sqrt(n)) standard error = R-bar/(d2 x sqrt(n)) UCLr = R-bar + stderr mult x d3 x R-bar/d2 CLr = R-bar LCLr = R-bar - stderr mult x d3 x R-bar/d2 standard error = d3 x R-bar/d2 If std error multipler = 3.0, the formulas for calculating the control limits from the data are: UCLx = x-bar-bar + A2*R-bar LCLx = x-bar-bar - A2*R-bar UCLr = D4*R-bar LCLr = D3*R-bar If std error multipler = 3.0, the formulas for calculating the control limits from given standard values: std sigma = std R0/d2 UCLx = std mean + A*std sigma LCLx = std mean - A*std sigma UCLr = D2*std sigma LCLr = D1*std sigma The constants d2, d3, A, A2, D1, D2, D3, and D4 are published in the table of factors and formulas for control charts for variables in ANSI/ASQC Standard A1-1987

Inputs/Outputs
chart limit src
—
chart limit src specifies whether or not to use standard values for the chart limit calculations. If unwired, this cluster defaults to the common case where the chart limits are calculated from the data in the input sample array. You do not have to wire this cluster unless you want the chart limits to be calculated from standard values. When using standard values, the center line for the X-bar control chart, X-bar-bar, is set to std mean, and the center line for the s control chart, s-bar, is set to std s0, or std sigma*c4.
samples X
—
index spec
—
index spec is used to choose a range of samples in c to use for the control limit calculation. If you do not wire this cluster, all elements in c input array are included in the control limit calculation.
indices to ignore
—
indices to ignore is the indices of samples to exclude from the control limit calculation. Excluding samples is useful for eliminating out of control points from the control limit calculation. By default, this is an empty array.
std error multiplier (3)
—
(DBL, default = 3.0). Ordinarily you would leave this unwired and the control chart limits are computed as +/- 3.0 standard errors.
X-bar-bar
—
(DBL) - this is an estimate of the process mean based on the grand average of the samples included in the control limit calculation.
X-bar
—
X-bar chart limits
—
Range R
—
R chart limits
—
R-bar/d2
—
(DBL) - This is an estimate of the process sigma (standard deviation) based on the average range of the samples included in the control limit calculation.
# samples in calc
—
(I32) The number of samples used in the control limits calculation. |
chart limit src
—
source
—
std mean
—
samples X
—
start index
—
indices to ignore
—
X-bar-bar
—
X-bar
—
X-bar chart limits
—
# samples in calc
—