Professional Documents
Culture Documents
Method
Period Forecast
61 529.0
62 535.2
63 541.6
Perform the analysis
Enter your data for Trend Analysis (Data tab)
Learn more about Minitab
On the Data tab of the Trend Analysis dialog box, specify the data for the analysis, specify the time scale, and
select the type of model.
In This Topic
• Enter your data
• Time scale labels
• Type of model
Enter your data
In Y variable, enter a column of numeric data that were collected at regular intervals and recorded in time order.
If your data are in multiple columns (for example, you have data for each year in a separate column), you must
stack the data into a single column.
In this worksheet, Sales contains the number of computers that are sold each month.
C1
Sales
195000
213330
208005
249000
237040
Time scale labels
(Optional) Enter a column to label the x-axis with values, such as dates. If you don't enter a column, Minitab
labels each time period with an integer starting at 1.
Type of model
Under Type of model, specify the type of model that matches the trend in your data. To choose between these
four models:
• Graph the data using a time series plot. Then, compare your plot to the following figures to determine
the correct type of model.
• You can fit the four models and compare the measures of accuracy (MAPE, MAD, and MSD). Choose
the model with the smallest accuracy measures.
Linear
The data fits a line, which indicates that the rate of change is uniform over time. The model is Yt = β0 + (β1 * t)
+ et. In this model, β1 represents the average change from one period to the next.
Quadratic
The data have a curvature, which indicates that the rate of change varies over time. The model is Yt = β0+ β1 *
t + (β2* t2) + et.
Exponential growth
The data have a steep curvature, which indicates that the rate of change varies more quickly over time. For
example, a savings account might exhibit exponential growth. The model is Yt = β0 + (β1t) + et.
On this trend analysis plot, the fits closely follow the data, which indicates that the model fits the data.
Step 2: Compare the fit of your model to other models
Use the accuracy measures (MAPE, MAD, and MSD) to compare the fit of your model to other time series
models. These statistics are not very informative by themselves, but you can use them to compare the fits
obtained by using different methods. For all 3 statistics, smaller values usually indicate a better fitting model.
If a single model does not have the lowest values for all 3 statistics, MAPE is usually the preferred measurement.
NOTE
The accuracy measures provide an indication of the accuracy you might expect when you forecast out 1 period
from the end of the data. Therefore, they do not indicate the accuracy of forecasting out more than 1 period. If
you're using the model for forecasting, you shouldn't base your decision solely on accuracy measures. You
should also examine the fit of the model to ensure that the forecasts and the model follow the data closely,
especially at the end of the series.
Model 1 Model 2
Accuracy Measures Accuracy Measures
Forecasts
Period Forecast
61 529.0
62 535.2
63 541.6
On this trend analysis plot, the fits closely follow the data, especially at the end of the series. You can conclude
that the forecasts for the next 3 months are accurate.
Interpret all statistics and graphs for trend analysis
Learn more about Minitab
Find definitions and interpretation guidance for every statistic and graph that is provided with trend analysis.
In This Topic
• Rows used • Forecast
• Rows not used • Trend analysis plot
• Fitted Trend Equation • Normal probability plot of the residuals
• Curve parameters • Residuals versus fits
• MAPE • Histogram of the residuals
• MAD • Residuals versus order
• MSD • Residuals versus variables
• Period
Rows used
The number of observations in the time series.
Rows not used
The number of missing values in the time series.
Fitted Trend Equation
Use the fitted trend equation to describe how the variable that you measure changes over time. The fitted trend
equation is an algebraic representation of the trend line. The form of the fitted trend equation depends on the
type of model that you selected.
Linear Yt = b0 + (b1 * t)
If you see nonconstant variance or patterns in the residuals, your forecasts may not be accurate.
Histogram of the residuals
The histogram of the residuals shows the distribution of the residuals for all observations. lf the model fits the
data well, the residuals should be random with a mean of 0. So the histogram should be approximately
symmetric around 0.
Residuals versus order
The residuals versus order plot displays the residuals in the order that the data were collected.
Interpretation
Use the residuals versus order plot to determine how accurate the fits are compared to the observed values
during the observation period. Patterns in the points may indicate that model does not fit the data. Ideally, the
residuals on the plot should fall randomly around the center line.
The following patterns may indicate that the model does not fit the data.
A consistent long-term trend The model does not fit the data
A sudden shift in the points The underlying pattern for the data has changed
The following examples show patterns that may indicate that the model does not fit the data.
Residuals systematically decrease as the order of the observations increases from left to right.
A sudden change in the values of the residuals occurs from low (left) to high (right).
Residuals versus variables
The residuals versus variables plot displays the residuals versus another variable.
Interpretation
Use the plot to determine whether the variable affects the response in a systematic way. If patterns are present
in the residuals, the other variables are associated with the response. You can use this information as the basis
for additional studies.
MAPE
Mean absolute percentage error (MAPE) measures the accuracy of fitted time series values. MAPE expresses
accuracy as a percentage.
Formula Term Description
yt actual value at time t
fitted value
n number of observations
MAD
Mean absolute deviation (MAD) measures the accuracy of fitted time series values. MAD expresses accuracy
in the same units as the data, which helps conceptualize the amount of error.
Formula
Term Description
yt actual value at time t
fitted value
n number of observations
MSD
Mean squared deviation (MSD) is always computed using the same denominator, n, regardless of the model.
MSD is a more sensitive measure of an unusually large forecast error than MAD.
Formula
Term Description
yt actual value at time t
fitted value
n number of observations