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 at the end of May, and its replacement, statalist.org is already up and running.


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

RE: st: transpose of column of a data to row


From   Nick Cox <n.j.cox@durham.ac.uk>
To   "'statalist@hsphsun2.harvard.edu'" <statalist@hsphsun2.harvard.edu>
Subject   RE: st: transpose of column of a data to row
Date   Thu, 17 Nov 2011 10:42:22 +0000

Daniel is correct on all points. 

That said, it's rare that you are really are better off with 1000 variables and 21 observations than with the reverse. 

It's not impossible, but in the absence of information on what Saqlain Raza wants to do, it's still my guess that it is probable that this data structure will make most analyses more difficult.  

Nick 
n.j.cox@durham.ac.uk 

daniel klein

It is possible within Stata [sic]. Take a look at

h xpose

1000 variables (columns) that are to be created are only a problem if
you have "Small Stata". Any other package (i.e. IC, SE, MP) allows at
least 2,047 variables.

Saqlain Raza 

I want to change the columns of my data into rows. Is is possible with
STATA? The number of columns are 21 and the number of rows are almost
1000.

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