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

st: Newbie: matching observations in two adjacent periods


From   Marc PrudHomme <Marc.PrudHomme@uottawa.ca>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: Newbie: matching observations in two adjacent periods
Date   Fri, 11 Mar 2005 09:48:44 -0500

HI list members,


We are new to Stata and are are tad lost with regards to the following
operation we are attempting complete and hoping that someone will be able to
help us please. 

In our data set we have a sample of price observations for period 1 and
period 2. We would like to isolate these observations that are identical
between both periods (all observations are coded, therefore identical
observations will have an identical code in each period). Once the identical
ones are determined, we would then proceed with computing their price
ratios. The part that is baffling us is what can we do in Stata in order to
be able to isolate these identical observations from one adjacent period to
the next?

I suspect that this is an embarrassingly easy one. ;-)
Thanks 


-- 
Marc Prud'Homme
Department of economics / Département de science économique
University of Ottawa / Université d'Ottawa
200 rue Wilbrod St.
PO / CP 450 Stn / Succ A
Ottawa, Ontario, Canada
K1N 6N5

Office / Bureau: Room / pièce 111
Administration: Room / pièce 110
Email / Courriel: Marc.PrudHomme@uottawa.ca





*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index