Pset 7
Pset 7
1
2
3
Problem 1
Problem 2
Part a.
Part b.
Part c.
Suppose there are nt number of workers with height > 67, and suppose there are ns number of workers
with height 67.
1 P 1 P
Let nt Eitall = Ē tall denote the sample mean of tall workers, and let nt Eishort = Ē short denote
the sample mean of short workers.
Let E[Eitall ] = µtall denote the population mean of tall workers, and let E[Eishort ] = µshort denote the
population mean of short workers.
H0 : µtall
0 µshort
0 = 0 vs. H1 : µtall
1 µshort
1 6= 0
where µtall
0 µshort
0 , and
✓P ◆
1 (Eitall Ē tall )2
SE(Ē tall )2 = nt = nt 1 ˆtall
2
nt 1
4
✓P ◆
(Eishort Ē short )2
SE(Ē short )2 = ns 1 = ns 1 ˆshort
2
ns 1
= 13.6
which leads to a rejection of the null hypothesis at the .001 = .1% level. Hence, we conclude that
earnings are different for tall and short workers. Keep in mind, however, that this does not necessarily
imply that earnings are caused by the difference in height.
Part d.
Problem 3
Part a.
Part b.
ˆ
earnings = ˆ0 + ˆ1 height
5
When height is 70, predicted earnings are
Part c.
The robust standard error of ˆ1 is 50.395, and the 95% confidence interval is
Problem 4
Part a.
The estimated slope is ˆ1f emale = 511, and the estimated intercept is 12650.9. The standard error of
the slope is 97.6, and the 95% confidence interval is
Part b.
The estimated slope is ˆmale = 1307, and the estimated intercept is -43130. The standard error of the
slope is 98.9, and the 95% confidence interval is
Part c.
which leads to a rejection of the null hypothesis at the .001 = .1% level.
6
Alternatively, you could have estimated the equation
where sex ⇥ height is an “interaction” term which takes on the value of height when sex = 1 is male,
and takes on the value of 0 when sex = 0 is female. Then you would have gotten an estimate of
ˆ3 = 795.6 with a robust standard error of SE( ˆ3 ) = 138.91, leading to a t-statistic of 5.73.
Problem 5
Unless this is a very special dataset, there can be many factors that are correlated with height and
affect earnings. For example: race, geography, nutrition, parents’ wealth, etc.