How to make an Xbar-R chart
- Copy the measurement column (and a subgroup ID column, if you have one) with its header and paste it in.
- Choose the measurement column and whether subgroups are formed from consecutive rows (subgroup size) or from a subgroup column. Change the baseline and the out-of-control rules if needed.
- Click Analyze and review the control limits table, the red circles (out-of-control points) on the chart and the automatic interpretation.
Worked example with sample data
The example data are 100 part thickness values (mm), measured 5 at a time in 20 rounds. The 'Subgroup' column is the round number, and the process mean was made to rise slightly from the 16th subgroup on.
With a subgroup size of 5, the Xbar chart has CL 10.05, UCL 10.36 and LCL 9.728, and the R chart CL 0.551, UCL 1.165 and LCL 0.
The Xbar chart signals at 6 of 20 points (13 and 16-20). The mean of subgroup 16, 10.41, is above the UCL, and the means stay above the center line after that. The mean of subgroup 13, 9.726, is just below the LCL.
On the R chart only subgroup 16 (range 1.33) is above the UCL. The spread within subgroups grew exactly when the mean changed, so investigate the conditions of the 16th round first.
How it is calculated
With the grand mean of the subgroup means X̿ and the mean range R̄, the Xbar chart limits are X̿ ± A₂·R̄ and the R chart has CL = R̄, UCL = D₄·R̄ and LCL = D₃·R̄. The constants A₂, D₃ and D₄ are the standard values for subgroup sizes 2-10, and the process standard deviation is estimated as R̄/d₂.
With a baseline of N, the control limits come from the first N subgroups only and all the data are judged against them (0 uses all the data).
Out-of-control rules
Out-of-control signals come from the checked rules: (1) 1 point beyond 3σ, (2) 2 of 3 consecutive points beyond 2σ on the same side, (3) 4 of 5 beyond 1σ on the same side, (4) 9 in a row on one side of the center line, (5) 6 in a row steadily rising or falling. Use 'Edit' to change each rule's N, M and K, or pick the Western Electric preset.
How to read an Xbar-R chart
- Look at the R chart first. If the spread is not in control, the Xbar chart limits are not reliable either.
- A red circle on the Xbar chart signals a change in the process mean; one on the R chart signals that the spread within subgroups grew (or shrank).
- For larger subgroups (above about 10) the standard deviation describes spread better than the range, so the Xbar-S chart is recommended.
Frequently asked questions
How should I form subgroups?
Group measurements taken consecutively at the same time and under the same conditions. Group by row order or choose a subgroup ID column.
What if subgroup sizes differ?
Grouping by a column still works, but the limit constants use the size of the first subgroup. Sizes must be 2-10.
What happens to leftover rows?
With a subgroup size, trailing rows that do not fill a whole subgroup are dropped.