Statalist The Stata Listserver


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

Re: st: Data management


From   Caleb Southworth <[email protected]>
To   [email protected]
Subject   Re: st: Data management
Date   Tue, 24 Oct 2006 17:42:38 -0700 (PDT)

I'm not sure why you want to move from a panel to a cross section, but

-collapse [varlist],by(country)-

or -keep if year==xxxx-

would average over all years or keep a given year.

Caleb
[email protected]
University of Oregon Sociology
*
*   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