Announcement

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

  • outreg with beta coefficient

    Dear all,

    I would like to use outreg to report the standardized coefficient with the significance level.

    My code is:

    outreg using myreg.doc, replace stats(beta) nodepvar bdec(3)

    However,with this command, the significance is not shown in the table.

    Apologies if this is an elementary question but how can I get outreg to show the significance level of the coefficients.


  • #2
    Hello Maya,

    I don't use use the SSC outreg, but the help files indicate you should add - pvalue - in the options of "stats".

    Hopefully that helps!
    Best regards,

    Marcos

    Comment


    • #3
      Dear Marcos Almeida

      I have tried that and I get an error : "pvalue" not allowed in stats option

      Best,
      Maya

      Comment


      • #4
        Hey,

        I use outreg2 and it reports significance levels automatically (with asteriks). You dont even need the stats-option.

        outreg2 NamesOfCoefficientsYouWantToDisplayHere using myreg.doc, replace

        Comment


        • #5
          Hello Malte Ehrich.
          Thank you for taking time to answer my question. I am also familiar with outreg2. However, the significance level is not automatically reported with the standardized coefficients (given by the option ,beta)

          Comment


          • #6
            Hello Maya,

            You may try to use - pvalue - outside stats.
            Best regards,

            Marcos

            Comment


            • #7
              Try this:

              outreg2 using myreg.doc, replace stats(beta pval ) bdec(3)

              It works for my example.

              Phil

              Comment


              • #8
                Considering Maya wishes to employ the user-written - outreg (instead of - outreg2 -), as stated in #1, and just to clarify my message in #6, I suggested to try something like this:

                Code:
                . outreg using myreg.doc, pvalue
                Best regards,

                Marcos

                Comment


                • #9
                  Dear Phil Bromiley, unfortunately this does not work..I get an error" "pval" not allowed in stats option"

                  and dear Marcos Almeida I would like the standardized (beta) coefficient to be reported.


                  My qustion is basically is there a way to make outreg2 or outreg report the significance of beta coefficients attached as asterisks?

                  Comment


                  • #10
                    outreg2 automatically includes p-values as asterisks on the beta coefficients. I just tested this, and then opened it in word; it works fine:

                    Code:
                    sysuse auto, clear
                    regress price mpg foreign, r
                    outreg2 using "modeltable.rtf", replace
                    If you're still having problems, try uninstalling and reinstalling the programme:
                    Code:
                    ado uninstall outreg2
                    ssc install outreg2

                    Comment


                    • #11
                      Dearest Chris Larkin

                      Yes that works for the unstandardized coefficients.
                      By "beta coefficients" I mean the standardized coefficients obtained by using the command beta, such that you would have:

                      regress price mpg foreign, beta r

                      Comment


                      • #12
                        Dear Maya, did you get to report the standardized coefficients marked with asterisk using outreg2?
                        Thanks in advance!
                        Rocio

                        Comment

                        Working...
                        X