Basic Simple Linear Regression
Basic Simple Linear Regression
Y from
regression
equation
Actual
value
of Y
Value of X used
to estimate Y
X
Independent variable
Linear Regression
• The sample correlation coefficient, r
• Measures the direction and strength of the relationship
between the independent variable and the dependent
variable.
• The value of r can range from –1.00 ≤ r ≤ 1.00
• The sample coefficient of determination, r2
• Measures the amount of variation in the dependent
variable about its mean that is explained by the regression
line
• The values of r2 range from 0.00 ≤ r2 ≤ 1.00
• The standard error of the estimate, syx
• Measures how closely the data on the dependent variable
cluster around the regression line
Example 14.2
The supply chain manager seeks a better way to forecast the
demand for door hinges and believes that the demand is
related to advertising expenditures. The following are sales
and advertising data for the past 5 months:
Month Sales (thousands of units) Advertising (thousands of $)
1 264 2.5
2 116 1.3
3 165 1.4
4 101 1.0
5 209 2.0
The company will spend $1,750 next month on advertising for the
product. Use linear regression to develop an equation and a
forecast for this product.
Example 14.2
We used POM for Windows to determine the best values
of a, b, the correlation coefficient, the coefficient of
determination, and the standard error of the estimate
a = –8.135
b = 109.229X
r = 0.980
r2 = 0.960
syx = 15.603
200 – X
X X
150 –
Data
X X
100 –
Forecasts
50 –
| |
0–
1.0 2.0
Advertising ($000)
Example 14.2
• Forecast for month 6:
Y = –8.135 + 109.229X
Y = –8.135 + 109.229(1.75)
First Model
Example 14.5
Example 14.5
Second
Model
Example 14.5
Third Model
Application 14.4
• Use Excel to project the following weekly demand
data using trend projection with regression.
• What is the forecasted demand for periods 11-14?