Announcement

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

  • Combining summary statistics and correlation matrix

    Hi everyone,
    I need to create a table combining summary statistics and correlation matrix as a part of a paper submission, so it needs to look like it is properly formatted.
    I've found that asdoc does this quite well, but I need to create a table that combines both summar statistics and correlation matrix. It should look like the one attached.
    Click image for larger version

Name:	Screen Shot 2020-06-23 at 10.57.35 PM.png
Views:	1
Size:	163.8 KB
ID:	1560297

    I tried
    Code:
    asdoc sum y1 x1 x2 x3 x4 x5, save(output)
    asdoc cor y1 x1 x2 x3 x4 x5, append save(output)
    But what this does is that it simply appends the correlation table to the document which already has a summary table.
    Clearly, I can do this manually after creating both, but I'd rather automate it if possible.

    Thank you!

  • #2
    Answering a similar question today, I encountered this question, which I had not see when it was posted. It's probably too late now, but for anyone else who finds it, the following topic may be helpful.

    https://www.statalist.org/forums/for...relation-table

    Comment

    Working...
    X