EngineRoom

X bar and R/S Chart Tutorial

Tutorial

Click to Download Data File

When to use this tool

Use the X bar and R/S Chart to monitor and assess the stability of a process when the data consist of subgroups of size 2 or more. This chart requires numeric data on a continuous process characteristic, such as cycle time, weights, amounts, etc. The X bar Chart shows how the mean or average of the process changes over time and the R (or S) Chart shows how the range or variance changes over time.

X bar and R Charts are recommended for subgroup sizes of 10 or less. If the subgroup size exceeds 10, the R (range) Chart is replaced by an S (standard deviation) Chart, which plots subgroup standard deviation instead of range.

How to use this tool in EngineRoom

To use the X Bar and R charts, collect data on at least 20 subgroups. The subgroup size can be anything greater than 1, though subgroups of size 5 are most common.

To use the chart, select the Measure menu > Control Charts (SPC)... > X bar and R/S Chart. The chart study opens on the workspace:

There are four “drop zones” attached to the study:

  • Data Variable (required): For the measurement data variable. This variable must be numeric.
  • Subgroup Variable: For the variable containing the subgroup IDs. If subgroup size is constant, you can ignore this drop zone and enter the value in the dialog box. This variable can be numeric or text.
  • Time Order Variable (optional): Use if you have a variable containing the time stamps of the subgroup measurements. This variable can be numeric or date/time.
  • Stage Variable (optional): Use if you have a variable identifying different stages (such as “before” and “after” an improvement initiative). This variable can be numeric, text, or date/time.

Note: The chart demonstration below has the Guided Mode disabled so it combines some steps in one dialog box. You can enable or disable Guided Mode from the User menu on the top right of the EngineRoom workspace.

Example:

The data set provided contains a column (Weights) containing the numeric measurements and another column (Subgroups) containing the subgroup IDs, representing the 20 subgroups of size 5:

Steps:

  1. Open the X bar and R/S Chart tool onto the workspace.
  2. Click on the data file in the data sources panel and drag Weights onto the Data Variable drop zone.
  3. Click and drag Subgroups onto the Subgroup Size drop zone. Alternatively, enter the constant subgroup size “5” in the Subgroup Size box in the dialog box.
  4. Select any run tests you want to use. By default, only the first test (any point outside control limits) is selected.
  5. Click “Continue.”
  6. Select any optional graph settings shown on the second screen.
  7. Click “Continue.”

The Xbar and R Chart output includes the Individual (X) control chart, the Range (R) control chart and numeric tables listing the averages, and upper and lower control limits for each chart:

The Xbar and R Chart output includes the Individual (X) control chart, the Range (R) control chart and numeric tables listing the averages, and upper and lower control limits for each chart:

Notes:

  • To rename the study, click on the “Untitled X bar and R/S Chart” heading and type in the desired name.
  • To edit the chart, click on the plotted points or lines and select the options for thickness, color, and style.
  • Select the graph setup button to change the graph settings previously selected.

Was this helpful?