Announcement

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

  • male-female earnings

    I'm analyzing survey data and I need the code to get female earnings in terms of male earnings if I have lnwages and gender (male=1 female=2) as variables and across the age group (15-24 years=1, 25-35 years=2, 35+ =3 ). I tried running the pshare code but couldn't get the share (percentage) of female earnings in terms of male earnings (p25, p50, p75).

  • #2
    as a start,

    forv i = 1/3 {
    tabstat wages if agegroup==`i', by(gender)
    }

    Comment

    Working...
    X