Announcement

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

  • outreg2

    Good morning,
    I am looking to create a table for logistic regression results, with a title, odds ratios, standard error and confidence intervals as 3 separate columns. This is one of my first attempts at using outreg2 to format tables. I used command:

    outreg2 using logistic_1.doc, ctitle(Model 1), eform (odds ratio aster), sideway stats(se ci), replace

    I read through the help file and other forum posts but I still have invalid code. Any assistance greatly appreciated. Thank you, Joanna

  • #2
    This can be done using asdoc, which can be downloaded from SSC. The type of regression table you are asking for is the detailed regression in asdoc.

    For those who are not yet familiar with asdoc, it can be used with almost all Stata commands. Here is a short blog post that shows how asdoc can be used with any Stata command http://fintechprofessor.com/2018/02/...basic-example/. You can also watch several YouTube videos that show the use of asdoc https://www.youtube.com/watch?v=zdI6...LwodAk2oqLYhr-

    Code:
    * For installation of asdoc
    ssc install asdoc
    
    * Example of detailed regression table using asdoc
    asdoc logistic low age lwt i.race smoke ptl ht ui, replace title(My regression)
    Click image for larger version

Name:	logistic.png
Views:	1
Size:	62.6 KB
ID:	1486212


    For further customization of the output, see this blog entry
    https://fintechprofessor.com/2018/12...ing-stars-etc/
    Regards
    --------------------------------------------------
    Attaullah Shah, PhD.
    Professor of Finance, Institute of Management Sciences Peshawar, Pakistan
    FinTechProfessor.com
    https://asdocx.com
    Check out my asdoc program, which sends outputs to MS Word.
    For more flexibility, consider using asdocx which can send Stata outputs to MS Word, Excel, LaTeX, or HTML.

    Comment

    Working...
    X