Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Summary stats table in a particular format

From   Shehzad Ali <>
To   Stata List <>
Subject   st: Summary stats table in a particular format
Date   Sun, 5 Aug 2012 20:29:29 +0100 (BST)

Hi listers,

I am using -tabstat- to create a table of summary stats; however, I want the table to appear in the format below. Just wondering if someone may be able to help.

                                                   group1                 group2
var1 label
Mean (SD)                               2.5 (1.1)                2.9 (1.2)
Median (min to max)              2.1 (0.4 to 5.9)      2.2 (0.3 to 6.8)
N (% missing)                         120 (5%)               140 (7%)

var2 label
Mean (SD)                               
Median (min to max)              
N (% missing)                         

Many thanks

*   For searches and help try:

© Copyright 1996–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index