Statistical Process Improvement
Georgetown University

 

Time-between Charts


 

Introduction

In this section, you will learn about constructing Time-between charts and interpret the findings.  We focus on constructing a control chart for time between negative patient experiences, as documented in patient reviews.  Other applications are also possible and you will see examples of application of control charts to maintaining exercise or diets, relapse to drug use, or time between asthma attacks at end of this section.  This section assumes that you can plot data, take a square root and calculate means.  These are relatively simple tasks but some people may have little experience with any data manipulation.  Tutorials on how to do these tasks are also available at end of this section. 

Why Construct a Control Chart

Control charts can help discipline intuitions.  Most people read too much into their success and attribute their failures to external events. For example, there are considerable variations among patient experiences, some positive and some negative.   Many providers read too much into an occasional complaint and fail to see patterns among patient experiences.  A time between control chart can help us understand if patient experiences are improving or getting worse.  It will focus the attention on the pattern across these experiences as opposed to any single comment. 

For another example, in weight loss there are considerable variations depending on timing of weight measurement,  instruments used to measure the weight, clothes on the person while weight is measured, recent food intake, whether, and many other sources.  These variations lead to unreliability in the measure of weight.  It would be a fallacy to see these variations as weight loss or gain.  Control charts can help remove the guess work.  These charts establish if new values are different from historical values.  Control charts can help answer whether your new weight and exercise patterns indicate a departure from their historical levels. 

What is a Control Chart?

In a control chart, you monitor your progress over time.  You create a plot, where the X-axis is days since start and the Y-axis is the outcome you are monitoring.  To decide if your outcomes are different from historical patterns, the upper (UCL) and lower control limits (LCL) are calculated.  These limits are organized in such a way as to make sure that if your historical pattern has continued then 99% of time data will fall within these limits.  The upper and lower control limits are calculated using mathematical formulas that are specific to the type of outcome you are monitoring.  This section shows you how to calculate these limits depending on whether you are monitoring patient experiences, your weight, your exercise time, days diet missed, days exercise missed, or other similar outcomes.  Figure 1 shows the structure of a typical control chart.  In this figure, all points, except for one, fall within the control limits.


Figure 1 shows the structure of a typical control chart.

How to Read a Control Chart?

A control chart is useful in many different ways.  Points outside the limits are unusual and mark departure from historical patterns.  If you tracking patient experiences, a point outside the limit indicates an unusual pattern of experiences.  Two points in Figure 1 fall below the LCL and therefore mark a departure from historical patterns loss.  All other points do not indicate any real change, even though there are lots of variation.   These small fluctuations are random and not different from your historical changes rise and falls in your weight. You can also use the control chart to see if you are maintaining your gains in a previous time periods.  If your data falls within the control limits, despite day to day variations, there has not been any change.   If the process is producing results you need, then you want your data to fall within the limits.

Minimum Number of Observations

The more data you have, the more precision you have in constructing the upper and lower control limits.   Not all of the data are used for calculation of control limits.  Often, the limits are based on pre-intervention period.  Then subsequent post-intervention observations are compared to the pre-intervention limits.  At a minimum, you need at least 7 data points in the pre-intervention period to start most charts.  When you make a change, you want to see if patient experiences have been affected by the change.  In these circumstances, you set the limits based on the pre-intervention data.  You compare post-intervention findings to these limits.  If any points fall outside the limits, you can then conclude that the intervention has changed the pattern of patient experiences.  See Figure 2 for an example of limits set based on pre-intervention periods. 


Figure 2:  An example of limits set based on pre-intervention periods

Compare the chart in Figure 2 with the chart in Figure 1.  Both are based on the same data, but in Figure 2 the limits are based on the first 7 days, before the intervention.  Figure 2 shows that post intervention data are lower than LCL and therefore a significant change has occurred.  When Figure 2 is compared to Figure 1, we see that more points are out of the limits in Figure 2.  By setting the limits to pre-intervention patterns, we were able to detect more accurately the improvements since the intervention.  The length of data used in construction of control limit depends on the timing of the intervention and changes in the underlying process. Use at least 7 data points before the start of the intervention to set the control limit. You can, of course, use more data points to get a more stable picture of the process but keep in mind that as you use more data points you are going back further in time.  The more distant the data the less relevant it is to the current situation.  There is a practical limit of how far back you should go.  Taking data from months ago may make your analysis less accurate, if the process has changed since then.

Assumptions of Time-between Charts

Figure 3:  Time-between chart is best when there are single observations per
period, outcomes are dichotomous (not interval scale) and the event of interest is rare

