Laney u’ Control Chart

Laney u’ Control Chart

September 2020

(Note: all the previous SPC Knowledge Base in the attribute control charts category are listed on the right-hand side.  Select this link for information on the SPC for Excel software.)

Have you ever run into the situation where your control limits are very tight and most of the points are out of control? This can happen with u control charts, particularly if your subgroup size is large. One option to handle this is to use an individuals control chart instead of the u control chart. A better option though is to use the Laney u’ control chart. This month’s publication introduces the Laney u’ chart.

In this issue:

Please feel free to leave a comment at the end of this publication. You can download a pdf copy at this link.

Background Information

The classical u control chart is used to monitor data that are counts. The u control chart is based on certain assumptions. For example, it assumes that you have a Poisson distribution. There are times, though, when the u control chart gives misleading information. This is particularly true when you have large subgroup sizes.

In 2002, David B. Laney published an article in Quality Engineering that described a new approach to handle the situations when the sample size is large. His article is based on the p control chart. Please see our SPC Knowledge Base article, Laney p’ Control Chart, for more information. The approach is essentially the same with the Laney u’ control chart.

In this article, we will start with a set of data and use a u control chart to analyze the data. The control chart will have very tight limits with many out of control points. Then we will try the individuals control chart. This chart works better but has flat control limits – and you lose the information about the varying subgroup size. Then we will introduce the Laney u ‘ control chart and demonstrate how it solves the issue of large subgroup sizes.

The Data

A hospital group is monitoring the error rate for medicines given to patients. The group involves several hospitals. The data recorded each week is the number of patients given medicine and the number of errors. The errors can include giving the wrong dosage, giving the wrong medicine, not giving the medicine, etc. The data for 25 weeks are shown below.

Table 1: Patients and Errors Data

WeekPatientsErrorsu WeekPatientsErrorsu
16566980.01493 1465981070.01622
29671360.00372 1510029430.00429
381291040.01279 168192500.00610
47757900.01160 1794171020.01083
57880530.00673 187130630.00884
69102930.01022 195455580.01063
772011800.02500 205946520.00875
87940510.00642 2110222990.00968
98486640.00754 228154430.00527
1098581160.01177 235114460.00899
119226910.00986 246256870.01391
1210496690.00657 256466840.01299
139427430.00456     

 

NOTE: The u values given above are rounded to five decimal places. To get the identical results in the charts below, you will need to use u = c/n for each u value – in other words, do not round.

Using the u Control Chart

The classical approach to monitoring these types of data over time is with a u control chart. The u control chart monitors the number of defects (c) in a given area where the defects have an opportunity to occur (n). In this case, the given area is the number of patients each week. The defects are errors in administering a patient’s medicine each week. The value of u is given by c/n. With u control charts, you can have an inspection unit that is made up of a certain number of patients (e.g., 1000). For this article, we will simply use an inspection unit of 1.

Each week the value of u is calculated. For week 1, c = 98 and n = 6566. This gives u = 98/6566 = 0.0149. The values of u are plotted overtime and, when enough data are available, the overall average and control limits are calculated and added to the u control chart. Figure 1 shows the u control chart based on the data in Table 1.

Figure 1: u Control Chart for Patients/Errors Data

u control chart

As you can see from the chart, ten out of 25 points are out of control. One reason this occurs is the large subgroup size. The average and control limits, based on the assumption of a Poisson distribution, are given by:

u control chart limits

where u is the average and LCLui and UCLui are the lower and upper control limits. Please see our SPC Knowledge Base article, u Control Charts, for more information. The u control limits vary as the subgroup size varies. Also, the control limits become very tight as ni gets larger – the LCLui and the UCLui get closer together. This is why so many points are beyond the control limits. Let us see what impact using an individuals control chart will have.

Using the Individuals Control Chart

In the past, the individuals control chart has been used to address the issue of large subgroup sizes with attributes charts. The individuals control chart is really two charts, the X control chart and the moving range chart. Each individual u value is plotted on the X chart while the range between consecutive u points are plotted on the moving range chart. Once enough data are available, the overall average and X control limits are added to the X chart, and the average moving range and moving range control limits are added to the moving range chart. Figure 2 is a plot of the X chart for the data in Table 1. We will not show the moving range chart here.

Figure 2: X Chart for Patients/Errors Data

x chart

