Statalist


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

RE: st: AW: I want to obtain Tables with all categories of every variables


From   Maarten buis <[email protected]>
To   [email protected]
Subject   RE: st: AW: I want to obtain Tables with all categories of every variables
Date   Sat, 31 Jan 2009 21:00:17 +0000 (GMT)

--- carmen gamarra <[email protected]> wrote:
> What I need is a command that allows me to get all the categories
> of one variable, including those with zero values.

Conceptually, this would require Stata to have a list of values that
you want to display. In -tab- Stata obtains that list from the values
that actually occur in the data. This is a sensible default, but if a
value that you want to see occurs zero times in the data, than it will
not be displayed. Ben Jann's -fre- can obtain this list of values from
either the value labels you have attached to your variable or you can
specify all the values you want to see. To install -fre-, type in
Stata:

ssc install fre

followed by -help fre- to read more on how to exactly use this command.

Hope this helps,
Maarten

-----------------------------------------
Maarten L. Buis
Department of Social Research Methodology
Vrije Universiteit Amsterdam
Boelelaan 1081
1081 HV Amsterdam
The Netherlands

visiting address:
Buitenveldertselaan 3 (Metropolitan), room N515

+31 20 5986715

http://home.fsw.vu.nl/m.buis/
-----------------------------------------


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