Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Estimation of the Child Penalty

    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.

  • #2
    Fitzgerald;
    this is the kind of queries that are not easy to reply, as the imply a deep knowledge of the paper you mentioned (Supplemental material included).
    That said:
    1) see -xtset-;
    2) see -xtivreg-.

    In addition:
    1) as per FAQ, please provide full reference of the sources you mention. Thanks;
    2) read (and act on) the FAQ again on how to post more effectively. Thanks.
    Kind regards,
    Carlo
    (StataNow 18.5)

    Comment


    • #3
      Originally posted by Carlo Lazzaro View Post
      Fitzgerald;
      this is the kind of queries that are not easy to reply, as the imply a deep knowledge of the paper you mentioned (Supplemental material included).
      That said:
      1) see -xtset-;
      2) see -xtivreg-.

      In addition:
      1) as per FAQ, please provide full reference of the sources you mention. Thanks;
      2) read (and act on) the FAQ again on how to post more effectively. Thanks.
      Alright Carlo,

      Thank you for your consideration.

      Fitzgerald

      Comment

      Working...
      X