This control chart looks entirely different from the u control chart in Figure 1. Instead of a lot of out of control points, there are none! The control limits with the X control chart are constant. They are given by:

X= (ΣX)/k

UCLx =X + 2.66mR

LCLx =X– 2.66mR

where X is the individual u values, k is the number of data points, X is the overall average, mR is the average moving range and LCLx and UCLx are the lower and upper control limits. Please see our SPC Knowledge Base article, Individuals Control Charts, for more information.

The control limits make a lot more sense. There is nothing wrong with this approach – using the individuals control chart. There is only one criticism about the individuals control chart in this situation – it does not account for varying subgroup sizes. Often that will not be an issue, but there are times when it can be – particularly with large subgroup sizes. The Laney u’ control chart takes care of this potential problem.

Using the Laney u’ Control Chart

The Laney u’ control chart, like the other two, plot the values of u over time. The overall average is calculated using the same equation as for the u control chart above. Then things get a little different. The Laney u’ control chart is produced by combining z values with the individuals control chart.

A z value is calculated for each point. A z value tells you the number of sample standard deviations between the point and the overall average. The z value for point i is given by:

z value

This is done for each u value. The results are shown in Table 2.

Table 2: Calculations for the Laney u’ Chart

WeekuzmRUCLLCL
10.014934.42997 0.02497-0.00582
20.00372-5.8822310.312200.02226-0.00311
30.012792.965058.847280.02341-0.00426
40.011601.824211.140840.02374-0.00459
50.00673-2.585144.409350.02363-0.00448
60.010220.625833.210970.02265-0.00350
70.0250013.3728112.746980.02428-0.00513
80.00642-2.8706116.243430.02358-0.00443
90.00754-1.914580.956030.02312-0.00397
100.011772.223554.138130.02214-0.00299
110.009860.282501.941040.02257-0.00341
120.00657-3.142643.425140.02175-0.00260
130.00456-4.975191.832550.02243-0.00328
140.016225.5129410.488130.02494-0.00578
150.00429-5.4118010.924730.02203-0.00288
160.00610-3.211482.200320.02336-0.00421
170.010831.245414.456880.02243-0.00328
180.00884-0.638301.883710.02435-0.00520
190.010630.797661.435960.02647-0.00732
200.00875-0.654241.451900.02576-0.00661
210.009680.113000.767240.02192-0.00277
220.00527-3.969964.082960.02339-0.00424
230.00899-0.424383.545580.02702-0.00787
240.013913.500713.925090.02535-0.00620
250.012992.806580.694130.02509-0.00594

 

The next step is to calculate the moving range between consecutive z values – just like we do with X values in the individuals control chart. The moving ranges are shown in Table 2. The average moving range is then calculated.

mR= (ΣmR)/(k-1)

where k is the number of data points. The moving range is 4.79419. The next step is to estimate sigma for the z values in Table 2. This is done by dividing the average moving range by 1.128, again just like in the individuals control chart. Sigma for the z values is:

σz= mR/1.128 = 4.25017

This value of σz is used to adjust the u control chart limits, as shown below.

laney u' control limits

The control limits are shown in Table 2 as well. Plotting the u values, the overall average, and the control limits give the Laney u’ control chart shown in Figure 3.

Figure 3: Laney u’ Control Chart for Patients/Errors Data

laney u control chart

Take a close look at Figure 3. A couple of items to notice. First, the control limits vary because the subgroup size (number of patients) varies each week – just like the u control chart. Now note that there is one out of control point with Laney u’ control chart while the u control chart had many. The individuals control chart did not have any. The reason the Laney u’ control chart picks it up is that it is accounting for the varying subgroup size – which the individuals control chart does not. In this situation, the Laney u’ control chart is a better than the individuals control chart.

Summary

This publication introduced the Laney u’ control chart. This control chart is especially useful in handling large subgroup sizes that lead to very narrow limits on the traditional u control chart. It does this by combining the calculation of z values with the X control chart as shown above. The Laney u’ control chart is a better choice when you have large subgroup sizes.

Quick Links

Thanks so much for reading our SPC Knowledge Base. We hope you find it informative and useful. Happy charting and may the data always support your position.

Sincerely,

Dr. Bill McNeese
BPI Consulting, LLC

View Bill McNeese

Connect with Us

guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Scroll to Top