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

st: tabulate all codes


From   "Kazi Ali Toufique" <[email protected]>
To   <[email protected]>
Subject   st: tabulate all codes
Date   Sat, 2 Nov 2002 17:25:02 +0600

Dear All,
I have a simple problem. I have a variable (say SEX) with codes 1 (say
Female) and 2 (Male). When I tabulate for a dataset that has all male then
it does not show 1 (i. e. female) = 0 instead it shows 2 = 100%. How do I
make a tabulate (or some other similar command) command  show frequencies
for all codes, not just only for the codes that exist in a particular
database?
Can anyone help?
Toufique

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