Lifestyle Management


Tukey Control ChartControl charts are used to analyze progress in personal improvement. There are many different types of charts. time between charts are used to monitor adherence to plans. Tukey charts are used to analyze length of exercise or variation in weight. Tukey was a statistician and developed this technique for exploratory data analysis. The approach is robust and makes no assumptions regarding the distribution of outcomes plotted. In a control chart, you monitor progress over time. You create a plot, where the Xaxis is days or weeks since start and the Yaxis 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. This section shows you how to calculate limits for Tukey charts  a type of chart useful for analyzing single observations per time period. ) Figure 1 shows the structure of a typical control chart. In this figure, all points, except for two, fall within the control limits.}
Figure 1: Components of a Control Chart How to Read a Control Chart?In a control chart, points outside the limits are unusual and mark departure from historical patterns. Two points in Figure 1 fall below the LCL and therefore mark a real change. All other points do not indicate any real change, even though there are lots of them showing a rise or fall. These fluctuations are random and not different from historical changes. A control chart can be used to see if a process is stable, meaning that observations are falling within anticipated limits. If your data falls within the control limits, despite day to day variations, despite attempts to change the process, outcomes have not changed. Minimum Number of ObservationsThe more data you have, the more precision you have in constructing the upper and lower control limits. At a minimum, you need at least 7 data points in the preintervention period to start a Tukey chart. This is an absolute minimum and not a recommended number. The actual number you need depends on the consequence of waiting and collecting more data versus using too little data and making an error in judgment. Keep in mind that not all of the data you collect are used for calculation of control limits. Often, the limits are based on preintervention period. Then subsequent postintervention observations are compared to the preintervention limits. When you make a change, you want to see if the change has affected the outcomes. In these circumstances, you set the limits based on the preintervention data. You compare postintervention findings to these limits. If any points fall outside the limits, you may then conclude that the intervention has changed the outcomes. See Figure 2 for an example of limits set based on preintervention periods. The solid line shows the time period used to set the limit, the dashed line is an extrapolation of the limit to other periods.
Figure 2: Postintervention data compared to limits set based on preintervention data 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 lower than LCL in Figure 2. By setting the limits to preintervention patterns, we were able to detect more accurately the improvements since the intervention. Control limits can be calculated from either the pre or the post intervention period and projected over to the other period. For example, control limits can be calculated from perintervention period and extended to the postintervention period. Or the reverse: control limits can be calculated from the postintervention period and extended to the preintervention period. Either way, we are comparing the two periods against each other. But since the results will radically differ, it is important to judiciously select the time periods from which the control limits are calculated. The selection depends on the inherent variability in the pre or postintervention periods. Control limits are calculated from the time period with least variability. Typically, this is done by visually looking at the variability in the data or at the range of the data in pre and postintervention time periods. But in Tukey chart, outliers may appear to cause variability but do not affect the control limit calculations. Therefore, instead of visual tests or instead of looking at range of data, it is important to calculate the Fourth Spread (a concept explained in next section) and to select the time period with the smallest fourth spread. This will produce control limits that are tighter and more likely to detect changes in underlying process. Figure 3 shows the control limits derived from preintervention data. The control limits are calculated from the preintervention period and shown as solid red line. They are extended to the postintervention period, shown as dashed red line. The control chart compares the observations in the post intervention period to the control limits derived from the preintervention period.
Figure 4 shows the control limits for the same data drawn from a postintervention data. Note that this time around the control limits are calculated from the post intervention period, shown as solid red line. They are extended to the preintervention period, shown as dashed red line. The control chart compares the preintervention observations to the control limits calculated from the postintervention data.
Note that both analyses are based on the same data. Both analyses compare the pre and postintervention data by contrasting the observation in one period to control limits derived from the other period. In one case, the control limits are drawn from the preintervention period and in the other from the postintervention period. Note the radical difference of the control limits derived from the two time periods. The Fourth Spread (a concept explained in the next section) for the preintervention period is 10 points while for the postintervention period it is 18 points. Figure 3 is the correct way to analyze the data, because it is based on the control limits derived from the preintervention period, the time period with smallest Fourth Spread. If control limits are based on the time period with the smallest Fourth Spread, they would be tighter and more likely to detect smaller changes in the underlying work process. Calculating LimitsWe will use Tukey’s suggested limits for calculation of confidence intervals. The procedure calculates control limits from difference of upper Fourth and lower Fourth of data, a concept that Tukey named Fourth Spread. Most readers are familiar with median, a value where half the data are below and half the data are above it. A lower Fourth is similar to 25% quartile and is the median of the first half of the data. At this point, 25% of the data are below this value. An upper Fourth is similar to 75% quartile and is the median of the upper half of the data; at this point 75% of the data are below this value. The difference between the two Fourths is referred to as Fourth Spread. The Upper Control Limit is calculated as the sum of the upper Fourth and 1.5 times the Fourth Spread. The Lower Control Limit is calculated as the difference of the lower Fourth and 1.5 times the Fourth Spread. Here are the procedure for calculating Tukey’s control limits:
LCL = Lower Fourth  1.5 * Fourth Spread UCL = Upper Fourth + 1.5 * Fourth Spread
Example in Exercise Time & Weight LossJane collected data in Table 1 regarding her exercise times. She planned to exercise 3 times a week and each time she exercised she recorded the time in minutes. When she did not exercise, she recorded a 0 for the length of exercise. The first 7 days recorded were preintervention. After this period, she and her spouse joined a mixed group volleyball team. The question she wanted to know was whether joining the team had made a difference in her exercise time.
We can calculate the control limits from the preintervention or postintervention period. It so happens that the limits calculated from the preintervention period are tighter (meaning the difference of upper and lower control limit is smaller) and therefore the following shows how to calculate the control limits from the pre intervention period. While we focus on setting the limits from the preintervention period, in reality you should do it from either period and select the time period that produces the tighter control limits. The first step is to sort preintervention data in order of length of exercise. This is shown in Table 1 in the last column of the Table. Next, we calculate the median, this is the value where ˝ the data (7 * .5 = 3.5, 3 points) are below it and ˝ the data (3 points) are above it. The 4^{th} data point with value of 30 is the median; 3 data points are below it and 3 above it. Since median is an actual data point, we include this point in the lower data set. To calculate the Lower Fourth, we calculate the half way point for the first half of the data. When we include the median, we have 4 points in the lower data set. The 25% quartile is halfway between the second and third point, in other words between 25 and 30, which is 27.5. To calculate upper Fourth, we calculate the half way point for the upper half of the data. Again because the median is an actual data point, we include this point in the upper dataset. With the median, we have 4 data points from Median to the highest values. The upper Fourth is between the 5^{th} and 6^{th} data points (between 35 and 40), and therefore its value is 37.5. The Fourth Spread is the difference between the upper and lower Fourth, which is 37.527.5 = 10. The Fourth Spread for the control limits calculated from postintervention data is 18 points and this is why we have selected to calculate control limits from preintervention data. The UCL is calculated as 37.5+1.5*10 = 52.5. The LCL is calculated as 27.51.5*10 = 12.5. A chart of the data is provided in Figure 5:
Figure 5: Tukey's Control Chart for Data in Table 1 Examination of the chart shows that in the first seven days, there was one very low point of no exercise, a statistical abnormality. After the first 7 days (used for setting the limits), on 3 occasions the total exercise time exceeded the UCL. In these three days, there was a real increase in exercise time compared to the first 7 days. If these days correspond to joining the volleyball team, then the intervention seems to have worked. Let us look at another
example, this time on weight loss. A male, 48 year old man measured his weight
for 8 weeks. Then he and his spouse changed food shopping habits. They excluded
all sweets from their shopping (they stopped buying pops, sweetened
cereals, and chocolates for the house). The data for this person is
provided in Table 2. Weight was recorded once a week.
As before, we need to calculate the control limits for pre and postintervention periods and select the limits with the smallest difference. It so happens that that the preintervention period has the smallest Fourth Spread and therefore we show the calculation of control limits from these data. The first step is to sort preintervention data from least amount of pounds over weight to the highest value. This is shown in Table 2 in the last column of the Table. Next, we calculate the median, this is the value where ˝ the data (8 * .5 = 4 points) are below it and ˝ the data (4 points) are above it. The value should be between 4^{th} and 5^{th} data points, or between 7 and 8, so the median is 7.5. Since median is not an actual data point, we do not include this point in the calculations of Fourths. To calculate the lower Fourth, we pick the half way point for the first half of the data. We have 4 points in the lower data set. The Lower Fourth is halfway between the 2^{nd} and 3^{rd} point, in other words between 5 and 7, thus it is 6. To calculate the Upper Fourth, we calculate the halfway point for the upper half of the data. Again because the median was not an actual data point, we do not include this point in the upper data set. We have 4 data points for the highest values. The Upper Fourth is between the 6^{th} and 7^{th} data points (between 9 and 10), and therefore it is 9.5. The Fourth Spread is the difference between the Upper and Lower Fourth, which is 9.56 = 3.5. The UCL is calculated as 9.5+1.5*3.5 = 14.75. The LCL is calculated as 61.5*3.5 = 0.75. A chart of the data is provided in Figure 6:
Figure 6: Control chart for the weight data Examination of the chart shows that in the first eight weeks, all data points were within the limit. No weight was lost in the preintervention period, even though there was considerable amount of fluctuations. Over the remaining 8 weeks and compared to the first 8 weeks, on 4 occasions the weight was lower than the LCL. Therefore, there was a real decrease in weight in the post intervention period. Assignment Due this WeekAdvanced 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 following questions are designed to get you to think more about the concepts taught in this session.
Has the patient's health changed? Note that there are is an intervention period and control limits should be set based on the period with the lowest fourth spread. How Will Your Assignment be Graded?
Email Your AnalysisEmail your Excel file to your instructor. For full credit of your work, in the subject line include the course number and your name. For example, subject line could be: "Joe Smith from HAP 290 analysis of data using Tukey chart" Please note that all cell values must be calculated using a formula from the data. Do not enter values in any calculated cells. Calculate each cell using Excel formulas. Email► PresentationsTo assist you in reviewing the material in this lecture, please see enclosed resources:
Narrated slides and video require use of Flash. More
This page is part of the course on Lifestyle Management This page was first prepared on January 1990 and last revised 10/22/2011. Copyright protected by Farrokh Alemi, Ph.D. © Copyright 2003. For a published version of this web page see: Alemi, F. Tukey's Control Chart. Quality Management in Health Care. 13(4):216221, October/November/December 2004. Accession Number: 0001951420041000000004. See also criticism of the approach by Borckardt JJ, Nash MR, Hardesty Sue, Herbert J, Cooney H, Pelic C. An Empirical Evaluation of Tukey's Control Chart for Use in Health Care and Quality Management Applications. Quality Management in Health Care. 14(2):112115, April/June 2005. Accession number 0001951420050400000006. Authors response to the criticism is available at Alemi F, Baghi H. Simulated Environment Is Not Appropriate./span> Quality Management in Health Care. 14(3):165166, July/September 2005. Library membership is required to view these documents. 
