Session 12
Session 12
Session 12
Structure
Introduction
Analysis ToolPak
where B0
åX Yi = B 0 å X 2i + B 1 å X 2iX 1i +B 2 åX22i
2i
Ŷ = B̂ 0 + B̂1X1 + B̂ 2 X 2
Independent X variables,
Dependent Y located together in the
variable Excel sheet
2 Click on this 1 Click on this
3 Select this
Select this
Click here 1
4 Click here
Click on this
1
Select this
40000
35000
30000
25000
20000
15000
10000
200 300 400 500 600
40000 40000
35000 35000
30000 30000
Sales
Y 25000
20000
25000
20000
15000 15000
10000 10000
200 300 400 500 600 60 70 80 90 100
600 600
550 550
Advertisement Cost
500 500
450 450
400 400
350 X1 350
300 300
250 250
200 200
10000 20000 30000 40000 60 70 80 90 100
100 100
95 95
90 90
85 85
Price
80
75
80
75
X2
70 70
65 65
60 60
10000 20000 30000 40000 200 300 400 500 600
ToolPak
SE ( B̂2 ) =
ToolPak
1.0
0.5
0.0
-0.5
-1.0
-1.5
-2.0
-2.5
0 10 20 30 40 50
Predicted Sales ('000)
p
110
100
90
80
70
Percentiles
60
50
40
30
20
10
0
-4000 -3000 -2000 -1000 0 1000 2000 3000
Ordered Residuals
p p
ToolPak
¢ X¢X
ˆ
B̂ = ( X¢X)-1 X¢Y
Y¢ ¢
X¢ X (X¢X) -1
X¢ X¢
¢
X¢
X¢
X¢ ( 3´40 )
( 3´3)
Click on this 2 3 Click on this
Select cells 1
(X'X),
CTRL+SHIFT+ENTER
Click on this 2 3 Click on this
Select cells
1
(a)
4 Select this
(b)
CTRL+SHIFT+ENTER
(c)
B¢(X¢Y )
T
-
-
-
ŝ 2
-1
(X'X)
= Sqrt(O7)
= Sqrt(P8)
= Sqrt(Q9)
(a)
= G7/O11
= G8/O12
= G9/O13
(b)
= Tdist(O15,37,2)
= Tdist(O16,37,2)
= Tdist(Abs(O17),37,2)
(c)
ToolPak