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, is already up and running.

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

Re: st: how keep row variables even if they are missing

From   Abu Camara <>
Subject   Re: st: how keep row variables even if they are missing
Date   Mon, 4 Apr 2011 21:31:33 +0300


Thanks for the effort. That did not work either.

On 4 April 2011 20:07, Nick Cox <> wrote:
> The issue I gather is that Stata omits observations ("row variables")
> from tables when values are missing.
> ("drop" is the wrong word here.)
> -tabstat- has an option -missing-. I don't know if that's enough for you.
> You'd have to work much harder with -table- to get what you want, I think.
> Nick
> On Mon, Apr 4, 2011 at 4:48 PM, Abu Camara <> wrote:
>> I am generating about 60 tables once and I use the group format
>> in excel to format all the tables at once. But challenges come in because
>> stata will drop row variables when missing values exist everywhere.
>> Could someone help me with a way to keep all the row variables
>> even if they are missing everywhere (opposite of "concise" command?). I am
>> using both the
>> "table" and "tabstat"command of stata to run these tables.
>> For example tabulating variable "Country" and "Year". Stata will drop a country
>> like Somalia or Iraq because of missing data for all the years under study.
>> I want to keep the names of the countries even if they are missing so that all
>> my tables will have the same length and breadth (size).
> *
> *   For searches and help try:
> *
> *
> *

Best Wishes,

Abu Camara
Data Resources & Statistics Department
Islamic Development Bank
IRTI Tower, 10th Floor
P.O.Box 5925,  Jeddah 21432
Kingdom of Saudi Arabia
Tel.  +966-2-646 6635
Fax. +966-2-646 7478
cell. +966-548718890

*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index