Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: table of strings


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: table of strings
Date   Tue, 2 May 2006 17:56:09 +0100

The question in turn is what belongs in 
a "cell" of the table? -tabdisp- will
show you tables of strings, but if
and only if there is one string value
in each cell. 

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

Caleb Southworth
 
> What is a good method for making a compact table of strings? 
> For example,
> I have a categorical variable id=1,2,3 and a string 
> identifier for each
> case. Of course, I could
> 
> sort id
> by id: list string
> 
> but my preference is for a table, such as
> 
> 1		2		3
> string a	string e	string x
> string b 	string f	string y
> ... etc.
> 
> This would be useful for list types of cases by id, such as types of
> outliers or types of organizations.

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index