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]

Re: st: count nr of countries


From   "Justina Fischer" <[email protected]>
To   [email protected]
Subject   Re: st: count nr of countries
Date   Wed, 09 Feb 2011 16:33:27 +0100

Hi

generate a separate id for your countries, using egen with the group-option, and the simply count your observations of your new id-variable

justina

-------- Original-Nachricht --------
> Datum: Wed, 09 Feb 2011 15:42:56 +0100
> Von: Tharshini Thangavelu <[email protected]>
> An: [email protected]
> Betreff: st: count nr of countries

> Hi,
> 
> I have a panel dataset where I follow firms cross countries over the time
> period 1998-2010. I have generated id and wants to count 
> the nr of countries in my data set. How I do this? 
> 
> 
> 
> -- 
> ___________________________________________________
> Tharshini Thangavelu
> Forskningsassistent, Näringslivets forskningsinstitut -Ratio
> Forskarbacken 19, 2tr
> 114 16 Stockholm
> Mob 0735 53 43 90
> Epost [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/

-- 
Justina AV Fischer, PhD
Senior Researcher
Faculty of Economics
University of Mannheim

homepage: http://www.justinaavfischer.de/
e-mail: [email protected]
papers: http://ideas.repec.org/e/pfi55.html


*
*   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