Good afternoon all friends. I have a problem in running multi_events in STATA.
My problem: I have analyzed 7 companies with 3 events: 30 AUG 2008; 17 DEC 2008 and 19 DEC 2008. I follow this link https://dss.princeton.edu/online_hel...ventstudy.html and everything go well until this command:
egen td=min(target), by(company_id)
It makes the regression just analyze the min value as the earliest date: 30 AUG 2008. Could you give me an advice to analyze all 3 date events?
I add 2 my file and command.do file bellow. Could you review it when you have free time? Thank you very much!
Regards
Tony Tuan
Related Posts with Multi_events study command
Date format questionHello, I'm trying to merge two datasets using a variable called sur_mon_yr that is month/year. E.g. …
Minor bug in command -kapci-Dear all I have great use of -kapci- Without success I've tried to find a way of contacting the au…
destring, ignoreI have been trying for hours and also searching for assistance on using the destring, ignore command…
Loop over variable with placeholderHello, while trying some thing out, I got an error message for the following loop: local recode2 h…
How to use e in stata?Hello every one. How can i run this equation in stata? 1/(1+e-x) I can calculate x separately, …
Subscribe to:
Post Comments (Atom)
0 Response to Multi_events study command
Post a Comment