Academy › Topic library › Time-Series Analysis for Quality Data
Q-BOT ACADEMY · FREE VIDEO LESSON · 9 MIN
Time-Series Analysis for Quality Data
A time series is a set of measurements in time order, taken at equal steps: every hour, every week, every quarter. Time-series analysis asks what's moving the numbers over time. It splits the series into four parts. The trend, the long-run direction. The seasonal pattern, which repeats on the calendar. The cycle, slower waves with no fixed length. And the irregular part, whatever is left over.
In short
Common mistakes. Comparing one season to a different season. Calling two or three points a trend. Using too short a history, with fewer than two or three full cycles of the season. Forgetting that a moving average lags. Stretching a trend line years into the future. Ignoring volume, when more chairs shipped simply means more complaints. And putting strongly seasonal data straight onto a control chart: chart the deseasonalized values instead.
Check yourself
Let's recap. Plot it in time order first. A series has four parts: trend, seasonal, cyclical and irregular. A moving average over one full season shows the trend. A seasonal index shows how far each season runs above or below typical. Divide by the index to take the season out, fit a trend line, and multiply back to forecast, a short way ahead.
Show the answer
Check yourself. The third quarter's seasonal index is one point one. Next third quarter, Hannah logs three hundred thirty complaints. What's the deseasonalized value? A: three hundred. B: three sixty three. C: three thirty. D: two twenty. Pause the video if you want to think about it. The answer is A! Deseasonalized equals actual divided by the index: three thirty divided by one point one is three hundred. B is the trap: multiplying by the index puts more season in, instead of taking it out. That's time-series analysis for quality data. Questions? Ask Q-Bot right here in the Academy. And one for the road: I wrote a seasonal joke. It only gets a laugh once a year!
Where this topic is taught
This lesson is part of every free Academy course whose Body of Knowledge covers it. Each course puts it in context, with exercises and checks.
Full lesson transcript
The narration from the video, by chapter. Brindlewood Outdoor Furniture and its people are a fictional company used in every Q-Bot Academy lesson.
Intro
Brindlewood, the Monday quality meeting. Hannah puts up the spring numbers. Customer complaints this quarter: three hundred sixty two. Last quarter: two hundred thirty three. That's up fifty five percent! Rosa frowns. All those fixes, and complaints are up by half? Marcus shakes his head. Wait. Spring is always our busiest quarter. Let's look at it the right way.
Hey there, I'm Q-Bot. Welcome to the Q-Bot Academy. Today: time-series analysis for quality data! We'll split a stream of numbers into its parts: trend, seasonal, cyclical and irregular. Then three simple tools: the moving average, the seasonal index, and the trend line, with a forecast at the end.
What it is
So, what is it? A time series is a set of measurements in time order, taken at equal steps: every hour, every week, every quarter. Time-series analysis asks what's moving the numbers over time. It splits the series into four parts. The trend, the long-run direction. The seasonal pattern, which repeats on the calendar. The cycle, slower waves with no fixed length. And the irregular part, whatever is left over.
Why it matters
Why does it matter? Because the wrong comparison leads to the wrong decision. Compare a busy spring to a quiet winter, and a good process looks like it's failing. Rosa nearly pulled people off a project that was working. Do it the other way around, and a real problem hides behind a quiet season. Time-series analysis also tells you what's coming, so you can staff and plan for it!
How it works
Now, how it works, one part at a time. Step one is always the same: plot it in time order. Time across the bottom, the measurement up the side, points joined by a line. Bad: a table of twelve numbers, or two numbers side by side. Good: three years on one chart, where your eye can see the shape before you calculate anything!
Part one: the trend. It's the long-run direction: up, down or flat, after the ups and downs of the season are set aside. A trend needs time to show. Bad: two points going up, called a trend. Good: several full years, where the middle of the pattern keeps moving the same way!
Part two: the seasonal pattern. It repeats at a fixed period on the calendar: every year, every week, even every shift. Patio chairs sell most in spring and summer, so Brindlewood ships more chairs then, and more chairs means more complaints. Bad: comparing spring to winter. Good: comparing spring to last spring, or taking the season out first!
Part three: the cycle. Cycles are slower rises and falls, usually longer than a year, and with no fixed length. Think of the housing market: when people buy homes, garden centers order more patio furniture, and that tide comes and goes over several years. You need a long history to see a cycle. Bad: calling a season a cycle. Good: a season repeats on the calendar, a cycle doesn't.
Part four: the irregular part. It's what's left: random noise, plus one-off events, like the month a supplier's new mold sent out loose glides. One more idea. If the seasonal swing stays the same size, add and subtract it. That's an additive model. If the swing grows and shrinks with the level, multiply. That's a multiplicative model, and it's the one we'll use today.
Now the tools. Tool one: the moving average. For quarterly data, average the last four quarters. Every average holds one of each season, so the season cancels out and the trend shows through. Then slide forward one quarter and do it again. Remember, a moving average lags behind. It shows where the process has been, a little late.
Tool two: the seasonal index. Divide each quarter by the moving average around it. Then average those ratios for the same quarter across the years. An index of one point three means that quarter usually runs thirty percent above a typical quarter. An index of point eight means twenty percent below. The four quarterly indexes should add up to about four.
Worked example: three years of complaints
Tool three: take the season out, and draw the trend. Deseasonalized value equals the actual value, divided by its seasonal index. Fit a straight line through the deseasonalized points. That's the trend line. To forecast, read the trend for a future quarter, then multiply by that quarter's index. Only forecast a short way ahead. A trend line doesn't know about tomorrow's changes.
Now the worked example. Hannah pulls three years of complaints by quarter. Year one: two ninety six, four seventy, three eighty three, two seventy four. Year two: two sixty two, four eighteen, three forty four, two thirty eight. Year three: two thirty three, three sixty two, two ninety nine, two oh six. Plotted, you see it right away: a peak every spring, a dip every winter, and the whole thing sliding down.
First, the moving average. Year one adds up to one thousand four hundred twenty three, so the first four-quarter average is about three fifty six. Slide forward a quarter at a time, and the averages fall: three forty seven, three thirty four, three twenty five, and on down to two seventy five. The year totals tell the same story: fourteen twenty three, then twelve sixty two, then eleven hundred. About twenty three percent fewer complaints in two years!
Next, the seasonal indexes. Take the third quarter. In year one, three eighty three divided by its moving average of about three fifty one is one point oh nine. In year two, three forty four divided by about three twelve is one point one oh. Average them: about one point one. Doing the same for every quarter gives point eight, one point three, one point one, and point eight. They add up to four!
Now take the season out of Rosa's scary spring. Winter: two thirty three divided by point eight is about two ninety one. Spring: three sixty two divided by one point three is about two seventy eight. With the season taken out, complaints actually went down! And spring against last spring: four eighteen down to three sixty two, thirteen percent fewer. The trend line through all twelve points drops about ten complaints every quarter.
Common mistakes
Finally, the forecast. The trend line reaches about two thirty nine for next spring. Times the spring index of one point three: about three hundred ten complaints. Next winter: about two hundred. So Hannah adds a part-time rep for spring and summer, instead of being swamped again. Marcus puts the deseasonalized line on the monthly review. And Rosa smiles: the fixes are working!
Recap
Common mistakes. Comparing one season to a different season. Calling two or three points a trend. Using too short a history, with fewer than two or three full cycles of the season. Forgetting that a moving average lags. Stretching a trend line years into the future. Ignoring volume, when more chairs shipped simply means more complaints. And putting strongly seasonal data straight onto a control chart: chart the deseasonalized values instead.
Check yourself
Let's recap. Plot it in time order first. A series has four parts: trend, seasonal, cyclical and irregular. A moving average over one full season shows the trend. A seasonal index shows how far each season runs above or below typical. Divide by the index to take the season out, fit a trend line, and multiply back to forecast, a short way ahead.
Check yourself. The third quarter's seasonal index is one point one. Next third quarter, Hannah logs three hundred thirty complaints. What's the deseasonalized value? A: three hundred. B: three sixty three. C: three thirty. D: two twenty. Pause the video if you want to think about it.
The answer is A! Deseasonalized equals actual divided by the index: three thirty divided by one point one is three hundred. B is the trap: multiplying by the index puts more season in, instead of taking it out.
That's time-series analysis for quality data. Questions? Ask Q-Bot right here in the Academy. And one for the road: I wrote a seasonal joke. It only gets a laugh once a year!
Independent study material; not affiliated with or endorsed by ASQ. Body of Knowledge codes identify where the topic appears in each certification's published outline.