Dear Dev,
Thanks so much for your kindly suggestion about
"reshape." I just studied the recommended help file
and link, but found that most of the examples only
have one major variable of interest. As you can see,
World Development Indicators has about 200 variables
for each country. Sometime many words are contained in
one variable name such as "Export share in GDP, %."
Can I still use "reshape" under such circumstances?
Thanks again,
Yumin
--- Dev Vencappa <[email protected]> wrote:
> Yumin,
> You may probably want to have a look at the reshape
> command in stata (help reshape) and the link to the
> FAQ on this on the Stata website:
>
>
> http://www.stata.com/support/faqs/data/reshape3.html
>
>
>
> Dev
>
>
>
> >>> [email protected] 13/08/2004 00:34:50 >>>
> Dear all,
>
> I have been trying to save data from World
> Development
> Indicators (WDI, online) into a cross-section
> time-series format. The original data look like the
> following
>
> Country Variable Name 1960 1961 ?2002
> Afghanistan Aid X X ?X
> Afghanistan Population X X �X
> ??????> ??????> Afghanistan Wage X X ?X
> Albania Aid X X ?X
> Albania Population X X ?X
> ??????> ??????> Albania Wage X X ?X
>
> The ideal format I would like to have would be:
>
> Country Aid Population ??Wage
> Afghanistan 1960 X X ?X
> Afghanistan 1961 X X ?X
> ??????> ??????> Afghanistan 2002 X X ?X
> Albania 1960 X X ?X
> Albania 1961 X X ?X
> ??????> ??????> Albania 2002 X X ?X
> ??????> China 1960 X X ?X
> China 1961 X X ?X
> ??????> ??????> China 2002 X X ?X
>
> The problem is that some countries have data on more
> variables than do other countries. Any kindly
> suggestion on how to execute the data manipulation
> trick in stata or on how to save WDI online properly
> would be tremendously appreciated. Many thanks!
>
> Best,
> Yumin
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail - Helps protect you from nasty viruses.
> http://promotions.yahoo.com/new_mail
> *
> * 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/
>
>
> This message has been scanned but we cannot
> guarantee that it and any
> attachments are free from viruses or other damaging
> content: you are
> advised to perform your own checks. Email
> communications with the
> University of Nottingham may be monitored as
> permitted by UK legislation.
>
>
> *
> * 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/
>
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail
*
* 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/