[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: RE: tab
At 01:25 PM 12/11/2003 +0000, Nick Cox wrote:
-tabulate- can give zero counts, using the -subpop(...)- option.
2. -tabulate- is reluctant to tabulate classes which
don't exist in the data. In particular, you can't
get zero counts out of -tabulate <myvar>-.
If var2 restricts the dataset so as to exclude some of the values of myvar,
tabulat myvar, subpop(var2)
will have zero entries for the values in question.
(And presumably, this would hold under -if- or -in- restrictions, as long
as var2 further restricts the dataset so as to exclude some values of myvar.)
If you really want to see some nonexistant values in a -tabulate-, you can
extend the dataset to include them, and then create a variable that serves
as an indicator for the "actual" data. Then present that variable in the
Institute for Policy Studies
Johns Hopkins University
* For searches and help try:
- st: tab
- From: "Andreas Aschbacher" <firstname.lastname@example.org>
- st: RE: tab
- From: "Nick Cox" <email@example.com>