TomDoan wrote:No. You can't do an EXCLUDE after a SUR (since the regressors aren't necessarily unique). You need to do TEST(ZEROS) instead. And
TEST(ZEROS)
# 1
only tests the first coefficient in the model as a whole, not a joint test of both. You would need
TEST(ZEROS)
# 1 4
for that, and similarly for the other tests. (BTW, the GROUP instruction has no effect---everything will be based upon the SUR instruction that you already did).
Hi Tom, could you please help me understand why I am getting the following error messages ?
Null Hypothesis : The Following Coefficients Are Zero
OPP Lag(s) 0
## X13. Redundant Restrictions. Using 14 Degrees, not 25
Chi-Squared(14)= 40620.992453 or F(14,*)= 2901.49946 with Significance Level 0.00000000
Null Hypothesis : The Following Coefficients Are Zero
SENTI Lag(s) 0
## X13. Redundant Restrictions. Using 17 Degrees, not 25
Chi-Squared(17)=2451868.063198 or F(17,*)= 144227.53313 with Significance Level 0.00000000
OPP and SENTI are two explanatory variables. I do not understand why for OPP the program uses 14 degree but for SENTI the program uses 17 degree. Thank you in advance.
Here are my codes
Code: Select all
linreg(def=1) r11
# constant mkt opp senti
linreg(def=2) r12
# constant mkt opp senti
linreg(def=3) r13
# constant mkt opp senti
linreg(def=4) r14
# constant mkt opp senti
linreg(def=5) r15
# constant mkt opp senti
linreg(def=6) r21
# constant mkt opp senti
linreg(def=7) r22
# constant mkt opp senti
linreg(def=8) r23
# constant mkt opp senti
linreg(def=9) r24
# constant mkt opp senti
linreg(def=10) r25
# constant mkt opp senti
linreg(def=11) r31
# constant mkt opp senti
linreg(def=12) r32
# constant mkt opp senti
linreg(def=13) r33
# constant mkt opp senti
linreg(def=14) r34
# constant mkt opp senti
linreg(def=15) r35
# constant mkt opp senti
linreg(def=16) r41
# constant mkt opp senti
linreg(def=17) r42
# constant mkt opp senti
linreg(def=18) r43
# constant mkt opp senti
linreg(def=19) r44
# constant mkt opp senti
linreg(def=20) r45
# constant mkt opp senti
linreg(def=21) r51
# constant mkt opp senti
linreg(def=22) r52
# constant mkt opp senti
linreg(def=23) r53
# constant mkt opp senti
linreg(def=24) r54
# constant mkt opp senti
linreg(def=25) r55
# constant mkt opp senti
sur(robust, lags=5) 25 /
# 1 1
# 2 2
# 3 3
# 4 4
# 5 5
# 6 6
# 7 7
# 8 8
# 9 9
# 10 10
# 11 11
# 12 12
# 13 13
# 14 14
# 15 15
# 16 16
# 17 17
# 18 18
# 19 19
# 20 20
# 21 21
# 22 22
# 23 23
# 24 24
# 25 25
test(zeros)
# 1 5 9 13 17 21 25 29 33 37 41 45 49 53 57 61 65 69 73 77 81 85 89 93 97
test(zeros)
# 2 6 10 14 18 22 26 30 34 38 42 46 50 54 58 62 66 70 74 78 82 86 90 94 98
test(zeros)
# 3 7 11 15 19 23 27 31 35 39 43 47 51 55 59 63 67 71 75 79 83 87 91 95 99
test(zeros)
# 4 8 12 16 20 24 28 32 36 40 44 48 52 56 60 64 68 72 76 80 84 88 92 96 100