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
Problem with asdoc table 3 wayHi all, I am continually having problem with the results with asdoc in a table 3 way, example: Co…
How to create a variable concatenating two variablesSuppose "address" is string and "year" is floating number. I would like to create something like reg…
Creating date variableHello! How could I possibly create a new date variable in the monthly format for the data example b…
interpreting interaction effects continuous by categorical variablesHi all, I am having difficulty to interpret interaction effects. I watched some videos and read for…
Nationwide inpatient sampleHi everyone, I started to learn STATA for my NIS data analysis recently. I have no experience of us…
Subscribe to:
Post Comments (Atom)
0 Response to Multi_events study command
Post a Comment