It's best to provide this community with as much information as possible, in order to get a helpful reply. Here are a few tips to getting a fast, helpful reply:
Experts who respond on the communities have tremendous experience and intuition, but they aren't mind readers. You have to form good questions if you want to receive a helpful response. Here are some tips for success:
@mssh2712 wrote:
Sorry, I’ll change they I write to post a question. But this question is been posted while ago in Sas statistical procedure. No reply. Thanks
Perhaps you need to define L-diversity and T-closeness and or post a link to what and how these are used. There are many groups that have internal jargon that call something another groups uses all the time by a different name. I used to get driven nuts when tutoring business students where they would bring in three or four "different" business terms but all came down to finding a local minimum or maximum but they changed the name depending on what the called the base curve. The methods for finding a local min/max for a polynomial equation are the same regardless of whether the equation models "price" "demand" "yield" or what have you.
I suspect that may be your case.
If you can show us what an L-diversity looks like some one may recognize that as result X when using Option Y in Proc Z.
Best would be a worked example to reference.
As far as I know there is no specific procedure for L-diversity or T-closeness that deal with this directly.
You could either use PROC IML to roll your own, or depending on how you define the calculations use PROC FREQ and some BASE SAS coding to get you there.
This isn't a trivial problem and there are entire software applications built to help mask/anonymize data.
If you have specific further questions please feel free to post more details.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.
Find more tutorials on the SAS Users YouTube channel.