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

Re: st: Collapsing dataset


From   Rafal Raciborski <[email protected]>
To   [email protected]
Subject   Re: st: Collapsing dataset
Date   Wed, 20 Jul 2005 14:02:53 -0400

Assuming the date variable is already in date format:

collapse (desired.statistics) Var1, by(Date)

or

sort Date
by Date: keep if _n==1

Is this what you want?

rafal

================
Rafal Raciborski
Graduate student
Department of Political Science
Emory University
301 Tarbutton Hall
1555 Dickey Drive
Atlanta, GA 30322
404-378-9826 (home)
[email protected] (e-mail)
www.roofoos.net


*
*   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