Professional Documents
Culture Documents
Y = a + bX
X is the independent variable
Y is the dependent variable
a & b are constants
Bivariate Regression
Second $800
Year
Sales, $600
(Y)
$400
$200
$200
(Y) $200
(Y) $200
(Y) $200
(Y) $200
minimize: ei 2
i
by its choice of a and b.
Bivariate Regression
Y = a + b1 X1 + b2 X2 + b3 X3 + .
Multiple Regression
^
Y = a + b1 X1 + b2 X2 + b3 X3 + .
As before, the goal of the multiple
regression algorithm is to find the
values of the a and bs that
minimizes the sum of squared
errors.
Multiple Regression
^
Y = a + b1 X1 + b2 X2 + b3 X3 + .
So, lets take an example.
Suppose we are trying to predict how much
people will buy from an on-line toy store
(Y), based on their demographic
characteristics.
Multiple Regression
We have these independent variables (Xs):
X1: Estimated family income ($/year)
X2: Grandparent status (1=yes, 0=no)
X3: Head of household years education (0-20)
Multiple Regression the data
Name Y: sales X1 income X2 Grand X3 educ
J.R.E. $1484.92 $590,000 0 16
C.A.D. $22.94 $23,918 1 12
14 | 29
Copyright Houghton Mifflin
Company. All rights reserved.
Multiple Regression Using SPSS
(Contd)
Just as a reference
Multiple Regression - Overall
2 Model Summary
ANOVA b
Sum of 1
Model Squares df Mean Square F Sig.
1 Regression 580.373 2 290.187 58.293 .000a
Residual 84.627 17 4.978
Total 665.000 19
a. Predictors: (Constant), Number of Competing Detergents, Advertising Expenditures
for Bright ($in 100)
b. Dependent Variable: Dollar Sales of Bright ($ in Thousands)
Very important, Sig must
ALWAYS be < .05 for us to
14 | 31 believe
Multiple Regression -
Components
Coefficientsa
Standardi
zed
Unstandardized Coefficien
Coefficients ts
Model B Std. Error Beta t Sig.
1 (Constant) 8.854 6.717 1.318 .205
4 3
Advertising Expenditures
.808 .324 .619 2.496 .023
for Bright ($in 100)
Number of Competing
-.498 .376 -.328 -1.324 .203
Detergents
a. Dependent Variable: Dollar Sales of Bright ($ in Thousands)
If we want to know how much relative contribution is, we use the standardized form
of Beta.
A Live Example