Announcement

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

  • An error occurred when bootstrap executed oaxaca_rif

    Dear all,
    Now I am obeserving whether home-school communication could affect children's academic performance. So talkstudy here is the independent variable and I try the oaxaca_rif method.
    When running with bootstrap, it shows 'an error occured' with r(3498). And I have no idea of that.

    . bootstrap, reps(500) seed(10101): ///
    > oaxaca_rif stdchn $xlist normalize(ecolevel1-ecolevel5) normalize(scoreexp1-scoreexp4) normalize(pressure1-pressure5) normalize(helpstudy1-helpstudy5) normalize(title1-ti
    tle5) if year==2016, ///
    > rif(mean) by(talkstudy) weight(0) ///
    > rwlogit(ecolevel1-ecolevel5 betteredu talknum) relax
    (running oaxaca_rif on estimation sample)
    an error occurred when bootstrap executed oaxaca_rif
    r(3498);

    Are there any problems in my command? How to solve this strange error?

    Thanks for any help.

    Li

  • #2
    Hi Li
    Could you share few more details:
    What happens when you use Oaxaca_rif without bootstrap?
    What if you drop "relax" option?
    If you try doing the same with some of the examples in the helpfile, do you get the same problem?
    Thank you
    F

    Comment


    • #3
      Originally posted by FernandoRios View Post
      Hi Li
      Could you share few more details:
      What happens when you use Oaxaca_rif without bootstrap?
      What if you drop "relax" option?
      If you try doing the same with some of the examples in the helpfile, do you get the same problem?
      Thank you
      F
      Thank you very much for help, Professor.
      I restarted my programme just now and tried examples in the helpfile, that is ok.
      I also have one question about my research design-- Is it reasonable to set an exdogenous dummy variable to divide into two groups in Oxaca method? I have also tried eregress and xteregress, and I do hope further observe the quantile in my model.

      Li

      Comment


      • #4
        valid? yes. I can see doingthat if you were to compare, say, wage gaps between men and women, but across different race groups.
        Not sure, however, why do you refer to eregress or xteregress. Perhaps the model you have in mind is different from standard models?

        Comment

        Working...
        X