Announcement

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

  • Oaxaca_Rif noisily and relax commands

    Hi

    I am trying to run a oaxaca_rif to determine the gap between people who have medical aid and those who do not (for a specific health outcome) but I keep getting an error message:

    dropped coefficients or zero variances encountered
    specify -noisily- to view model estimation output
    specify -relax- to ignore

    This is my code:

    #delimit ;
    oaxaca_rif ereturn list wasted normalize(b.decomp_new_race1 decomp_new_race2 decomp_new_race3) normalize(decomp_gen1 b.decomp_gen2)
    normalize(decomp_agecat1 b.decomp_agecat2 decomp_agecat3)
    normalize(b.geo20111 geo20112 geo20113) normalize(decomp_MOMeducation1 decomp_MOMeducation2 decomp_MOMeducation3 b.decomp_MOMeducation4 decomp_MOMeducation5 decomp_MOMeducation6) ,
    rif(eindex(inc_percap) lb(0) ub(1)) by(medical_aid) ;
    #delimit cr

    I do not know how to use either the noisily or relax command (I have tried) and would appreciate any assistance.

    Thank you.

  • #2
    oaxaca_rif is from SSC (FAQ Advice #12), part of the rif package. -noisily- and -relax- are options of oaxaca_rif, so you place them after the comma following the command line.

    Code:
    #delimit ;
    oaxaca_rif ereturn list wasted normalize(b.decomp_new_race1 decomp_new_race2 decomp_new_race3) normalize(decomp_gen1 b.decomp_gen2)
    normalize(decomp_agecat1 b.decomp_agecat2 decomp_agecat3)
    normalize(b.geo20111 geo20112 geo20113) normalize(decomp_MOMeducation1 decomp_MOMeducation2 decomp_MOMeducation3 b.decomp_MOMeducation4 decomp_MOMeducation5 decomp_MOMeducation6) ,
    rif(eindex(inc_percap) lb(0) ub(1)) by(medical_aid) noisily relax ;
    #delimit cr
    Last edited by Andrew Musau; 12 Nov 2024, 09:46.

    Comment

    Working...
    X