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]
st: missing cases in aggregation
From
Abu Camara <[email protected]>
To
[email protected]
Subject
st: missing cases in aggregation
Date
Mon, 3 Oct 2011 13:43:59 +0300
Dear Statalist,
Dear Statalist,
I am doing some aggregation on some indicators by region and would
like to have no aggregation
for year if 1/3 of cases for particular year are missing. I tried the
following command but did not
get what I wanted. Any suggestion /help would be appreciated. Thanks in advance.
***--command----------.
table country year [aweight=pop1] if year==1980 | year==1990
|year==2000 | year>=2004 & missing(year)>19, ///
c(mean ger_pri_tot) format(%9.1f) row
--
Best Wishes,
Abu Camara
*
* 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/