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:
1)
	tab variable, missing
and missing observations will appear in tables, or
2) 	recode variable .=0


Best wishes,
Alex

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Andreas
Stiehler
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:
			Items
large		0
medium		5
small		10

But actually the output appears as:
			Items
medium		5
small		10

Do you  have any ideas to solve that problem?

Thanks!
Andreas




Dr. Andreas Stiehler
Analyst

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

Web: www.berlecon.de
Analysten-Weblog: weblog.berlecon.de
Newsletter-Abo: mailto:[email protected]
--------------------------------------------------------------------
Berlecon Research - Wir analysieren das Potenzial neuer Technologien
--------------------------------------------------------------------

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


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