Dear Clyde and All,
I would like to graph an event study with an interaction term. I am performing an event study where the dependent variable is earnings and the 'event' is the first ten years of motherhood (where i.event_indicator==1). I have interacted this event indicator with a standardised measure of a norm-related statement originally recorded on a Likert scale (this measure is indicated by c.intstandnorm1). i.agepart is fixed effects of age to counter against life-cycle trends. i.wave is fixed effects of years to counter business-cycle trends. Dif !=-1 means I remove the year directly before giving birth as this is my reference point. Here is my equation:
reg marketincpart c.intstandnorm1##i.event_indicator i.agepart i.wave if dif !=-1
I have attached the results of the above equation. I would like my graph to resemble those found in Kleven, Landais and Sogaard (2019) (also see attachment). I would like the event study graph to have one line for those at the 10th percentile of the norm measure and one line for those at the 90th percentile of the norm measure. In this way, I can see how different values of the norm measure affect earnings differently post-birth. I am stumped how to do this and would really appreciate some help.
Best regards,
Jane Wakeford
Related Posts with Graph of event study with interaction term
questions about the command "tab" and "putexcel" for panel dataHello everyone, I am Quan. My dataset is the export value of a country (divided into 6 digit code HS…
Estimating exponentiated coefficients in the xtitsa modelsUsing the xtitsa command, I want to analyze the panel count data as follows. xtitsa y x1 x2, single…
Deleting ID that is not present in both datasets for Panel DataHi, I am interested in doing regression analysis with panel data.The data I've chosen is in 2 waves…
Stacked bar graph for a binary and a categorical variableHi. I have a binary variable, OC, and a categorical variable Department. Department has 16 categorie…
Announcement of the Stata Journal Editors’ Prize 2023Stata Journal 23(1) released last week carries an invitation to nominate for the Editors' Prize in 2…
Subscribe to:
Post Comments (Atom)
0 Response to Graph of event study with interaction term
Post a Comment