Professional Documents
Culture Documents
Learning Objectives: Simple Linear Regression
Learning Objectives: Simple Linear Regression
Learning Objectives
North Seattle Community College
! can be visualized by the use of a scatter plot to show Dependent variable (Y): the variable we wish to predict or explain
the relationship between two variables
Independent variable (X): the variable used in order to predict or
explain the dependent variable
BUS210: Business Statistics Simple Regression- 3 BUS210: Business Statistics Simple Regression- 4
X X
BUS210: Business Statistics Simple Regression- 5 BUS210: Business Statistics Simple Regression- 6
Y Y Y Independent
Intercept Slope
Variable
Coefficient Coefficient
Y
X
Y
X
Y
X
Yi = !0 + !1X i + "i
Dependent Linear Random Error
Variable component component
X X X
BUS210: Business Statistics Simple Regression- 7 BUS210: Business Statistics Simple Regression- 8
ŷi = b0 + b1x i
of Y for Xi
observation i
Yi = !0 + !1X i
Intercept Estimated
Commonly shown in math
(!0) as y = mx+b (or predicted)
X Y value for
Xi observation i
BUS210: Business Statistics Simple Regression- 9 BUS210: Business Statistics Simple Regression- 10
BUS210: Business Statistics Simple Regression- 11 BUS210: Business Statistics Simple Regression- 12
BUS210: Business Statistics Simple Regression- 15 BUS210: Business Statistics Simple Regression- 16
ANOVA
df SS MS F Significance F
Regression 1 18934.9348 18934.9348 11.0848 0.01039
Residual 8 13665.5652 1708.1957
Total 9 32600.5000
BUS210: Business Statistics Simple Regression- 17 BUS210: Business Statistics Simple Regression- 18
Intercept 350
Slope
= 98.25 300
= 0.11 ! the estimated mean value of Y
250
200
150
! when the value of X is zero
100
50
Note:
0
0 500 1000 1500 2000 2500 3000 Because a house cannot have a square footage of zero, b0 has no practical application
Square Feet
house price = 98.25 + 0.11 (square feet) Predict the price for a house
with 2000 square feet:
! b1 is….
! the estimated change in the mean value of Y house price = 98.25 + 0.11(sq.ft.)
! when the value of X changes by one unit = 98.25 + 0.11(2000)
! 318
Here, b1 = 0.11 tells us that the mean value of a house
increases by 0.11 x $1000 or about $110, on The predicted price for a house
average, for each additional one square foot of size with 2000 square feet is $318,000
BUS210: Business Statistics Simple Regression- 21 BUS210: Business Statistics Simple Regression- 22
350
300
250
x
xi
BUS210: Business Statistics Simple Regression- 25 BUS210: Business Statistics Simple Regression- 26
X
BUS210: Business Statistics Simple Regression- 29 BUS210: Business Statistics Simple Regression- 30
Coefficient of Determination
Using Excel
Regression Statistics SSR 18934.9348
r2 = = = 0.58082
Multiple R 0.76211
SST 32600.5000
R Square 0.58082
Adjusted R Square 0.52842 58.08% of the variation in
Standard Error 41.33032 house prices is explained
Observations 10 by variation in square feet
ANOVA
df SS MS F Significance F
Regression 1 18934.9348 18934.9348 11.0848 0.01039
Residual 8 13665.5652 1708.1957
Total 9 32600.5000