Statalist The Stata Listserver


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

st: drop observations panel data


From   "Julia Spies" <[email protected]>
To   [email protected]
Subject   st: drop observations panel data
Date   Wed, 17 May 2006 17:06:48 +0200 (MEST)

Hello,

I have a panel data set with tradingpair as the ID and year as the time
variable. For some of the tradingpairs I would now like to drop observations
whenever year<1995. Hence, I would need a command like 

drop if tradingpair=countryX and year<1995

I'm sure there is a straightforward solution to this, however, i haven't
been able to find one going through the manuals and earlier statalist
discussions.

Any help is very much appreciated!

Regards,
Julia

-- 
Universit�t Hohenheim 
Lehrstuhl f�r Au�enwirtschaft

"Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail
*
*   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