Time-between charts is one method of constructing control charts, there are many more ways to construct a control chart.  Time between charts are best best suited when four assumptions are met:  (1) Data should have been collected over time with one observation per time period. (2) The chart should be drawn for dichotomous, discrete rare event.   For example, Time-between charts can be constructed for days to diet-missed, exercise-missed, coffee, junk food, unsatisfied customer, next adverse event, suicide, wrong side surgery, smoking, etc.  (3) Observations over time should be independent of each other.  Knowing the value of observation at one time period should not change the probability of observation at next time period.  (4) The time to the event should have a Geometric distribution, in which longer time to the event is increasingly more rare.

There are many other methods of control chart that are also available (see Figure 3 for examples).   You could use a P-chart, designed specifically to track mortality or adverse health events over time.   A P-chart is reasonably only if the event of interest is not rare.  You could use an X-bar chart designed for tracking health status and satisfaction surveys of a group of patients over time.  You could use a moving average chart to help you construct control chart for an individual patient's data over time.  This section helps you decide which of these various charts are appropriate for your application.  If you do not have a specific application in mind or if you wish to learn more about each of the various different charts, skip this section.  In the following, we ask you 4-7 questions and based on your answers advise you which chart is right for the application that you have in mind.

Have you collected observations over different time periods?

Calculating Limits for Time-between Charts

The steps in constructing control limits for time in between charts are:
 

  1.  Verify that frequency of complaints is less than positive comments.  Control limits must be derived on rare events.  If positive comments are more common, it is important to plot days to positive comments.  If complaints are relatively rare, then plot days to complaints.

  2. Calculate consecutive time between events.  Consecutive days between events are calculated based on what happened in the previous day and today.  Table 1 shows how these values are calculated for length of missed days and length of days habit kept. The analysis either plots consecutive missed-days or consecutive days habit kept based on which one happens less often.  If missed days are less often, the chart is constructed by plotting length of missed-days on the Y-axis and time since start on the X-axis.  If otherwise, the control chart is constructed by calculating the consecutive days in which the habit was kept.   

Yesterday

Today

Days to Complaint

Days to Positive Comments

No data

Complaint

1 day

0 day

No data

Positive Comment

0 day

1 day

Complaint

Positive Comment

0 day

1 + yesterday's length of days

Complaint

Positive Comment

0 day

1 day

Positive Comment

Complaint

1 day

0 day

Complaint

Complaint

1 + yesterdays length of days

0 day

Table 1:  Rules for Calculating length of time between missed-days

  1. If complaints are rare, calculate R as the ratio of number of complaints to number of positive comments.  If positive comments are relatively rare, calculate R as the ratio of number of positive comments to complaints.  R has to be always less than 1. If the data distinguish between pre- and post-intervention periods, then the value of R is calculated either based on pre- or post-intervention data but not from all of the data.  The period used for calculation of R is selected so that it would minimize the value of R.  If the pre-intervention period has little variation in the duration of the event being tracked, then R is calculated from the pre-intervention period.  Otherwise, it is calculated from the post intervention period.  Then, comparing the observed data to the control limits allows us to examine the impact of the intervention. 

  1. Calculate UCL as R plus 3 times the square root of R times one plus R.

    There is no Lower Control Limit (LCL) for Time-between Charts.  As the event plotted is rare, the LCL will always be  a negative number.  Since time cannot be negative, the LCL does not make sense in the context of Time-between Charts.  
     

  2. Plot either duration of days to complaints or days till positive comments, depending on which is relatively more rare.     Check to see if the duration exceeds UCL.  Please note that time between charts are about the a series of consecutive events and not about a specific point in the series.  When you look at a chart for failure, for example, and see a string of consecutive failures, and one point of this string is above the upper control limit, the interpretation is that the entire series is unusual and not just the point that is above the control limit. Strictly speaking, time in between charts for failures should be drawn as sum of continuous days of failure. This means that the chart would be on 0 for days of success and when a string of failures start, would have no value until the end of the string, at which point it will the value will be at the sum of days in the string. This produces a chart with lots of discontinuous events. To make the interpretation of the chart easier we draw the days of failure from the start of the string till its end. So we draw the first day, the second day until the last day in the string of failures. This gives a more continuous feeling to the chart. Even though we have changed how the chart looks, the statistical tests are still done as before on the end point of the series.

An Example

Table 2 shows data collected over 18 days by a 35 year old female trying to exercise more.  She decided to take morning showers at the gym and thus combine her exercise and shower routines.  The first 10 days show the data before the intervention.  The remaining days show the data after the intervention.  The question was whether this new habit has led to increased use of the gym. 

Day

Complaint

Consecutive Complaints

1

No

0

2

Yes

1

3

Yes

