Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Inconsistency with the 5 year avarage panel data set


From   Richard Williams <[email protected]>
To   [email protected]
Subject   Re: st: Inconsistency with the 5 year avarage panel data set
Date   Wed, 26 Apr 2006 16:49:16 -0500

At 03:34 PM 4/26/2006, ilker kaya wrote:
Dear Austin,

Here is the code that I am using for sorting and
taking 5 year avarages. I hope this part would be
enough to tell if there is anyting wrong.
ifscode is unique for each country in my data file and
year is between 1960-2002.
Thank you very much.
Regards,

ilker




sort ifscode year;
I suspect Austin nailed the problem. See -help sort-. Try using the -stable- option and see if all is well after that, e.g.

sort ifscode year, stable;


-------------------------------------------
Richard Williams, Notre Dame Dept of Sociology
OFFICE: (574)631-6668, (574)631-6463
FAX: (574)288-4373
HOME: (574)289-5227
EMAIL: [email protected]
WWW (personal): http://www.nd.edu/~rwilliam
WWW (department): http://www.nd.edu/~soc
*
* 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