Академический Документы
Профессиональный Документы
Культура Документы
where:
b0, b1, b2, . . . , bp are the parameters, and
e is a random variable called the error term
Multiple Regression Equation
Estimated Multiple
Regression Equation
b0, b1, b2, . . . , bp
provide estimates of yˆ b0 b1 x1 b2 x2 ... bp xp
b 0, b 1, b 2, . . . , b p Sample statistics are
b0, b1, b2, . . . , bp
Least Squares Method
Least Squares Criterion
min ( yi yˆ i )2
y = b 0 + b 1 x1 + b 2 x 2 + e
where
y = annual salary ($1000)
x1 = years of experience
x2 = score on programmer aptitude test
Solving for the Estimates of b0, b1, b2
Least Squares
Input Data Output
x1 x2 y Computer b0 =
Package b1 =
4 78 24
for Solving b2 =
7 100 43
. . . Multiple
R2 =
. . . Regression
3 89 30 Problems etc.
Solving for the Estimates of b0, b1, b2
b1 = 1.404
b2 = 0.251
i
( y y )2
= i
( ˆ
y y )2
+ i i
( y ˆ
y )2
where:
SST = total sum of squares
SSR = sum of squares due to regression
SSE = sum of squares due to error
Multiple Coefficient of Determination
R2 = SSR/SST
R2 = 500.3285/599.7855 = .83418
Adjusted Multiple Coefficient
of Determination
n1
Ra2 2
1 (1 R )
np1
20 1
R 1 (1 .834179)
2
a .814671
20 2 1
Assumptions About the Error Term e
Hypotheses H0 : b 1 = b 2 = . . . = b p = 0
Ha: One or more of the parameters
is not equal to zero.
Hypotheses H0 : bi 0
H a : bi 0
bi
Test Statistics t
sbi
where:
y^ = annual salary ($1000)
x1 = years of experience
x2 = score on programmer aptitude test
x3 = 0 if individual does not have a graduate degree
1 if individual does have a graduate degree
x3 is a dummy variable
Qualitative Independent Variables
Not significant
More Complex Qualitative Variables
Highest
Degree x1 x2
Bachelor’s 0 0
Master’s 1 0
Ph.D. 0 1
Residual Analysis
2
Residuals
Standard
0
0 10 20 30 40 50
-1
-2
Predicted Salary