Professional Documents
Culture Documents
n
min b ,b ,b
0 1 2
i 0 1 1i 2 2i
[Y (b b X b X )]2
i1
• The OLS estimators minimize the average squared difference
between the actual values of Yi and the predicted values based
on the linear model.
• Four scenarios
• Cov(Z, Y)>0 and Cov(Z, X)>0 gives positive bias in coefficient of X
• Cov(Z, Y)<0 and Cov(Z, X)<0 gives positive bias in coefficient of X
------------------------------------------------------------------------------
crra | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
age | -.0110023 .0018369 -5.99 0.000 -.0146078 -.0073968
female | -.0047448 .0526605 -0.09 0.928 -.1081072 .0986177
IncLow | .0061799 .0645934 0.10 0.924 -.1206046 .1329644
IncHigh | -.1309954 .0659997 -1.98 0.047 -.2605402 -.0014507
skilled | .2007726 .0676065 2.97 0.003 .0680738 .3334713
longedu | .3303963 .0704457 4.69 0.000 .1921247 .4686678
_cons | .9947522 .1157919 8.59 0.000 .7674747 1.22203
------------------------------------------------------------------------------
Example with linear regression model
------------------------------------------------------------------------------
crra | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
age | -.0110023 .0018369 -5.99 0.000 -.0146078 -.0073968
female | -.0047448 .0526605 -0.09 0.928 -.1081072 .0986177
IncLow | .0061799 .0645934 0.10 0.924 -.1206046 .1329644
IncHigh | -.1309954 .0659997 -1.98 0.047 -.2605402 -.0014507
skilled | .2007726 .0676065 2.97 0.003 .0680738 .3334713
longedu | .3303963 .0704457 4.69 0.000 .1921247 .4686678
_cons | .9947522 .1157919 8.59 0.000 .7674747 1.22203
------------------------------------------------------------------------------
------------------------------------------------------------------------------
crra | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
female | .0308326 .05184 0.59 0.552 -.0709183 .1325835
young | .1001164 .0846307 1.18 0.237 -.0659957 .2662285
middle | -.3525659 .0764231 -4.61 0.000 -.5025682 -.2025636
old | -.3198506 .0720565 -4.44 0.000 -.4612822 -.178419
_cons | .8300892 .0638664 13.00 0.000 .7047329 .9554456
------------------------------------------------------------------------------
Predicted crra values for young men and women
. regress crra female young middle old
------------------------------------------------------------------------------
crra | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
female | .0308326 .05184 0.59 0.552 -.0709183 .1325835
young | .1001164 .0846307 1.18 0.237 -.0659957 .2662285
middle | -.3525659 .0764231 -4.61 0.000 -.5025682 -.2025636
old | -.3198506 .0720565 -4.44 0.000 -.4612822 -.178419
_cons | .8300892 .0638664 13.00 0.000 .7047329 .9554456
------------------------------------------------------------------------------
------------------------------------------------------------------------------
crra | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
female | .0308326 .05184 0.59 0.552 -.0709183 .1325835
young | .1001164 .0846307 1.18 0.237 -.0659957 .2662285
middle | -.3525659 .0764231 -4.61 0.000 -.5025682 -.2025636
old | -.3198506 .0720565 -4.44 0.000 -.4612822 -.178419
_cons | .8300892 .0638664 13.00 0.000 .7047329 .9554456
------------------------------------------------------------------------------
------------------------------------------------------------------------------
crra | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
female | .0308326 .05184 0.59 0.552 -.0709183 .1325835
young | .1001164 .0846307 1.18 0.237 -.0659957 .2662285
middle | -.3525659 .0764231 -4.61 0.000 -.5025682 -.2025636
old | -.3198506 .0720565 -4.44 0.000 -.4612822 -.178419
_cons | .8300892 .0638664 13.00 0.000 .7047329 .9554456
------------------------------------------------------------------------------
• Sampling distribution
• Distribution of sample mean values
• We want to:
• Generate t-statistic for test of single (one- or two-sided) hypothesis
Density
Transformation of normal distributions
.25
.15
.05
.5
.4
.3
.2
.1
.2
.1
0
0
Normal distributions
Standard normal distribution N(0,1)
-5 0 5 10 15
std_normal
-5 0 5 10 15
alt_normal
Density
.4
.3
.2
.1
Student t-distribution with large degree of freedom
0
Student t-distribution
-4 -2 0 2 4
t-value
Population and sampling distributions
2
Population distribution, 1 mill observations ~ N(200, 50)
2
Sampling distribution, sample size = 100 observations ~ N(200, 5)
------------------------------------------------------------------------------
crra | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
age | -.0109613 .0018155 -6.04 0.000 -.0145248 -.0073978
_cons | 1.14752 .0857724 13.38 0.000 .9791665 1.315873
------------------------------------------------------------------------------
F=
0 2 4 6 8
F-value
F-distribution with (2,120) degrees of freedom
0 2 4 6 8
F-value
Example with linear regression model
• Linear regression model with age, female, income and education as
independent variables assuming homoscedasticity
------------------------------------------------------------------------------
crra | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
age | -.0110023 .0018369 -5.99 0.000 -.0146078 -.0073968
female | -.0047448 .0526605 -0.09 0.928 -.1081072 .0986177
IncLow | .0061799 .0645934 0.10 0.924 -.1206046 .1329644
IncHigh | -.1309954 .0659997 -1.98 0.047 -.2605402 -.0014507
skilled | .2007726 .0676065 2.97 0.003 .0680738 .3334713
longedu | .3303963 .0704457 4.69 0.000 .1921247 .4686678
_cons | .9947522 .1157919 8.59 0.000 .7674747 1.22203
------------------------------------------------------------------------------
Example with linear regression model
• Linear regression model with age, female and education as
independent variables assuming homoscedasticity
------------------------------------------------------------------------------
crra | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
age | -.0108795 .0018387 -5.92 0.000 -.0144886 -.0072704
female | -.0097489 .0526586 -0.19 0.853 -.1131073 .0936095
skilled | .2029999 .0667915 3.04 0.002 .0719014 .3340984
longedu | .2847977 .0668483 4.26 0.000 .1535877 .4160077
_cons | .9650865 .106825 9.03 0.000 .7554102 1.174763
------------------------------------------------------------------------------
Example with linear regression model
• F-test of joint hypothesis that the two income variables
(IncLow and IncHigh) are equal to 0:
F-value = = 2.68
We cannot reject the null hypothesis that the joint marginal effect of
the two income variables is equal to 0
Example with linear regression model
• What are the implications of omitting the two income variables?
• Are the marginal effects of education on risk attitudes different across the
unrestricted and restricted models?
• We thus expect that omitting the income variables will lead to a downward
bias in the estimated coefficients for education, and this is what happens
with the coefficient on the longedu variable
Exercises
• Estimate a linear regression model on crra with female,
young, middle, old, skilled and longedu as independent
variables (assuming homoscedasticity)
• Are each of the estimated coefficients in the model significantly
different from 0?
• Are the estimated coefficients on skilled and longedu jointly
significant?
• Are the estimated coefficients on young, middle and old jointly
significant?
• Are the estimated coefficients on all the independent variables
jointly significant?
Are each of the estimated coefficients significant?
. regress crra female young middle old skilled longedu
------------------------------------------------------------------------------
crra | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
female | .0189913 .0514265 0.37 0.712 -.0819484 .1199309
young | .1783451 .0848779 2.10 0.036 .0117471 .3449431
middle | -.3600816 .0753263 -4.78 0.000 -.5079319 -.2122314
old | -.2746899 .0715047 -3.84 0.000 -.415039 -.1343407
skilled | .2593997 .0661773 3.92 0.000 .1295072 .3892922
longedu | .3510618 .0672979 5.22 0.000 .2189697 .4831538
_cons | .5791444 .0799944 7.24 0.000 .4221317 .7361571
------------------------------------------------------------------------------
------------------------------------------------------------------------------
crra | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
female | .0189913 .0514265 0.37 0.712 -.0819484 .1199309
young | .1783451 .0848779 2.10 0.036 .0117471 .3449431
middle | -.3600816 .0753263 -4.78 0.000 -.5079319 -.2122314
old | -.2746899 .0715047 -3.84 0.000 -.415039 -.1343407
skilled | .2593997 .0661773 3.92 0.000 .1295072 .3892922
longedu | .3510618 .0672979 5.22 0.000 .2189697 .4831538
_cons | .5791444 .0799944 7.24 0.000 .4221317 .7361571
------------------------------------------------------------------------------
------------------------------------------------------------------------------
crra | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
female | .0189913 .0514265 0.37 0.712 -.0819484 .1199309
young | .1783451 .0848779 2.10 0.036 .0117471 .3449431
middle | -.3600816 .0753263 -4.78 0.000 -.5079319 -.2122314
old | -.2746899 .0715047 -3.84 0.000 -.415039 -.1343407
skilled | .2593997 .0661773 3.92 0.000 .1295072 .3892922
longedu | .3510618 .0672979 5.22 0.000 .2189697 .4831538
_cons | .5791444 .0799944 7.24 0.000 .4221317 .7361571
------------------------------------------------------------------------------
------------------------------------------------------------------------------
crra | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
female | .0189913 .0514265 0.37 0.712 -.0819484 .1199309
young | .1783451 .0848779 2.10 0.036 .0117471 .3449431
middle | -.3600816 .0753263 -4.78 0.000 -.5079319 -.2122314
old | -.2746899 .0715047 -3.84 0.000 -.415039 -.1343407
skilled | .2593997 .0661773 3.92 0.000 .1295072 .3892922
longedu | .3510618 .0672979 5.22 0.000 .2189697 .4831538
_cons | .5791444 .0799944 7.24 0.000 .4221317 .7361571
------------------------------------------------------------------------------
2. is unbiased
3. The coefficient on the control variable, , is in general biased.
Implications for variable selection
• Identify the variable of interest