all well what ends well - many thanks. It is working fine an saving the duplicates. Once fixed we emphasize more on the first option to avoid this at the data entry stage. Bests Max
On 20 Jan 2006, at 6:18, epidata-list@lists.umanitoba.ca wrote:
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.
EpiData-list mailing list EpiData-list@lists.umanitoba.ca http://lists.umanitoba.ca/mailman/listinfo/epidata-list