Announcement

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

  • Asdoc output not centered/neat

    Hello dear Stata users,

    I am new to this form. My apologies beforehand if this topic is posted in a wrong section.

    I am currently using asdoc to export output to word. I have added a screenshot from word (in other words, it messes up lining completely). I have looked through the asdoc help in STATA, this forum and youtube but cannot find the solution to this yet.

    The commands used are as follows:

    regress alpha1 F BSC BSL MD
    eststo m1, title (alpha1)
    esttab m1, compress p r2

    regress alpha2 F BSC BSL MD
    eststo m2, title (alpha2)
    esttab m2, compress p r2

    regress nu F BSC BSL MD
    eststo m3, title (nu)
    esttab m3, compress p r2

    asdoc esttab m1 m2 m3, p r2 label compress mtitles



    Any help/advice would be greatly appreciated.

    Kind regards,

    Joost
    Click image for larger version

Name:	Schermopname (462).png
Views:	1
Size:	163.8 KB
ID:	1673189



  • #2
    asdoc does not support estout package. The output you get from using asdoc with estout is what asdoc gets from the Stata log. asdoc converts the log to a Word table. The good news is that you can create nested regression tables directly with asdoc. The following example uses your code, modified for asdoc.

    Code:
    asdoc regress alpha1 F BSC BSL MD, rep(p) cname(alpha1) replace
    
    asdoc regress alpha2 F BSC BSL MD, rep(p) title(alpha2)
    
    asdoc regress nu F BSC BSL MD, rep(p) cname(nu)
    The premium version of asdoc, asdocx, offers several other features, see details here.
    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