Hey all, happy new year!
I have the following panel data about married couples who had their first child together, and their income:
"id" - identifier for a person
"gender" - 1 for men , 0 for women
"id_family" - identifier for a married couple, so under a unique value of "id_family" there will be two unique values of "id", for one of them all the observations will get 1 under "gender" and the other will get "0".
"event" - the years relative to the year of the birth of the first child, starts from -5 and go until 10 for every unique value of "id"
"year" - the actual year of the observation (goes from 1995 to 2018, depends on the individual but will be identical for every "id" under "id_family".
"income" - the income of the individual in the specific year of the observation.
Now I want to estimate the child penalty as "Kleven, Landais, and Søgaard did (2019, "American Economic Journal: Applied Economics") and plot it on a graph. I'm interested as a beginning in the most basic graph, just to see how the income change between the genders after the birth of the first child where the year before the birth normalize to zero.
Can someone tell me what is the beat code to do so? it will be very helpful for me.
Thank you so much already!
Fitzgerald.
I have the following panel data about married couples who had their first child together, and their income:
"id" - identifier for a person
"gender" - 1 for men , 0 for women
"id_family" - identifier for a married couple, so under a unique value of "id_family" there will be two unique values of "id", for one of them all the observations will get 1 under "gender" and the other will get "0".
"event" - the years relative to the year of the birth of the first child, starts from -5 and go until 10 for every unique value of "id"
"year" - the actual year of the observation (goes from 1995 to 2018, depends on the individual but will be identical for every "id" under "id_family".
"income" - the income of the individual in the specific year of the observation.
Now I want to estimate the child penalty as "Kleven, Landais, and Søgaard did (2019, "American Economic Journal: Applied Economics") and plot it on a graph. I'm interested as a beginning in the most basic graph, just to see how the income change between the genders after the birth of the first child where the year before the birth normalize to zero.
Can someone tell me what is the beat code to do so? it will be very helpful for me.
Thank you so much already!
Fitzgerald.
Comment