Announcement

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

  • #16
    Please do cite asdoc in your research if you find it useful.

    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


    • #17
      Originally posted by Attaullah Shah View Post
      Please do cite asdoc in your research if you find it useful.

      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.
      Surely!

      Comment


      • #18
        Is there anyway to use this in a local in that I want the variables tabbed by only race. For example:

        Code:
        local var age married never_married grade collgrad south 
        
        asdoc tab2 `var' race, replace col nof
        I tried this and instead got tab for all variables in the local as well as the race variable.

        Comment


        • #19
          #18 See the help of tab2. You may be seeking

          Code:
          local var age married never_married grade collgrad south  
          tab2 race `var', replace col nof firstonly
          but I have no idea how that plays with asdoc.
          Last edited by Nick Cox; 13 May 2019, 09:37.

          Comment


          • #20
            As pointed out by Nick Cox , you have to write race after tab2 and use firstonly in the option. It surely works with asdoc

            Code:
            sysuse nlsw88, clear
            
            local var age married never_married grade collgrad south 
            asdoc tab2 race `var' , replace col nof first
            Click image for larger version

Name:	Capture.PNG
Views:	1
Size:	33.4 KB
ID:	1498518
            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