Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[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 <[email protected]>
To
[email protected]
Subject
Re: st: how keep row variables even if they are missing
Date
Mon, 4 Apr 2011 21:31:33 +0300
Hi,
Thanks for the effort. That did not work either.
Abu.
On 4 April 2011 20:07, Nick Cox <[email protected]> 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 <[email protected]> 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:
> * http://www.stata.com/help.cgi?search
> * http://www.stata.com/support/statalist/faq
> * http://www.ats.ucla.edu/stat/stata/
>
--
Best Wishes,
Abu Camara
Statistician
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:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/