Announcement

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

  • Oaxaca RIf for QUantiles

    Dear Statalist Members,

    I am trying to estimate the Public Sector Wage Premium.
    I have done it for the mean but how can i specify a loop for quantiles from the 5th to the 95th quantiles with increments of two quantiles like; 5(2)95. I want to get the coefficient and respective stand errors for the overall gap as well as the decomposed into the structure and the composition components. Below is the code i was using for the mean. How do i modify it so it is fit the current purpose

    #code

    oaxaca_rif lwageh age age_sq tenure married sex experience experience_sq nuts3_1 nuts3_2 nuts3_3 nuts3_5 , by(public) wgt(1) rif (mean)

    #code



  • #2
    To do that you need to call oaxaxa_rif for each quantile, using a loop.
    hth

    Comment


    • #3
      Thanks i manged to do it

      Comment

      Working...
      X