In the attached image I have the time_to_treat variable where if time_to_treat = -1 after that every value is the lead and before -1 everything is lag. This is a way of doing event study.
Could anyone tell me how can I do the joint significance of some selected values of time_to_treat variable like a F-test for coefficients? Whenever I'm trying to do the joint significance it's providing me an error.
In the following section I'm providing my data so that it would be easier to give me a feedback on this.
. dataex time_to_treat coef se
----------------------- copy starting from the next line -----------------------
[CODE]
* Example generated by -dataex-. For more info, type help dataex
clear
input float(time_to_treat coef se)
-24 .008508598 .005053634
-23 .0022498965 .0045150574
-22 .0013960946 .004846417
-21 .002219392 .004902562
-20 .0020763692 .004785649
-19 .006928295 .004210821
-18 .0027256764 .004483498
-17 -.00321555 .005539487
-16 -.008326484 .005001508
-15 -.01394333 .007769032
-14 -.0017484284 .0043266085
-13 .00001703563 .006014496
-12 .0008115402 .003706033
-11 -.012659636 .00606336
-10 -.01776172 .006103916
-9 -.015083795 .0070582
-8 -.013199518 .007084396
-7 -.011645027 .005474801
-6 -.009051482 .003864478
-5 -.0006222086 .0034474526
-4 .0011750647 .0024080195
-3 .0014252485 .002636254
-2 .002093018 .0017095497
-1 0 0
0 -.0009728096 .0012391168
1 -.0019464534 .0019846538
2 -.000770941 .002230628
3 -.001301857 .002529583
4 .0017778093 .003131443
5 -.00698993 .002825085
6 -.005874823 .0034410385
7 -.009891002 .005276658
8 -.0135705 .005358401
9 -.0199844 .007074628
10 -.02002133 .007729002
11 -.0178371 .006769186
12 -.006262023 .00446658
13 -.0088388445 .0045080045
14 -.00482809 .004252179
15 -.0044788974 .005194928
16 -.00049108505 .005439484
17 -.004579766 .0046234056
18 -.00701394 .0042848717
19 -.006032526 .004182411
20 -.003769428 .004684277
21 -.00958967 .005299903
22 .0003095985 .004741376
Could anyone tell me how can I do the joint significance of some selected values of time_to_treat variable like a F-test for coefficients? Whenever I'm trying to do the joint significance it's providing me an error.
In the following section I'm providing my data so that it would be easier to give me a feedback on this.
. dataex time_to_treat coef se
----------------------- copy starting from the next line -----------------------
[CODE]
* Example generated by -dataex-. For more info, type help dataex
clear
input float(time_to_treat coef se)
-24 .008508598 .005053634
-23 .0022498965 .0045150574
-22 .0013960946 .004846417
-21 .002219392 .004902562
-20 .0020763692 .004785649
-19 .006928295 .004210821
-18 .0027256764 .004483498
-17 -.00321555 .005539487
-16 -.008326484 .005001508
-15 -.01394333 .007769032
-14 -.0017484284 .0043266085
-13 .00001703563 .006014496
-12 .0008115402 .003706033
-11 -.012659636 .00606336
-10 -.01776172 .006103916
-9 -.015083795 .0070582
-8 -.013199518 .007084396
-7 -.011645027 .005474801
-6 -.009051482 .003864478
-5 -.0006222086 .0034474526
-4 .0011750647 .0024080195
-3 .0014252485 .002636254
-2 .002093018 .0017095497
-1 0 0
0 -.0009728096 .0012391168
1 -.0019464534 .0019846538
2 -.000770941 .002230628
3 -.001301857 .002529583
4 .0017778093 .003131443
5 -.00698993 .002825085
6 -.005874823 .0034410385
7 -.009891002 .005276658
8 -.0135705 .005358401
9 -.0199844 .007074628
10 -.02002133 .007729002
11 -.0178371 .006769186
12 -.006262023 .00446658
13 -.0088388445 .0045080045
14 -.00482809 .004252179
15 -.0044788974 .005194928
16 -.00049108505 .005439484
17 -.004579766 .0046234056
18 -.00701394 .0042848717
19 -.006032526 .004182411
20 -.003769428 .004684277
21 -.00958967 .005299903
22 .0003095985 .004741376
Comment