Announcement

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

  • Unable to display first-stage estimates; macro e(first) is missing

    Hello everyone, I use this code using the data panel, but the results don't come out and it says that Unable to display first-stage estimates; macro e(first) is missing
    thank you in advance

    eststo model_1: regress short_phys ever_attend_tk, vce(robust)

    eststo model_2: regress short_phys hhsize yos mother_work gender birthwt jawa pulau_jawa citizens Askeskin_receiver ever_attend_tk, vce(robust)

    eststo model_3: ivreg2 short_phys ///
    (ever_attend_tk = zwealth), robust first

    eststo model_4: ivreg2 short_phys hhsize yos mother_work gender birthwt jawa pulau_jawa citizens Askeskin_receiver ever_attend_tk ///
    (ever_attend_tk = zwealth), robust first

    esttab model_1 model_2 model_3 model_4 using "TK_2013.rtf", replace label se(3) b(3) star(* 0.1 ** 0.05 *** 0.01) r2(3) obslast

    eststo model_5: ivreg2 short_phys ///
    (ever_attend_tk = zwealth), robust first savefirst savefp(first)
    estout*
    esttab first* using "TK_2013.rtf", replace label se(3) b(3) star(* 0.1 * 0.05 *** 0.01) keep(zwealth) r2(3) obslast

    eststo model_6: ivreg2 short_phys hhsize yos mother_work gender birthwt jawa pulau_jawa citizens Askeskin_receiver ever_attend_tk ///
    (ever_attend_tk = zwealth), robust first savefirst savefp(first)
    estout*
    esttab first* using "TK_2013.rtf", append label se(3) b(3) star(* 0.1 ** 0.05 *** 0.01) keep(zwealth) r2(3) obslast

  • #2
    estout is from SSC (FAQ Advice #12). You should show the actual Stata output. I don't see anything obviously wrong, does the following work for you?

    Code:
    webuse hsng2,clear
    eststo: ivreg2 rent pcturban (hsngval hsnggrow = faminc i.region), first savefirst savefprefix(st1)
    esttab st1*, nobaselevels
    If not, update estout.

    Code:
    ssc install estout, replace

    Comment


    • #3
      just realized I put ever_attend_tk twice here:
      eststo model_4: ivreg2 short_phys hhsize yos mother_work gender birthwt jawa pulau_jawa citizens Askeskin_receiver ever_attend_tk ///
      (ever_attend_tk = zwealth), robust first

      thank you for your help!!!

      and anyway I have another question when i ran this code
      asdoc ivreg2 short_phys (ever_attend_tk = zwealth), save(Endogenity.doc)

      there always appears 5.503657307613117, not found
      r(111);

      any solution?
      thank you so much!

      Comment


      • #4
        Sorry, I do not use asdoc from SSC to output regression results, so I do not have an answer for you. Start a new thread with asdoc in the title and users of that command may be able to help you.

        Comment

        Working...
        X