Statalist


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

st: RE: Summary statistics table problem


From   "Martin Weiss" <martin.weiss1@gmx.de>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: Summary statistics table problem
Date   Tue, 28 Oct 2008 09:13:21 +0100

-tabstat var1 var2, statistics( mean ) by(Hour6) nototal columns(variables)-
?


HTH
Martin

-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of George Hoffman
Sent: Tuesday, October 28, 2008 4:18 AM
To: statalist@hsphsun2.harvard.edu
Subject: st: Summary statistics table problem

This should be simple, but I can't find a straightforward way to do this.
Xt  dataset, with hours 1-48 for time, also summarized by hour6 (1-6,
7-12,...)
Many row variables.

I want a table of means by hour6:

Var         Hour6
            1       2       3       4       5       6       7       8
var1        50      55      55      57      60      62      61      57
var2        47      34      23      12      6       5       7       6
Etc

?? Thank you,
George hoffman
     

*
*   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/

*
*   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