<img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=749646578535459&amp;ev=PageView&amp;noscript=1">

KaiNexus Blog

Everything Continuous Improvement

Subscribe

How to Create a Control Chart for Managing Performance Metrics

Posted by Mark Graban

Jan 31, 2017 8:15:00 AM

Recently, I presented a webinar titled "How to Manage Your Improvement Metrics More Efficiently and Effectively." You can watch the recording and see the slides here.

In the webinar, I explained how to use simple, but effective statistical methods to better evaluate and manage your metrics (aka performance measures, or KPIs). When you use "control charts" (aka "Statistical Process Control" or SPC) to evaluate your metrics, you can:

  • Avoid overreacting to every up and down in the data, which helps not frustrate people and waste time
  • Know how to detect meaningful signals from noise in the data
  • Understand when it's appropriate to ask "what happened yesterday?" and when to ask "how do we improve the system?

In the webinar, I covered how to use control charts.

I promised a "bonus video" where I'd explain how to create the charts. That video is below, but this post also explains how to create control charts in text form.

I also highly recommend the book Understanding Variation by Donald J. Wheeler, Ph.D. for more on this topic. 

How to Manage Your Improvement Metrics

 

 

How to Create the Charts:

  1. Get the Initial Data

    Ideally, we'd have about 20 historical data points available that we'll use to create the initial control limits. If we're doing a daily control chart, you'll want the past 20 days.

    If you're starting with new data that you've just started collecting, you can create control limits with just six or eight data points. The limits won't be as statistically valid as using 20 data points, but it's a good start. As you add more data points, I'd recalculate the control limits, up until the point of hitting 20 data points. Going beyond 20 data points isn't much more statistically significant... there are diminishing returns.

    One key point - once you get to 20 data points, do NOT continually recalculate the control limits. It's important to lock in those control limits until we reach a point when there is a significant shift.

    Here is the data I used in the video, looking at my LeanBlog.org traffic:

    control chart step 1 data.png


  2. Calculate the Mean and Moving Ranges

    I'll continue with the case where I have 20 initial data points, as shown above.

    Calculating the average (mean) of those first 20 points is straightforward. The average here is 1576.2 page loads per day.

    The "moving range" (MR) is the absolute value between each two consecutive data points. The first data point doesn't have an MR because there's no previous data point to compare it to.

    The Excel formula we use might look like =ABS(C5-C4)

    The MR values are always positive numbers. We put those into the table as shown below:

    Step 2 MR.png


  3. Draw the Initial Chart

    You can draw a line chart in Excel or, better yet, use the functionality in KaiNexus! Don't use "column charts" for time series data, as I blogged about here.

    step 3 initial chart.png

    The green line is the mean, or average. In a stable system with consistent performance over time, we'd expect to see about half of the data points be above the mean and half to be below the mean.


  4. Calculate the Control Limits

    Keep in the mind, the control limits in these charts are calculated. We don't get to set the limits based on goals or targets. The control limits are the "voice of the process" and are calculated based on our initial data points.

    We first calculate the "MR-bar" or the average of the moving ranges. In this case, it's about 293.

    Then, we calculate the 3-sigma control limits, using the MR-bar factor:

    LCL = Mean – 3*(MR bar)/1.128

    UCL = Mean + 3*(MR bar)/1.128

    This gives us an LCL of 797 and a UCL of 2356.

    This tells us that, if we have a stable system, we'd predict the next data points would most likely fall between 797 and 2356 -- unless there's a "special cause" signal.

    step 4 calculate control limits.png


  5. Review the Chart

    We look at the initial chart to see if all of the data points are within the control limits, which suggests a process that is "in control" -- no data points exceed those 3-sigma control limits:

    step 5 review chart.png


  6. Revise the Limits (if needed)

    Sometimes, we might have an initial data point that exceeds the limits. I could have been a "special cause" like a holiday or a server going down. If this happens (and I haven't seen it happen very often), you should exclude those data points from the calculations of the average, MRs, MR-bar, and control limits.

    Note: Don Wheeler actually recommends not worrying about revising the limits and excluding "special cause" data points

    step 6 adjust if needed.png


  7. Evaluate Over Time

    This is the main purpose of the control chart... to help us detect signals instead of just reacting to noise.

    As we add more data points, we'd notice here that, instead of having a single point outside the control limits... we have a number of consecutive points above the mean -- another indication of a signal or a process shift where we probably have a new average level of performance.

    step 7 review chart signal.png

    The rules that are used to evaluate the charts are called "Western Electric Rules."

    Here are the basic rules that are used with 3-sigma control limits:

    western electric rules.png

    Any of those situations above are statistically unlikely to happen as the result of chance. They indicate signals in the data/system.

    We should ask "what happened?" and try to understand the "special cause" so it can be eliminated (in the case when performance is worse) or it can be made a permanent part of the system (when performance is better).

    When we have a shift like in the chart above, we'd recalculate the limits based on the new range (for example, the first 10 or 20 points of the new "system" timeframe). Again, don't continually recalculate the limits based on the last 20 points over time.

    The new limits might look like this:

    step 8 revised limits.png

 

I hope that helps. Let me know if we can help you with this methodology!

 

Recent Posts