Economic news and the impact of trading on bond prices. I am trying to estimate equation 2 in his paper.
Green's model is based on Madhavan, Richardson, and Roomans (1997) paper (Review of Financial Studies 10, 1035-1064.
Can you please tell me what I am doing wrong? Standard errors and t statistics for Rv coefficient is not produced. I need to estimate the model with GMM. MRR argues that it would be better to estimate with GMM. I can post these papers if you want me to. Thank you, Onem
Here is my program and results:
Code: Select all
*A=1 if transaction is buyer initiated and A=-1 if trade is seller initiated.
*L1A is last A.
*TrPrice is transaction price and L1TrPrice is last transaction price.
set Ret = 100*log(TrPrice/L1TrPrice)
set Ret = 1000*Ret
*
*
nonlin KV TV RV
*
frml MRR Ret = (KV+TV)*A-(KV+RV*TV)*L1A
*
*
linreg Ret
# A L1A
*
compute KV=%beta(1)*0.5
compute TV=%beta(1)*0.5
compute RV=0.5
*
instruments constant Ret{2 to 5} A{2 to 5}
*
nlls(PMETHOD=simplex,PITERS=10,METHOD=GAUSS,inst,optimal,trace,frml=MRR) Ret
Linear Regression - Estimation by Least Squares
Dependent Variable RET
Usable Observations 1778679
Degrees of Freedom 1778677
Centered R^2 0.1720066
R-Bar^2 0.1720061
Uncentered R^2 0.1720085
Mean of Dependent Variable 0.0055888717
Std Error of Dependent Variable 3.7038836737
Standard Error of Estimate 3.3703181945
Sum of Squared Residuals 20204071.608
Log Likelihood -4684942.8910
Durbin-Watson Statistic 2.1939
Variable Coeff Std Error T-Stat Signif
*************************************************************************************
1. A 1.510307256 0.002566376 588.49795 0.00000000
2. L1A -0.647940378 0.002566376 -252.47285 0.00000000
Simplex Optimization, Trial 0. Function Calls: 4
Old Function = 3935.609187 New Function = 3772.618781
New Coefficients:
0.755154 0.679638 0.500000
Simplex Optimization, Trial 1. Function Calls: 6
Old Function = 3772.618781 New Function = 3593.108769
New Coefficients:
0.679638 0.679638 0.600000
...
Simplex Optimization, Trial 58. Function Calls: 115
Old Function = 2456.168287 New Function = 2446.621522
New Coefficients:
0.672546 -0.663959 0.600750
Simplex Optimization, Trial 60. Function Calls: 118
Old Function = 2446.621522 New Function = 2444.200720
New Coefficients:
0.641206 -0.712687 0.596366
Simplex Optimization, Trial 62. Function Calls: 122
Old Function = 2444.200720 New Function = 2442.996142
New Coefficients:
0.652400 -0.695724 0.588318
Non-Linear Optimization, Iteration 0. Function Calls 125.
Cosine of Angle between Direction and Gradient 0.2649041. Alpha used was 0.000000
Adjusted squared norm of gradient 1.9375
Diagnostic measure (0=perfect) 0.0000
Subiterations 1. Distance scale 1.000000000
Old Function = 2442.996142 New Function = 2441.259445
New Coefficients:
0.642880 -0.727518 0.588318
Non-Linear Optimization, Iteration 1. Function Calls 127.
Cosine of Angle between Direction and Gradient 0.5671303. Alpha used was 0.000000
Adjusted squared norm of gradient 1.907987
Diagnostic measure (0=perfect) 0.7000
Subiterations 1. Distance scale 1.000000000
Old Function = 44.845186 New Function = 42.987933
New Coefficients:
0.655094 -0.523148 0.588318
Non-Linear Optimization, Iteration 2. Function Calls 129.
Cosine of Angle between Direction and Gradient 0.2359073. Alpha used was 0.000000
Adjusted squared norm of gradient 0.0001497426
Diagnostic measure (0=perfect) 0.4200
Subiterations 1. Distance scale 1.000000000
Old Function = 44.087863 New Function = 44.087707
New Coefficients:
0.654841 -0.521565 0.588318
Non-Linear Optimization, Iteration 3. Function Calls 131.
Cosine of Angle between Direction and Gradient 0.2336698. Alpha used was 0.000000
Adjusted squared norm of gradient 5.243121e-009
Diagnostic measure (0=perfect) 0.2520
Subiterations 1. Distance scale 1.000000000
Old Function = 44.094143 New Function = 44.094143
New Coefficients:
0.654839 -0.521556 0.588318
GMM-Continuously Updated Weight Matrix - Estimation by Gauss-Newton
Convergence in 3 Iterations. Final criterion was 0.0000091 <= 0.0000100
Dependent Variable RET
Usable Observations 1778674
Degrees of Freedom 1778671
Mean of Dependent Variable 0.0055756956
Std Error of Dependent Variable 3.7038749710
Standard Error of Estimate 3.6333416051
Sum of Squared Residuals 23480540.413
J-Specification(7) 44.0941
Significance Level of J 0.0000002
Durbin-Watson Statistic 2.1814
Variable Coeff Std Error T-Stat Signif
************************************************************************************
1. KV 0.654839007 0.033694981 19.43432 0.00000000
2. TV -0.521556067 0.153608657 -3.39536 0.00068539
3. RV 0.588317639 0.000000000 0.00000 0.00000000