Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

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

st: how keep row variables even if they are missing

From   Abu Camara <[email protected]>
To   [email protected]
Subject   st: how keep row variables even if they are missing
Date   Mon, 4 Apr 2011 18:48:12 +0300


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).

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
E-mail: [email protected]

*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index