Forecasting III
Forecasting III
• Seasonal variations in data are regular movements in a time series that relate to
recurring events such as weather or holidays.
• Seasonality may be applied to hourly, daily, weekly, monthly, or other recurring
patterns. Movie theaters see higher demand on Friday and Saturday evenings.
• Understanding seasonal variations is important for capacity planning in
organizations that handle peak loads. These include electric power companies
during extreme cold and warm periods, buses and subways during the morning
and evening rush hours.
• The presence of seasonality makes adjustments in trend-line forecasts necessary.
• Seasonality is expressed in terms of the amount that actual values differ from
average values in the time series.
• Analyzing data in monthly or quarterly terms usually makes it easy for a
statistician to spot seasonal patterns.
Steps for seasonal forecast for a company that has “seasons” of 1
month:
Step 1: Find the average historical demand each season (or month in this case) by
summing the demand for that month in each year and dividing by the number of years of
data available.
Step 2: Compute the average demand over all months by dividing the total average
annual demand by the number of seasons.
Step 3: Compute a seasonal index for each season by dividing that month’s historical
average demand (from Step 1) by the average demand over all months (from Step 2).
Step 5: Divide this estimate of total annual demand by the number of seasons, then
multiply it by the seasonal index for each month. This provides the seasonal forecast.
Determining Seasonal Indices and forecast
the monthly demand:
Note: Think of these indices as percentages of average sales. The average sales (without
seasonality) would be 94, but with seasonality, sales fluctuate from 85% to 131% of average.
Cyclic Variations in Data
• Cycles are like seasonal variations in data but occur every several years, not
weeks, months, or quarters.
• Forecasting demand for individual products can also be driven by product life
cycles—the stages products go through from introduction through decline. Life
cycles exist for virtually all products; striking examples include floppy disks,
video recorders, etc.
Regression and Correlation Analysis
• The dependent variables to forecast will still be . But now the independent
variable, x, need no longer be time.
Where,
computed value of the variable to be predicted (called the dependent variable,
example: sales).
a = y-axis intercept.
b = slope of the regression line (or the rate of change in y for given changes in x).
x = the independent variable.
Computing a Linear Regression Equation
Nodel Construction Company renovates old homes in West Bloomfield, Michigan.
Over time, the company has found that its dollar volume of renovation work is
dependent on the West Bloomfield area payroll. Management wants to establish a
mathematical relationship to help predict sales.
1 2 1
2 3 3
3 2.5 4
4 2 2
5 2 1
6 3.5 7
Computing a Linear Regression Equation
Nodel Construction Company renovates old homes in West Bloomfield, Michigan. Over time, the company has
found that its dollar volume of renovation work is dependent on the West Bloomfield area payroll. Management
wants to establish a mathematical relationship to help predict sales.
Area Payroll
Nodel’s Sales (In
n (In $ Billions),
$ Millions), y
x
1 2 1
2 3 3
3 2.5 4
4 2 2
5 2 1
6 3.5 7
Computing a Linear Regression Equation
• A mathematical equation by using the least-squares regression approach:
or: On average, sales increase at the rate of 1/4 million dollars for
every billion dollars in the local area payroll. This is because b
• Sales = $3,250,000 = .25, this shows a straight-line relationship between payroll
and sales.
Correlation Coefficients for Regression Lines
• The regression equation is one way of expressing the nature of the relationship
between two variables.
• Regression lines are not “cause-and-effect” relationships. They merely describe
the relationships among variables.
• The regression equation shows how one variable relates to the value and changes
in another variable.
• Another way to evaluate the relationship between two variables is to compute the
coefficient of correlation. This measure expresses the degree or strength of the
linear relationship (but note that correlation does not necessarily imply causality).
Usually identified as r, the coefficient of correlation can be any number between
+1 and -1 .
Correlation Coefficients for Regression Lines
• Coefficient of Determination (r²):The percentage of the variation in the
dependent variable that results from the independent variable.
Varies between 0 and 1
1 2 1
2 3 3
3 2.5 4
4 2 2
5 2 1
6 3.5 7
Determining the Coefficient of Correlation