You are on page 1of 2

.

xtset id year
panel variable: id (strongly balanced)
time variable: year, 87 to 93, but with gaps
delta: 1 unit

. reg cmrdrte cexec cunem, nocons vce(robust)

Linear regression Number of obs = 102


F( 2, 100) = 5.49
Prob > F = 0.0055
R-squared = 0.0065
Root MSE = 4.3803

Robust
cmrdrte Coef. Std. Err. t P>|t| [95% Conf. Interval]

cexec -.1123983 .0343482 -3.27 0.001 -.1805441 -.0442525


cunem -.0482301 .1405122 -0.34 0.732 -.3270023 .2305421

. reg cexec cexec_1 cunem

Source SS df MS Number of obs = 51


F( 2, 48) = 20.09
Model 281.429488 2 140.714744 Prob > F = 0.0000
Residual 336.217571 48 7.00453273 R-squared = 0.4556
Adj R-squared = 0.4330
Total 617.647059 50 12.3529412 Root MSE = 2.6466

cexec Coef. Std. Err. t P>|t| [95% Conf. Interval]

cexec_1 -1.08241 .1707822 -6.34 0.000 -1.42579 -.7390289


cunem .0400493 .3892505 0.10 0.918 -.7425912 .8226898
_cons .3139609 .5116532 0.61 0.542 -.7147868 1.342709

. predict cexec_hat
(option xb assumed; fitted values)
(102 missing values generated)
. reg cmrdrte cunem cexec_hat

Source SS df MS Number of obs = 51


F( 2, 48) = 1.23
Model 3.04783663 2 1.52391832 Prob > F = 0.3028
Residual 59.7125514 48 1.24401149 R-squared = 0.0486
Adj R-squared = 0.0089
Total 62.760388 50 1.25520776 Root MSE = 1.1154

cmrdrte Coef. Std. Err. t P>|t| [95% Conf. Interval]

cunem -.0667262 .164058 -0.41 0.686 -.3965869 .2631345


cexec_hat -.1000972 .0664927 -1.51 0.139 -.2337896 .0335953
_cons .4109659 .2185515 1.88 0.066 -.0284613 .8503932

. ivreg cmrdrte cunem ( cexec= cexec_1)

Instrumental variables (2SLS) regression

Source SS df MS Number of obs = 51


F( 2, 48) = 1.31
Model 6.87925253 2 3.43962627 Prob > F = 0.2796
Residual 55.8811355 48 1.16419032 R-squared = 0.1096
Adj R-squared = 0.0725
Total 62.760388 50 1.25520776 Root MSE = 1.079

cmrdrte Coef. Std. Err. t P>|t| [95% Conf. Interval]

cexec -.1000972 .0643241 -1.56 0.126 -.2294293 .029235


cunem -.0667262 .1587074 -0.42 0.676 -.3858289 .2523764
_cons .410966 .2114237 1.94 0.058 -.0141298 .8360617

Instrumented: cexec
Instruments: cunem cexec_1

You might also like