You are on page 1of 4

xi*yi

1
2
3
4
5
6
7

0.5
2.5
2
4
3.5
6
5.5
Sum(xi*yi)=
7

n=

xi^2

0.5
5
6
16
17.5
36
38.5
119.5
Sum(xi^2)=

140
a1=
a0=

xmean=

sqrt(Sr/(n-2))=
0.839285714
0.071428571

4
ymean=

0.839285714
0.146167014
0.86831761
32.97014925
19.72321429

(yi-ymean)^2
8.576530612
0.862244898
2.040816327
0.326530612
0.005102041
6.612244898
4.290816327

1
4
9
16
25
36
49

3.428571429
S_t= 22.71428571
S_r= 2.9910714
S_t-S_r= 19.723214
r^2=

0.071429
0.653679
0.773443
5
2.991071

a1
s_a1
r^2
F stat
S_t-S_r

a0
s_a0
Std Error
Degr.of freedom
S_r

0.86831761

7
6
5
4
3
2
1
0
0

SUMMARY OUTPUT

Regression Statistics
Multiple R
0.931836
R Square
0.868318
Prevents r^2 to grow indefinitely
Adjusted R Square0.841981 USED WHEN MORE THAN ONE X IS USED.
Adj r^2= 1-(1-r^2)*(n-1)/(n-k-1)
Standard Error 0.773443
Usually a population regression model is y = b1 + b2*x + u
Observations
7
u has ZERO mean, but a standard deviation
ANOVA
df
Regression
Residual
Total

Intercept
X Variable 1

1
5
6
Coefficients
0.071429
0.839286

Analysis of Variance.
SS
MS
F
Significance F MOST OF THE TIME THIS IS IG
19.72321429 19.72321429 32.970149
0.00224544
2.991071429 0.598214286
22.71428571
Standard Error
t Stat
P-value
Lower 95%
Upper 95%
0.653678758 0.109271673 0.917237 -1.608906169 1.751763312
0.146167014 5.741963885 0.0022454 0.463551444 1.215019985
All this is used to test hypothesis/ Coefficient=0 against not equal zero.

Column "P-value"
is the Pr{|t| > t-Stat}where t is a t-distributed random variable with n-k degree
computed value of the t-statistic given in the previous column.
Note that this p-value is for a two-sided test.
For a one-sided test divide this p-value by 2 (also checking the sign of the t-S
Columns "Lower 95%" and "Upper 95%" values define a 95% confidence inte

(yi-y_line)^2
0.168686224
0.5625
0.347257653
0.326530612
0.589604592
0.797193878
0.199298469
0.773443137
sqrt(Sr/n)= 0.653679

http://office.microsoft.com/en-us/assistance/HA011119631033.aspx

revents r^2 to grow indefinitely by adding indep. Variables


dj r^2= 1-(1-r^2)*(n-1)/(n-k-1)
(1-Adj r^2)= (1-r^2)*(n-1)/(n-k-1)
b1 + b2*x + u

Analysis of Variance.
MOST OF THE TIME THIS IS IGNORED

Lower 95.0%Upper 95.0%


-1.60890617 1.751763
0.463551444 1.21502
=0 against not equal zero.

andom variable with n-k degrees of freedom and t-Stat is the


previous column.

also checking the sign of the t-Stat).


es define a 95% confidence interval for b2.

You might also like