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
Sum Data from multiple variablesHello, I'm trying to create a new variable that is equal to the sum of several other variables. The…
Panel data with missing valuesHi everyone, I am wondering if anyone can suggest a method to analyze data in the following format: …
Resetting IndexHello, I have a panel dataset containing three vars: nation, year, and a variable called 'event' wh…
Forest plots - how do I move the null reference line in meta forest?Hi, I am trying to make a Forest plot of odds ratios. The studies cannot be combined, I'm only tryi…
Calculating sample size with more parametersHello, I am trying to calculate sample size with the parameters below. I used the code below to cal…
Subscribe to:
Post Comments (Atom)
0 Response to Multi_events study command
Post a Comment