Xbar-S charts are similar in use to Xbar-R. The main difference is that the variation chart uses standard deviation from the subgroups instead of the range. The choice between using Xbar-R or Xbar-S is usually made based on the number of samples in each subgroup. With smaller subgroups, the standard deviation estimated from these can be inflated. Typically, with less than nine results per subgroup, we see them inflating the standard deviation, and which increases the width of the control limits on the charts. Automotive Industry Action Group (AIAG) suggests using the Xbar-R, which is greater than or equal to nine times the Xbar-S.
Now, we will apply an Xbar-S chart to a slightly different scenario. Japan sits above several active fault lines. Because of this, minor earthquakes are felt in the region quite regularly. There may be several minor seismic events on any given day. For this example, we are going to use seismic data from the Advanced National Seismic System. All seismic events from January 1, 2013 to July 12, 2013 from the region that covers latitudes 31.128 to 45.275 and longitudes 129.799 to 145.269 are included in this dataset. This corresponds to an area that roughly encompasses Japan.
The dataset is provided for us already but we could gather more up-to-date results from the following link:
http://earthquake.usgs.gov/monitoring/anss/
To search the catalog yourself, use the following link:
http://www.ncedc.org/anss/catalog-search.html
We will look at seismic events by week that create Xbar-S charts of magnitude and depth. In the initial steps, we will use the date to generate a column that identifies the week of the year. This column is then used as the subgroup identifier.
The following steps will create an Xbar-S chart for the depth and magnitude of earthquakes. This will display the mean and standard deviation of the events by week:
earthquake.mtw
file.Date
in the Extract from Date/time column: section.Week
in the Store text column in: section.Depth
and Mag
into the dialog box as shown in the following screenshot and Week
into the Subgroup sizes: field.Date
in the Stamp columns section.Steps 1 to 4 build the Week
column that we use as the subgroup. The extracts from the date/time options are fantastic for quickly generating columns based on dates. Days of the week, week of the year, month, or even minutes or seconds can all be separated from the date.
Multiple columns can be entered into the control chart dialog box just as we have done here. Each column is then used to create a new Xbar-S chart. This lets us quickly create charts for several dimensions that are recorded at the same time. The use of the week column as the subgroup size will generate the control chart with mean depth and magnitude for each week.
The scale options within control charts are used to change the display on the chart scales. By default, the x axis displays the subgroup number; changing this to display the date can be more informative when identifying the results that are out of control. Options to add axes, tick marks, gridlines, and additional reference lines are also available. We can also edit the axis of the chart after we have generated it by double-clicking on the x axis.
The Xbar-S options are similar for all control charts; the tabs within Options give us control over a number of items for the chart. The following list shows us the tabs and the options found within each tab:
The control limits for the graphs that are produced vary as the subgroup sizes are not constant; this is because the number of earthquakes varies each week. In most practical applications, we may expect to collect the same number of samples or items in a subgroup and hence have flat control limits.
If we wanted to see the number of earthquakes in each week, we could use Tally from inside the Tables menu. This will display a result of counts per week. We could also store this tally back into the worksheet.
The result of this tally could be used with a c-chart to display a count of earthquake events per week.
If we wanted to import the data directly from the Advanced National Seismic System, then the following steps will obtain the data and prepare the worksheet for us:
2013/01/01
in the Start date, time: field.2013/06/12
in the End date, time: field.3
in the Min magnitude: field.31.128
in the Min latitude field and 45.275
in the Max latitude field.129.799
in the Min longitude field and 145.269
in the Max longitude filed.C1 Date
, C2 Time
, C3 Lat
, C4 Long
, C5 Depth
, C6 Mag
. The other columns, C7
to C13
, can then be deleted.Date
column will have copied itself into Minitab as text; to convert this back to a date, navigate to Data | Change Data Type | Text to Date/Time.Date
in both the Change text columns: and Store date/time columns in: sections.yyyy/mm/dd
.Date
column, navigate to Data | Date/Time | Extract to Text.'Date'
in the Extract from date/time column: section.'Week
' in the Store text column in: field.3.144.123.155