Module 2 Part 1 - Types of Forecasting Models and Simple Linear Regression
Module 2 Part 1 - Types of Forecasting Models and Simple Linear Regression
1.Qualitative Models
-based on judgmental or subjective factors (lacks historical
data, relies on expert opinion and individual experiences)
2. Causal Models
- are quantitative forecasting models wherein the variable to
be forecast is influenced by or correlated with other
variables included in the model.
3. Time-Series Models
- are also quantitative forecasting models/ techniques that
attempt to predict the future values of a variable by using
only historical data on that one variable.
Consumer Decomposition
Market Survey
Regression Analysis (Render et al., 2016)
▪ A forecasting technique with generally two purposes:
1) to understand the relationship between two variables;
2) to predict the value of one based on the other.
Source: Statistics for Manager Using Microsoft Excel, 5e @ 2008 Prentice-Hall, Inc
Regression Analysis: Types of relationships
Source: Statistics for Manager Using Microsoft Excel, 5e @ 2008 Prentice-Hall, Inc
Regression Analysis: Types of relationships
Source: Statistics for Manager Using Microsoft Excel, 5e @ 2008 Prentice-Hall, Inc
Simple Linear Regression Model
𝑏0 = 𝑌 − 𝑏1 𝑋
Interpreting an Estimated Regression Equation
The slope tells us how much, and in what direction, the dependent or response
variable will change for each one unit increase in the predictor variable. On the
other hand, the intercept is meaningful only if the predictor variable would
reasonably have a value equal to zero.
Equation:
Interpretation:
Each extra P1 million of advertising will generate P7.37 million of sales on average.
The firm would average P268 million of sales with zero advertising. However, the
intercept may not be meaningful because Ads = 0 may be outside the range of
observed data.
Note: The graph indicates that higher values for the local payroll
seem to result in higher sales for the company. It is not a
perfect relationship because not all the points lie in a
straight line, but there is a relationship.
Regression Calculations for Triple A Construction:
X Y 𝑋−𝑋 2 𝑋−𝑋 𝑌−𝑌
3 6 1 1
4 8 0 0
6 9 4 4
4 5 0 0
2 4.5 4 5
5 9.5 1 2.5
= 10 = 12.5
24 42
𝑋= =4 𝑌= =7
6 6
Computing the slope and the intercept of the
regression equation, we have:
𝑋 24
𝑿= = =4
𝑛 6 Note: Each time a payroll
𝑌 42 increases by $100 million
𝒀= = =7
𝑛 6 (represented by X), we
𝑋−𝑋 𝑌−𝑌 12.5 expect the sales to
𝒃𝟏 = 2 = = 1.25 increase by $125,000
𝑋−𝑋 10
since b1 = 1.25($100,000).
𝒃𝟎 = 𝑌 − 𝑏1 𝑋 = 7 – (1.25) (4) = 2
The estimated regression equation therefore is:
𝑌 = 2 + 1.25X or Sales = 2 + 1.25 (Payroll)
Assumptions of Regression (L.I.N.E)
▪ Linearity – the relationship between X and Y is linear
▪ Independence of errors – the error values (difference
between observed and estimated values) are statistically
independent.
▪ Normality of error – the error values are normally
distributed for any given value of X
▪ Equal variance or homoskedasticity – the probability
distribution of the errors has constant variance.
Intercept = 2
Assessing Fit: Coefficient of determination, R2
𝑺𝒀𝑿 = 1.311
Comparing Standard Errors
𝟏.𝟐𝟓−𝟎
t= = 3.0151
.𝟒𝟏𝟒𝟓𝟖
df = n – 2 = 6 – 2 = 4
𝒃𝟏
T.DIST.2T(3.0151,4) = .039
Example 1 Inference about slope
T.DIST.2T(3.0151,4) = .039
= p-value
• H0: β1 = 0
• H1: β1 ≠ 0
Aside from visually examining the scatter plots of the IV and DV to assess linearity, the
scatter plot of the IV versus the residuals may also be examined. The plots at the left show
curve patterns which indicates that the data relationship is not linear. Another model should
be used.
Statistical Analysis with Software Applications, Mc Graw Hill
Checking the assumptions by examining the residuals
Residual
Analysis for
Equal Variance:
Plot X against
residuals
Residual
Analysis for
Equal variance:
Plot predicted
values against
residuals
Residuals
0
-1 0 1 2 3 4 5 6 7
assumptions of
-2
-3
linearity and constant
Payroll (X) in $100,000,000s
variance are satisfied.
8
6
4
is satisfied since the
2 points follow a straight
0
0 20 40 60
Sample Percentile
80 100 line.
1 1 53 6 11 84
2 5 74 7 14 96
3 7 59 8 15 69
4 8 43 9 15 84
5 10 56 10 19 83
Intercept = 49.477
1.9641 −0
𝑡= = 𝟐. 𝟐𝟖𝟏𝟐𝟐𝟏
.8610
• H0: β1 = 0
• H1: β1 ≠ 0
The assumption of
normality of residuals is
satisfied since the points
follow a straight line.
Source: Render, B., & Stair Jr, R. M. (2016). Quantitative Analysis for Management, 12e. Pearson Education India
References