Bookmark and Share

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: Dropping Countries


From   ajjee <ajjee1@yahoo.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: Dropping Countries
Date   Wed, 24 Nov 2010 02:20:11 -0800 (PST)

I have the data for near 180 countries for many variables over 26 years  but
I want to drop that countries which have no data for a specific variable.

tab  countryname if ses==.

CountryName |      Freq.     Percent        Cum.
-----------------------------+-----------------------------------
                     Algeria |         26        2.30        2.30
                      Angola |         26        2.30        4.59
                     Armenia |         26        2.30        6.89
                  Azerbaijan |         11        0.97        7.86
                     Belarus |         11        0.97        8.83
                       Benin |         26        2.30       11.13
                     Bermuda |         26        2.30       13.43
      Bosnia and Herzegovina |         12        1.06       14.49
                Burkina Faso |         26        2.30       16.78
                    Cameroon |         26        2.30       19.08
            Congo, Dem. Rep. |         26        2.30       21.38
                 Congo, Rep. |         26        2.30       23.67
               Cote d'Ivoire |         26        2.30       25.97
                    Dominica |         26        2.30       28.27
           Equatorial Guinea |         26        2.30       30.57


Now I want to drop only countries where ses is missing for all years. Is
there any command to do so?


-- 
View this message in context: http://statalist.1588530.n2.nabble.com/Dropping-Countries-tp5769871p5769871.html
Sent from the Statalist mailing list archive at Nabble.com.
*
*   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/


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