Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: how to list variables vertically


From   "LACHENMAIER" <[email protected]>
To   <[email protected]>
Subject   st: how to list variables vertically
Date   Mon, 8 Mar 2004 15:12:34 +0100

Hi all,

this might be a very simple question, but I have not found a solution
yet.

Is it possible to create a list or table with the variables appearing
vertically and the observations horizontally?

The output should look like 

      Observ1 Observ2 Observ3
Var1   xx1     xx2     xx3      
Var2   yy1     yy2     yy3                  
Var3   zz1     zz2     zz3


This type of presenting the data would be very useful to compare two
observations. Of course one can do it by copying the data to Excel and
transpose the data, but this gets very inconvenient if the number of
variables is larger than the number of columns in Excel (one has to
paste it first horizontally before one can transpose it).

Thanks a lot,
Stefan


*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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