Hello everyone
I am using the powerful command, eventstudy2 (Thomas Kaspereit, 2020) for a global event study. I was surprised to find that Stata does not generate results for all Mondays but works well for other dates. For every Monday, there is no result for [0,0] and [0,1], but have results for [-1,0]. I have tried many specifications but have not found a good solution. This is my code:
eventstudy2 security_id date using RT_F, ret(security_returns) model(FM) marketfile(RMT) marketreturns(market_returns) idmar(market_id) evwlb(-1)evwub(5) eswlb(-200) eswub(-30) minesw(30) shift(3) car1LB(0) car1UB(0) car2LB(0) car2UB(1) car3LB(0) car3UB(2) car4LB(0) car4UB(3) car5LB(0) car5UB(4) car6LB(0) car6UB(5) car7LB(-1) car7UB(0) car8LB(-1) car8UB(1)
Thanks in advance!
Best wishes,
Lynn
Related Posts with eventstudy2: why my command neglects results of Mondays?
Some questions about Correlation Random Effect ModelDear Statalisters: Thanks for reading it! I'm using a two-period panel data to figure out the impa…
Update to -addplot- available from SSCaddplot now has a nodraw option to prevent refreshing the graph window each time addplot is called. …
Bootstrapping across multiple lines of codeI am trying to do a bootstrap exercise where I run a regression for each bootstrap and then compute …
How can I make these codes more compact using foreach/forvalues/local etc.?Hi everyone, I am sure there must have been a way to make the following codes more compact but no m…
How to insert a blank line by group* Example generated by -dataex-. For more info, type help dataex clear input str1 var1 float group "…
Subscribe to:
Post Comments (Atom)
0 Response to eventstudy2: why my command neglects results of Mondays?
Post a Comment