Statalist The Stata Listserver

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

st: drop observations panel data

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


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

Any help is very much appreciated!


Universität Hohenheim 
Lehrstuhl für Außenwirtschaft

"Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen:
*   For searches and help try:

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