Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: RE: automatic disclosure in tables
From 
 
Austin Nichols <[email protected]> 
To 
 
[email protected] 
Subject 
 
Re: st: RE: automatic disclosure in tables 
Date 
 
Wed, 16 Nov 2011 10:55:37 -0500 
Percy Scheller--
Is the kind of thing that is wanted?
sysuse auto, clear
gen edu=round(mpg,5)
ren rep78 sex
table sex edu
egen ct=count(sex), by(sex edu)
table sex edu if ct>1
On Wed, Nov 16, 2011 at 5:20 AM, Nick Cox <[email protected]> wrote:
> I don't recall any such command. It doesn't sound at all trivial to program. It seems easier to edit output, or even to write programs to edit output.
>
> In this particular case, suppression seems counter-productive!
>
> Nick
> [email protected]
>
> percy
>
> I once discovered an ado, which helps to automatically disclosure/suppress
> cell content if it makes a reidentification of single persons possible.
> Unfortunatelly this is years ago, I can't remember it or find it in my
> ado-files. Has anybody a hint for me?!
>
> Thanks in advance
>
> Percy Scheller
>
> Example (see low educated male, infact you might need to suppress a second
> information, too):
>
>
> . table sex edu
> ----------------------------------
>          |       Education
>      Sex |    low  medium    high
> ----------+-----------------------
>     male |      1       6       4
>   female |      8      53      26
> ----------------------------------
>
> . table sex edu
> ----------------------------------
>          |       Education
>      Sex |    low  medium    high
> ----------+-----------------------
>     male |      /       6       4
>   female |      8      53      26
> ----------------------------------
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/