Statalist The Stata Listserver

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

Re: st: Data management

From   Caleb Southworth <>
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.

University of Oregon Sociology
*   For searches and help try:

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