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 on April 23, and its replacement, statalist.org is already up and running.


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

st: show categories with zero frequency in -tabout- table


From   Andrea Bennett <mac.stata@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: show categories with zero frequency in -tabout- table
Date   Fri, 27 Aug 2010 11:48:55 +0200

Hi,

Is there a way to also show categories with zero frequency in a table
output generated by -tabout-? For example, the variable education has
categories (and respective value labels) of "no education", "vocational education" 
and "university". However, in the data sample there are no individuals with no education 
which results in showing only vocational and university education in a -tabout- output. Can -tabout- (or Stata) 
be set up to automatically show that there are no individuals with no education?

education    feq.
----------------------
no educ         0
voc.             38
uni.              12



Best regards,

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