[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: Re: tsset
I faced the same problem in my work. So I took the harder route and created
a numeric ID for each country in Excel and then got the data into STATA. In
Excel, this is a piece of cake after you sort your data by the country name.
But taking the harder route saved a lot of time for me. May be there is a
better way out.
Department of Economics
Vanderbilt University, VU Station B #351819
2301 Vanderbilt Place, Nashville,
TN 37235-1819, USA
----- Original Message -----
From: "Juan Manuel Jauregui" <firstname.lastname@example.org>
Sent: Friday, January 30, 2004 8:11 PM
Subject: st: tsset
> I have a panel data of countries and years and when entering the command
> country year, I receive the error message that the string is not allowed.
> Obviously country is a string. How can I solve this problem? Do I have to
> an id number for each country? How can I do that?
> Thanks to all of you!
> * For searches and help try:
> * http://www.stata.com/support/faqs/res/findit.html
> * http://www.stata.com/support/statalist/faq
> * http://www.ats.ucla.edu/stat/stata/
* For searches and help try:
- st: tsset
- From: Juan Manuel Jauregui <email@example.com>