0% found this document useful (0 votes)
14 views3 pages

Practice Data From Week 1

This document summarizes data from a study with 5 observations of education levels (x) and earnings (y). It calculates summary statistics like the mean, variance, and standard deviation for x and y. It then performs a linear regression to estimate the relationship between education and earnings, obtaining an estimated slope (B1) of 5.55 and estimated intercept (B0) of -38.8. It reports the regression results, variance of the errors, and variance and standard error of the estimated slope parameter.

Uploaded by

t728kxtb5t
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views3 pages

Practice Data From Week 1

This document summarizes data from a study with 5 observations of education levels (x) and earnings (y). It calculates summary statistics like the mean, variance, and standard deviation for x and y. It then performs a linear regression to estimate the relationship between education and earnings, obtaining an estimated slope (B1) of 5.55 and estimated intercept (B0) of -38.8. It reports the regression results, variance of the errors, and variance and standard error of the estimated slope parameter.

Uploaded by

t728kxtb5t
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Obs edu (x) earnings (y) Xi-mean(X) Yi-mean(Y)

1 12 20 -4 -30
2 14 53 -2 3
3 16 35 0 -15
4 18 80 2 30
5 20 62 4 12
Sum 80 250
Mean 16 50

Df n n
Covariance
Variance 10 544.5
Standard Deviation 3.2 23.3
Correlation
S.E.
3 ways of estimating B1
Reg1 5.55
Reg2 5.55
Reg3 5.55 144
2 ways of estimating B0 196
Constant 1 -38.8 256
Constant 2 -38.8 324
400
1320
F-Statistic 3.91
R2 0.57
0.57

Var(error) 315.3
SE of the regression 17.76

Var(B1) 7.8825
SE(B1) 2.807579
(Xi-mean(X)) (Yi-mean(Y)) Xi-mean(X)^2 Yi-mean(Y)^2 (Yi-mean(Y))*x TSS
120 16 900 -360 900
-6 4 9 42 9
0 0 225 -240 225
60 4 900 540 900
48 16 144 240 144
40 2178 222 2178

4 4 4 n-1
55.5
10 544.5
3.1623 23.3345
0.7521
Yhat ESS RSS Residual
27.8 492.84 60.84 -7.8
38.9 123.21 198.81 14.1
50 0 225 -15
61.1 123.21 357.21 18.9
72.2 492.84 104.04 -10.2
1232.1 945.9

k-1 n-k

You might also like