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

st: RE: -finddup- for panel?


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: -finddup- for panel?
Date   Tue, 20 Apr 2004 17:32:05 +0100

Please show us an example of what you mean. 

Nick 
n.j.cox@durham.ac.uk 

> -----Original Message-----
> From: owner-statalist@hsphsun2.harvard.edu
> [mailto:owner-statalist@hsphsun2.harvard.edu]On Behalf Of joe J.
> Sent: 20 April 2004 17:22
> To: statalist@hsphsun2.harvard.edu
> Subject: st: -finddup- for panel?
> 
> 
> Hello,
> 
> I have a panel data set, where there are duplicates of the 
> panel variable. 
> But I want to retain them because the mistake is only in the 
> panel variable, 
> not in other variables in the observation. (For my analysis, I would 
> aggregate the data so that the panel variable is no longer relevant.)
> 
> BUT, I keep the panel format in the beginning in order to 
> fill in missing 
> values using interpolation. To do this I want to keep out 
> observations with 
> the duplicate panel variable and append them back after 
> interpolation has 
> been done. For a non-panel data, I could use the stata-code 
> -FINDDUP- (by 
> Fred Wolfe downloadable from SSC). -finddup- helps to take 
> out a particular 
> duplicate observation and save it for later use. But it does 
> not work in a 
> panel set up. Is there any way around, other than doing it 
> sepeartely for 
> each year?

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