-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path07_ConfusionBetweenCharts.Rmd
76 lines (55 loc) · 5.96 KB
/
07_ConfusionBetweenCharts.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
---
title: "07_ConfusionBetweenCharts"
output: html_document
---
# (PART) Part III {-}
# Run Charts vs. Control Charts {#common_confusion}
We have created two useful reference tables that explore the difference between run and control charts. The first elaborates on when it's appropriate to use a control chart. The second contains the general rules-of-thumb on how to interpret each type of chart. Both can be downloaded in a [one-page cheat sheet](images/spc_which_should_i_use_letter.pdf) for ease of printing and sharing. More details on specific controls charts can be found in the chapter [A Guide to Control Charts](#guide_controlCharts).
## Which should I use: a run chart or a control chart? {#run_or_control_chart}
Always create a run chart first. Create a control chart only if you meet the necessary conditions, particularly that of monitoring a *stable* process.
In both cases, the data points must be non-trending and independent, that is, the position of one point does not influence the position of another point: there is no (serious) autocorrelation. If the data are autocorrelated, the guidelines for testing run or control charts will be invalid, which can lead to poor decision-making.
<br>
| Use a run chart if | Use a control chart (only) if |
| ------------------------------------ | ------------------------------------- |
| You may or may not investigate or act when a data point crosses a reference, target, or goal level, or when guidelines suggest a non-random pattern is occurring. | You intend to investigate or act when the process moves outside of control or indicates special cause variation. |
| | |
| You have little control over or cannot control the metric (e.g., ED volume/acuity). | You have the potential to control the process driving the metric (e.g., ED wait times). |
| | |
| You want to monitor the behavior of individual or groups of data points to a reference, target, or goal level. | You want to monitor the "average" of the system's behavior (i.e., the underlying statistical process) and deviations from expectation. |
| | |
| You are monitoring a metric or process that is generally trending or contains seasonality or other cycles of known cause, as long as you are able to adjust for any seasonality as well as able calculate an appropriate median line (e.g., via quantile regression for trending data). | You are monitoring a *stable* statistical process (there is no trend in the time series, or you have made the appropriate corrections to account or adjust for trends or seasonality). |
| | |
| You have no expectations that normal day-to-day operations will affect the central tendency. | You expect that normal day-to-day operations will keep the process stable within the bounds of common-cause variation. |
| | |
| You do not need to account for the inherent natural variation in the system. | You need to understand and account for the inherent natural variation ("noise") in the system. |
| | |
| You have at least 12 data points. (Fewer than 12? Just make a line chart, or use an EWMA chart. Run chart guidelines may not be valid.) | You have 20 or more data points that are in a stable statistical process, or you have performed a power analysis that provides the appropriate *n* for the appropriate time interval(s). |
| | |
| You do not understand one or more of the statistical issues discussed in the control chart column. | You understand the practical trade-offs between the sensitivity and specificity of the control limits relative to your need to investigate or act. |
| | |
| | You know which statistical distribution to use to calculate the control limits to ensure you have the proper mean-variance relationship. |
| | |
<br>
<br>
## Guidelines for interpreting SPC charts {#guidelines}
| Run chart | Control Chart |
| ----------------------------------- | ------------------------------------- |
| { width=300px } | { width=300px } |
| *"Astronomical" data point:* a point so different from the rest that anyone would agree that the value is unusual. | *One or more points fall outside the control limit:* if the data are distributed according to the given control chart's assumptions, the probability of seeing a point outside the control limits when the process has not changed is very low. |
| | |
| *Process shift:* $log_2(n) + 3$ data points are all above or all below the median line, where $n$ is the total number of points that do $not$ fall directly on the median line. | *Process shift:* $log_2(n) + 3$ data points are all above or all below the mean line, where $n$ is the total number of points that do $not$ fall directly on the center line. |
| | |
| *Number of crossings:* Too many or too few median line crossings suggest a pattern inconsistent with natural variation. | *Number of crossings:* Too many or too few center line crossings suggest a pattern inconsistent with natural variation. |
| | |
| *Trend:* Seven or more consecutive points all increasing or all decreasing (though this can be an ineffective indicator\*). | *Trend:* Seven or more consecutive points all increasing or all decreasing (though this can be an ineffective indicator\*). |
| | |
| *Cycles:* There are obvious cycles that are not linked to known causes such as seasonality. | *Cycles:* There are obvious cycles of any sort. |
| | |
| | *Reduced variation:* Fifteen or more consecutive points all within 1$\sigma$. |
| | |
| | *1$\sigma$ signal:* Four of five consecutive points are more than one standard deviation away from the mean. |
| | |
| | *2$\sigma$ signal:* Two of three consecutive points are more than two standard deviations away from the mean. |
| | |
<br>
\**Note: Although many people use a "trend" test in association with run and control charts, research has shown this test to be ineffective (see [Useful References](#useful)). Use common sense when assessing possible trends in the data, knowing that people are good at seeing patterns where none exist.*