Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

st: list output transpose


From   Joerg Eulenberger <[email protected]>
To   [email protected]
Subject   st: list output transpose
Date   Thu, 11 Mar 2010 10:07:47 +0100

Dear statalisters,
i search a possibility to transpose the list-output for an individual-analysis. The origin dataset have over 4000 variables.
The dataset include numeric and string variables.

*****************
sysuse auto, clear
foreach var of varlist * {
   char `var'[varname] "`: var label `var''"
}
keep in 1
list, noobs subvarname abbreviate(33)

?????????????????????????????

*****************
and now, i search a possibility to transpose the outputtable.
A table with two columns and a row for each variable.
With subvarname in the label-column and labelled output in the value-column.

Thanks,
Jörg






*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index