Hi everyone,
I have a lab meeting upcoming where I am going to show them how I create publication quality tables for summary statistic and regression models really quickly. It certainly is something to wrap your head around to start but once you figure it out it is going to save you so much time. See attached do file with an example from the nhanes2 dataset to identify risk factors for myocardial infarction.
As with coding, there are so many different ways to do things. I use the Table1_mc (extension of the Table1 command) to make Table 1 and esttab to make the regression table.
There are still things that I am learning too so any feedback is welcomed! Hope this helps :)
Summary stats table is at rows 88-102 with optional info at 104-117
Regression model coding begins at row 122 (blurb) and really starts at 140 to 205. I suggest going step by step to see how appearance of the output changes with altering the options