Announcement

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

  • Outreg 2 not showing correct coefficients

    Hello Everyone,

    I have run the following probit regression:

    Code:
    probit vocationaltraining hhsize gender literacy uneduc_adults mfs_use loan totalsavings remitt totalassets mobile1 barisal chittagong khulna rajshahi rangpur sylhet members_in_agri agrishock distfacility3, robust
    mfx

    outreg2 using F:\UDOY\Stata\405_Paper\results, word

    But when I open my word file, the results i get is from the first probit model. But I want to coefficiens of the mfx. The output file is not showing the results of the mfx.
    Last edited by Kazi Aiman Udoy; 09 Feb 2023, 20:06.

  • #2
    Use margins with the post option instead of mfx.

    Comment


    • #3
      Dimitriy V. Masterov

      It's working. Still showing the results of first regression. Not showing the results of mfx.

      Comment


      • #4
        Can you post your revised code?

        Comment


        • #5
          Here is the code I applied:

          probit vocationaltraining hhsize gender literacy uneduc_adults mfs_use loan totalsavings remitt totalassets mobile1 barisal chittagong khulna rajshahi rangpur sylhet members_in_agri agrishock distfacility3, robust
          margins, dydx (*)
          outreg2 using F:\UDOY\Stata\405_Paper\results, word

          Comment


          • #6
            Use the post option with margins:

            Code:
            margins, dydx(*) post
            This turns the output of margins into estimation results, which makes it visible to outreg2.
            Last edited by Dimitriy V. Masterov; 09 Feb 2023, 22:40.

            Comment


            • #7
              Dimitriy V. Masterov

              Thanks a lot man. You helped me get the desired output. I have been looking for the solution for the last 4 hours. You are so helpful. I am really grateful to you. Keep helping others in this way.

              Comment

              Working...
              X