2

4

Yes

3

5

No

0

6

Yes

1

7

Yes

2

8

No

0

9

No

0

10

No

0

11

No

0

12

No

0

13

No

0

14

No

0

15

No

0

16

Yes

1

17

No

0

18

No

0

R =0.13

Table 2: Complaints in Reviews

To construct the control chart, we first need to use the rules in Table 1 to calculate the number of consecutive complaints in Table 2.  Note that the number of consecutive complaints increases until a positive comment is received, at which point they are re-set to zero.  The last column in Table 2 shows the calculated number of consecutive complaints.  The control limit can be calculated from either the pre- or the post-intervention data, which ever leads to a lower upper control limit.  In this case the control limit is calculated form the post intervention data, the data for days 8 through 18, because it has the least variability.  There is 1 complaint and 8 positive comments.  Therefore, R is calculated as 1/8 = 0.13.  The UCL is then calculated as:

Figure 5 shows the resulting chart and control limit.


Figure 4:  Analysis of Data in Table 2

Interpretation of Time-between Control Chart

If the observations in the control chart exceeds the Upper Control Limit, then these observations are unlikely to occur by chance.  They signify a change in the underlying frequency of the event being tracked.  If the control limits were based on pre- or post-intervention periods, observations above control limit indicate the impact of the intervention.  Of course, it is possible that the change in probability of the event might be due to another event not tracked in the control chart.  Therefore, attribution of change in the probability of the event to the intervention should be made with caution.  The chart in Figure 5 shows that in the pre-intervention period patients had two strings of consecutive complaints.  In the first string, patients complained 4 times in a row.  In the second string, patients complained 2 consecutive times.  Both strings exceed the UCL.  Compared to post intervention period, these two strings of complaints are long enough to constitute a real change in the process.  Based on these findings, we conclude that the intervention was working and the rate of complaints has dropped. 

Conclusion

The point of any control chart is to help you improve.  The effort we put into measurement and analysis is wasted if it does not help us improve.  Constructing a control chart is time consuming and, for some, difficult.  But what is the alternative.  Many err in detecting real changes.  They mistake random fluctuations in patient experiences as real change.  Control charts help discipline our intuitions to see beyond occasional complaints and focus on patterns.

Analyze Data

Advanced learners like you, often need different ways of understanding a topic. Reading is just one way of understanding. Another way is through doing and practicing the concepts learned in this section.  The enclosed date are designed to get you to think more about the concepts taught in this session.

Analyze if the clinician described below has improved?   Please note that there are no pre- and post intervention periods and therefore control limits must be calculated from the entire period.

Day Positive Comment?
1 Yes
2 Yes
3 Yes
4 Yes
5 Yes
6 No
7 Yes
8 Yes
9 Yes
10 No
11 Yes
12 Yes
13 Yes
14 Yes
15 No
16 No
17 No
18 Yes
19 Yes
20 Yes

Produce a control chart.  Make sure that your control chart does not have any of the following typical errors:

  1. The chart includes un-named labels such as "Series 1" and "Series 2."
  2. The markers in the control line were not removed.
  3. The X-axis does not have a title
  4. The Y-axis does not have a title
  5. Colors used in the chart and in the cell values, do not help in understanding of the work.
  6. Except for the data, all cell values should be calculated as a formula.  If this is not the case, it is very important that you point this out.  You should be able to change a data value and all calculations should change automatically.

When you are done, please answer the following questions within your email:

  1. What value did you calculate for the R constant? 
  2. What is the value for Upper Control Limit?   
  3. Has the patient's exercise patterns changed?

Presentations

There are six sets of presentations for this lecture:

  1. Time-between charts for missed exercise Slides Listen Video►  SWF
  2. Introduction to Control Chart  Slides  Listen
  3. How to plot a control chart  Slides  Listen
  4. Learn more about Excel.  More
  5. Time-between  charts in asthma care.  The narrated slides include formulas used in Excel to calculate control charts.  These formulas are not as easy to see in the Video.  Slides  Listen Video  SWF
  6. See video on calculation of UCL based on post intervention period for Time-between chart in Excel.  Note that in this video the formula for Countif function in Excel differs from previous videos.  Both set are correct but calculated in different ways.  Video

Listening to narrated slides and videos may require Flash

More

  • Time-between chart for Asthma Care Asthma Care More►
  • Evaluate patients' relapse into drug use. More►
  • Days between adverse events More►
 

This page is copyright protected by Farrokh Alemi, Ph.D..  This page is part of the  course on quality / process improvement, lecture on  Time-between charts. This page was first made on  Wednesday, November 06, 2002 and most recent revision was on 1/1/2006