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
Estimation using only one out of many categorical variables without dropping the restDear members, My dataset contains 4 countries and I'd like to run a regression using only one of th…
Creating a forvalue with several i (or; Generating a new variable with forvalue)Dear all, I'm trying to create several variables, called Pv1, PV2, PV3, PV4, PV5. I could explain a…
Choice models -cmxtmixlogit- command for including random parameter for one of the alternatives (the base/status quo alternative)I am having trouble with the new stata 16 cmxtmixlogit command. I am trying to estimate a choice mo…
Margin effects with multinomial logistic regressionHi dear Statalisters, I am running a mlogit model with interaction effects between categorical vari…
Moderation effectHi Everyone, I am running a panel model using population averaged model. I have different hypothese…
Subscribe to:
Post Comments (Atom)
0 Response to Multi_events study command
Post a Comment