How the calculator decides
It applies the process behavior chart (XmR chart) method developed by Walter Shewhart and taught for business data by Donald Wheeler in Understanding Variation:
- Average. The mean of the values used for the limits (all of them, unless you choose the first part only).
- Moving ranges. The absolute difference between each value and the one before it. Their mean is the average moving range.
- Natural process limits. Average ± 2.66 × average moving range. Upper range limit: 3.268 × average moving range.
The three signals of a real change
- A point outside the limits. One value above the upper or below the lower natural process limit.
- A run of 8. Eight or more values in a row on the same side of the average.
- 3 of 4 near a limit. Three of any four values in a row closer to the same limit than to the average.
The Mostly Stable app watches connected metrics for the same three signals, and recalculates the limits when the process shifts. If none fires, the ups and downs are routine variation: explaining each one wastes time, and reacting to them makes results noisier.
Worked example
The default example is 26 weeks of made-up weekly signups. The first 18 weeks average 40.2 with an average moving range of 4.53, so the limits are 28.1 to 52.2. From week 19 every week sits above the old average, and weeks 22 and 25 break the upper limit: a real change. Read the full worked example.
Frequently asked questions
What is an XmR chart?
An XmR chart (individuals and moving range chart), also called a process behavior chart, plots each value of a metric over time with its average and natural process limits. A second chart shows the moving range: how much the metric moved from one point to the next. Together they show whether a change is a real signal or routine variation.
How are natural process limits calculated?
Take the average of the values and the average moving range (the average absolute change between consecutive values). The limits are the average plus and minus 2.66 times the average moving range. The upper range limit on the moving range chart is 3.268 times the average moving range.
Why 2.66?
2.66 is 3 divided by 1.128, the bias-correction constant (d2) for moving ranges of two points. It turns the average moving range into an estimate of three standard deviations of routine variation. The limits work well in practice even when the data isn't normally distributed.
How many data points do I need?
The calculator draws a chart from 6 points; Wheeler notes useful limits can come from as few as 5 or 6 values. Treat them as provisional until you have about 20, and 20 to 30 values give dependable limits. Use data in time order, one value per day, week or month.
When should I calculate the limits from only the first part of the data?
When you suspect the process changed partway through, for example after a launch. Calculating the limits from the period before the change and extending them forward judges the new values against the old normal, instead of letting the change widen the limits.
Is my data uploaded anywhere?
No. The calculation and the chart run in your browser, and the site's analytics never receive your numbers. Share links keep the numbers in the part of the link after the # sign, which browsers never send to a server.
How is this different from week-over-week percentage change?
A percentage change compares two points and treats every difference as news. An XmR chart compares each point with the metric's own history, so it can tell you that a 10% drop is normal for this metric, or that a 4% rise is a real shift.