LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (May 2008, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Thu, 8 May 2008 08:21:29 -0400
Reply-To:   Gerhard Hellriegel <gerhard.hellriegel@T-ONLINE.DE>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Gerhard Hellriegel <gerhard.hellriegel@T-ONLINE.DE>
Subject:   Re: SAS Code for Cell Suppression in tables

One possibility might be a view.

data test / view=test; set sashelp.class; if weight>100 then sex="-"; run;

Is that something like you want? However, a problem might be the accessability of the base data. For that you could use a read-pw and add that to the view:

data xx(read=secret); set sashelp.class; run; data test / view=test; set xx(read=secret); if weight>100 then name="********"; run;

Gerhard

On Thu, 8 May 2008 04:50:28 -0700, JohnH <john.c.hennessey@SSA.GOV> wrote:

>We produce tables for the public which contain counts of people in >certain categories. For privacy reasons, we must suppress cells that >have small counts. Then, a secondary round of cell suppression takes >place. For those who have cell suppression issues, I am sure you >understand the details. Does anyone know where I can obtain SAS code >which will take a table of counts and, with certain parameters set, >apply cell suppression techniques to the table?


Back to: Top of message | Previous page | Main SAS-L page