Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Re: tsset


From   "ACHINTYA RAY" <[email protected]>
To   <[email protected]>
Subject   st: Re: tsset
Date   Fri, 30 Jan 2004 20:53:51 -0600

Juan,

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.

Achintya

***************
ACHINTYA RAY
Department of Economics
Vanderbilt University, VU Station B #351819
2301 Vanderbilt Place, Nashville,
TN 37235-1819, USA
email: [email protected]
URL: http://rayatmkt.tripod.com

----- Original Message -----
From: "Juan Manuel Jauregui" <[email protected]>
To: <[email protected]>
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
tsset
> 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
> create
> an id number for each country? How can I do that?
>
> Thanks to all of you!
>
> Juan
>
> *
> *   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:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index