Statalist


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

st: two-way table


From   Shehzad Ali <sia500@york.ac.uk>
To   statalist@hsphsun2.harvard.edu
Subject   st: two-way table
Date   17 Feb 2009 11:24:26 +0000

Hi,

I have a rather simple question about tabulation. 

I want a table with summary statistics (mean, median, SD, minimum and 
maximum) for 5 time points for 10 variables. The columns should show time 
points (10 weeks, 20 weeks, 30 weeks, 40 weeks, 50, weeks) and rows reflect 
the variables (A through J). Each column should be sub-divided into 5 
sub-columns for each of the summary statistic. The table should look like 
this (not sure if this will copy well on the list).
 

            -------------------- Week 10 -------------------- 
-------------------- Week 20 -------------------- ---.

            Mean Median SD Min Max Mean Median SD Min Max

     

A

B

C

.

.

.

J


Can you help me with the best way to do this?

Thank you,

Shehzad

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index