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

st: RE: tabulate and empty cells

From   "Alexander Severinsen" <[email protected]>
To   <[email protected]>
Subject   st: RE: tabulate and empty cells
Date   Wed, 10 Nov 2004 10:04:18 +0100

Hi Andreas,

Not sure if this is what you are looking for, but you can:
	tab variable, missing
and missing observations will appear in tables, or
2) 	recode variable .=0

Best wishes,

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Andreas
Sent: Wednesday, November 10, 2004 9:33 AM
To: [email protected]
Subject: st: tabulate and empty cells

Dear Statalisters,

Maybe you can help me regarding a problem with the "tabulate" command:

If the cells in a row or column are empty, they disappear in the stata 
output (as well as in the saved results).

But I would like to get zeros in.

For example-my wish is a table like that:
large		0
medium		5
small		10

But actually the output appears as:
medium		5
small		10

Do you  have any ideas to solve that problem?


Dr. Andreas Stiehler

Berlecon Research GmbH
Oranienburger Stra´┐Że 32
D-10117 Berlin
Fon: +49 30 285296-0
Fax: +49 30 285296-29
E-Mail: [email protected]

Newsletter-Abo: mailto:[email protected]
Berlecon Research - Wir analysieren das Potenzial neuer Technologien

*   For searches and help try:

*   For searches and help try:

© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index