[EpiData-list] Final problem in " How to: checking for duplicate records"

epidata-list at lists.umanitoba.ca epidata-list at lists.umanitoba.ca
Thu Jan 19 13:18:24 CST 2006


Apologies for having expressed the
"compare current record with previous record or next record"
as list if k =  ( ( k[_n-1] )   or  ( k[_n-1])  )

which should have been:
list if  ( ( k =  k[_n-1] )   or  ( k = k[_n+1])  )

The aggregate (tab stat) does not have a /save option, the most
efficient is to:

aggregate k  /sum=x /close   /notable
select if n  > 1
savedata "newfile.rec"

Then the newfile.rec would contain only replicates.

Jens Lauritsen
EpiData Association
ps. The revised web site www.epidata.dk is still in construction. I will 
give a notice when the new design has been completely implemented.









More information about the EpiData-list mailing list