Announcement

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

  • Help with asdoc - regression tables

    Disclaimer: asdoc is a user written command by Dr. Ataullah Shah

    I am regressing with a categorical variable of which dummies have been made of using egen with the options label. After I regress the output on my STATA windows shows each of the categories by name whereas asdoc shows them by the name of the dummy variable.
    I have used the code
    Code:
     egen d_category= group (category), label 
    asdoc reg d_depvar i.d_category, dec(5) label replace
    How do I get it to output the value labels instead?
    Last edited by Rabi Uddin; 06 May 2020, 00:56.

  • #2
    I think this was fixed in the updated version. The new version of asdoc can be installed from my site. Copy and paste the following line in Stata and press enter.
    net install asdoc, from(http://fintechprofessor.com) replace

    Please note that the above line has to be copied in full. After installation of the new version, then restart Stata.


    Code:
    sysuse auto, clear
    asdoc reg price i.foreign , dec(5) label replace abb(.)
    Click image for larger version

Name:	Capture.PNG
Views:	1
Size:	33.5 KB
ID:	1551519



    Please do remember to cite asdoc. To cite:
    In-text citation
    Tables were created using asdoc, a Stata program written by Shah (2018).

    Bibliography
    Shah, A. (2018). ASDOC: Stata module to create high-quality tables in MS Word from Stata output. Statistical Software Components S458466, Boston College Department of Economics.
    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
      Originally posted by Attaullah Shah View Post
      I think this was fixed in the updated version. The new version of asdoc can be installed from my site. Copy and paste the following line in Stata and press enter.
      net install asdoc, from(http://fintechprofessor.com) replace

      Please note that the above line has to be copied in full. After installation of the new version, then restart Stata.


      Code:
      sysuse auto, clear
      asdoc reg price i.foreign , dec(5) label replace abb(.)
      [ATTACH=CONFIG]n1551519[/ATTACH]


      Please do remember to cite asdoc. To cite:
      In-text citation
      Tables were created using asdoc, a Stata program written by Shah (2018).

      Bibliography
      Shah, A. (2018). ASDOC: Stata module to create high-quality tables in MS Word from Stata output. Statistical Software Components S458466, Boston College Department of Economics.
      Thank you, updated and will try it out. Also I send you an email a few days back with regards to data availability if you can have a look

      Comment

      Working...
      X