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
How to fix error "outcome does not vary" for OR and logistic regressionDear all, I have been struggling to solve this. I imported data from excel file. And have a variabl…
creating a matrix in stata helpHello Stata Experts this forum has been helpful to me thank you so much i`m back with another issue …
Forecasting estimation with panel data.I try to do forecasting estimation with panel data. I want to estimate GINI under the impact of covi…
Clear all commandGood morning, I am now doing a do_file but I noticed that if I run the whole do file I get different…
Obtaining a list of user-defined programsDear Statalisters, I would like to obtain a list of user-defined programs currently in memory (prog…
Subscribe to:
Post Comments (Atom)
0 Response to Multi_events study command
Post a Comment