Professional Documents
Culture Documents
Regression
Regression
Ad Exp (Xi - Xbar) (Xi - Xbar)² Sales (Yi - Ybar) (Yi - Ybar)² (Xi - Xbar)*(Yi - Ybar)
1 -2 4 1 -1 1 2
2 -1 1 1 -1 1 1
3 0 0 2 0 0 0
4 1 1 2 0 0 0
5 2 4 4 2 4 4
Slope 0.7
Intercept -0.1 r 0.903696 0.903696
R² 0.816667 0.816667
X Y Yhat
Ad Exp Sales PredY Error error²
1 1 0.6 0.4 0.16
2 1 1.3 -0.3 0.09 Se 0.60553
3 2 2 0 0 sqrt(SSxx) 3.162278
4 2 2.7 -0.7 0.49
5 4 3.4 0.6 0.36
1.1 SSE
Sales
4.5
4
3.5
3
2.5
2
1.5
1
0.5
0
0.5 1 1.5 2 2.5 3 3.5 4
0.7
0.508515 0.891485
0.317029 1.082971
Sslope 0.191485 0.125544 1.274456
Sales