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
merge command in a loopHello! I have a dataset that I want to merge with a sequence of files that correspond to individual…
Can someone help?! Can not get the mean of observations vertically! (with missing values)I have several financial metrics for about 60,000 stocks (+2.5M observations), and a sample of my Re…
horizontal bargraph with multiple binary variablesDear all, I am quite stuck with some descriptive statistics. I have a household survey with binary …
Databases mergeHi all, so, this is a quite border line question. Hence, sorry if it is out of topic a bit. The de…
egen var1= count(var), by(id quarter) - generating missing valuesHello, I have a dataset which is organised by id and quarter. I want to create a variable, based on…
Subscribe to:
Post Comments (Atom)
0 Response to Graph of event study with interaction term
Post a Comment