Dear Carlo,
Here is my result without detrending:
After detrending:
Out of curiosity, I also ran the regression with robust SE,
Do note that the coefficient of rmt2 is my estimate of interest, and I noticed that the t-stat of it keeps getting smaller, from -8 to -7 to -5 eventually, might it be a problem?
Here is my result without detrending:
Code:
. reg log1 abs_r_mt rmt2
Source | SS df MS Number of obs = 2,418
-------------+---------------------------------- F(2, 2415) = 200.50
Model | 73.7438233 2 36.8719117 Prob > F = 0.0000
Residual | 444.111582 2,415 .183897135 R-squared = 0.1424
-------------+---------------------------------- Adj R-squared = 0.1417
Total | 517.855405 2,417 .214255443 Root MSE = .42883
------------------------------------------------------------------------------
log1 | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
abs_r_mt | .2437952 .0158073 15.42 0.000 .2127979 .2747925
rmt2 | -.0220551 .0027192 -8.11 0.000 -.0273873 -.0167229
_cons | .1940486 .0152521 12.72 0.000 .16414 .2239573
------------------------------------------------------------------------------
. estat ovtest
Ramsey RESET test using powers of the fitted values of log1
Ho: model has no omitted variables
F(3, 2412) = 5.06
Prob > F = 0.0017
. estat hettest
Breusch-Pagan / Cook-Weisberg test for heteroskedasticity
Ho: Constant variance
Variables: fitted values of log1
chi2(1) = 2.13
Prob > chi2 = 0.1441
Code:
. gen year=year(date)
. reg log1 abs_r_mt rmt2 i.year
Source | SS df MS Number of obs = 2,418
-------------+---------------------------------- F(11, 2406) = 190.18
Model | 240.853716 11 21.8957924 Prob > F = 0.0000
Residual | 277.001688 2,406 .115129546 R-squared = 0.4651
-------------+---------------------------------- Adj R-squared = 0.4627
Total | 517.855405 2,417 .214255443 Root MSE = .33931
------------------------------------------------------------------------------
log1 | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
abs_r_mt | .1538489 .0128074 12.01 0.000 .1287342 .1789636
rmt2 | -.0159789 .0021665 -7.38 0.000 -.0202274 -.0117305
|
year |
2002 | -.2130969 .0310801 -6.86 0.000 -.2740435 -.1521503
2003 | -.0671241 .0309481 -2.17 0.030 -.1278118 -.0064363
2004 | .0917492 .0309159 2.97 0.003 .0311246 .1523739
2005 | .2934731 .0309407 9.49 0.000 .2328 .3541463
2006 | .3938697 .03096 12.72 0.000 .3331586 .4545808
2007 | .67599 .0313941 21.53 0.000 .6144277 .7375523
2008 | .6037664 .0316981 19.05 0.000 .541608 .6659249
2009 | .3832097 .031109 12.32 0.000 .3222066 .4442129
2010 | .2179331 .0309532 7.04 0.000 .1572354 .2786308
|
_cons | .0458146 .0234033 1.96 0.050 -.0000781 .0917073
------------------------------------------------------------------------------
. estat ovtest
Ramsey RESET test using powers of the fitted values of log1
Ho: model has no omitted variables
F(3, 2403) = 3.18
Prob > F = 0.0230
. estat hettest
Breusch-Pagan / Cook-Weisberg test for heteroskedasticity
Ho: Constant variance
Variables: fitted values of log1
chi2(1) = 3.40
Prob > chi2 = 0.0652
.
Code:
. reg log1 abs_r_mt rmt2 i.year, robust
Linear regression Number of obs = 2,418
F(11, 2406) = 186.33
Prob > F = 0.0000
R-squared = 0.4651
Root MSE = .33931
------------------------------------------------------------------------------
| Robust
log1 | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
abs_r_mt | .1538489 .0151115 10.18 0.000 .124216 .1834818
rmt2 | -.0159789 .0030179 -5.29 0.000 -.0218968 -.0100611
|
year |
2002 | -.2130969 .0325236 -6.55 0.000 -.276874 -.1493198
2003 | -.0671241 .0322656 -2.08 0.038 -.1303952 -.0038529
2004 | .0917492 .0288353 3.18 0.001 .0352047 .1482937
2005 | .2934731 .0324003 9.06 0.000 .2299377 .3570086
2006 | .3938697 .0302312 13.03 0.000 .3345879 .4531515
2007 | .67599 .0304858 22.17 0.000 .6162088 .7357712
2008 | .6037664 .0305015 19.79 0.000 .5439545 .6635784
2009 | .3832097 .0299544 12.79 0.000 .3244707 .4419487
2010 | .2179331 .0302593 7.20 0.000 .1585962 .27727
|
_cons | .0458146 .0234242 1.96 0.051 -.000119 .0917482
------------------------------------------------------------------------------
. estat ovtest
Ramsey RESET test using powers of the fitted values of log1
Ho: model has no omitted variables
F(3, 2403) = 3.18
Prob > F = 0.0230

Comment