Announcement

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

  • Present 3 regression models in a single table

    I have done three regressions in STATA. All variables are same, but in the 'country_name' variable (independent), I only kept country under analysis (Bhutan, Singapore, Sri Lanka).
    Now, I would like to present three regressions in a single table (in MS Docx file.).


    How can I do that?

  • #2
    I have not fully understood your description of the problem. Do you want to say that all variables are the same, but you want to estimate separate regressions for each country? If so, you can try the wide option of asdoc. asdoc can be downloaded from SSC. In the following example, I am estimating separate regressions for each company,

    Code:
    webuse grunfeld, clear
    bys company: asreg reg invest kstock mvalue, wide replace t(below) star
    And the results are
    Click image for larger version

Name:	Capture.JPG
Views:	1
Size:	77.9 KB
ID:	1527420


    You can read further about the wide option in Section 4.3 Wide regression tables of the help file of asdoc

    For those who are not yet familiar with asdoc, it can be downloaded from SSC and 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 the stable version
    ssc install asdoc
    
    * For installation of the new beta version
    net install asdoc, from(http://fintechprofessor.com) replace
    help asdoc
    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


    • #3
      Thank you so much.

      Comment

      Working...
      X