At 09:41 AM 7/22/2008, Chao Yawo wrote:
Hi,
Is it possible for Stata to display both numeric codes and value
labels in Tabulate tables. Currently, Tabulate has a "nolabels"
option that toggles the codes.
I searched the FAQ, but found no pointers. I would appreciate further leads.
thanks - CY
For one-way tabulations, you can use Weesie's -tabl- command. See
net describe tabl, from(http://www.fss.uu.nl/soc/iscore/stata)
Example:
. sysuse auto
(1978 Automobile Data)
. tabl foreign
foreign (Car type) code | freq
-----------------------------+--------
Domestic 0 | 52
Foreign 1 | 22
-----------------------------+--------
Total | 74
.
-------------------------------------------
Richard Williams, Notre Dame Dept of Sociology
OFFICE: (574)631-6668, (574)631-6463
HOME: (574)289-5227
EMAIL: [email protected]
WWW: http://www.nd.edu/~rwilliam
*
* 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/