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

st: Presenting a country-period table


From   "Jan Pettersson" <jan.pettersson@ne.su.se>
To   "statalist" <statalist@hsphsun2.harvard.edu>
Subject   st: Presenting a country-period table
Date   Thu, 1 Apr 2004 21:10:49 +0200

Dear all.
Maybe this is a "RTFM"-question. Sorry in that case.
Anyway, I have a list of the following form:

country periodstart periodend
Argentina 1986 1989
Argentina 1990 1993
Argentina 1994 1997
Argentina 1998 2001
Bolivia 1986 1989
Bolivia 1990 1993
Bolivia 1994 1997
Bolivia 1998 2001
Botswana 1974 1977
Botswana 1978 1981
Botswana 1982 1985
etc.

that I would like to present in a table looking like:

Argentina (1986 - 1989, 1990 - 1993, 1994 - 1997, 1998 - 2001);
Bolivia (1986 - 1989, 1990 - 1993, 1994 - 1997, 1998 - 2001);
Botswana (1974 - 1977, 1978 - 1981, 1982 - 1985);
etc.

Any help appreciated.
/Jan
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index