<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How do i scramble the subject id across the datasets without making any change to actual subject in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-do-i-scramble-the-subject-id-across-the-datasets-without/m-p/784065#M250132</link>
    <description>&lt;P&gt;So you want consistent anonymization across a number of datasets?&lt;/P&gt;</description>
    <pubDate>Sat, 04 Dec 2021 10:55:51 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2021-12-04T10:55:51Z</dc:date>
    <item>
      <title>How do i scramble the subject id across the datasets without making any change to actual subject id?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-i-scramble-the-subject-id-across-the-datasets-without/m-p/784049#M250126</link>
      <description>&lt;P&gt;I have 4 datasets - A,B,C,D. Each dataset has around 500 observations. The subjects need to be scrambled within the available subject ID's. For example Actual subjects are 101,102,103,104 , they need to be scrambled as 103,101,104,102 . I am instructed to merge 4 datasets and apply scrambling for those which have subjects in dataset A. For example if dataset A has 101 as subject id and any of the datasets B,C or D has 101 as Subject id it should be scrambled with same number. Unmatched subjects should remain as it is .&lt;/P&gt;&lt;P&gt;Eg 1.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT color="#000000"&gt;A-101 B-101 C-101 D-101&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;-Actual subjects.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;A-103&amp;nbsp; B-103 C-103 D-103 - Scrambled subjects should be same across the datasets for a&amp;nbsp; particular subject.&lt;/P&gt;&lt;P&gt;Eg 2.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT color="#FF0000"&gt;A-104&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;B-105 C-109&lt;FONT color="#FF0000"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;D-104&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;- Actual subjects&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;FONT color="#FF0000"&gt;A-107&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;B-108 C-106&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT color="#FF0000"&gt;D-107&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;- Please observe scrambling for Dataset A and D.&lt;/P&gt;&lt;P&gt;Please help me with this requirement .&lt;/P&gt;</description>
      <pubDate>Sat, 04 Dec 2021 07:29:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-i-scramble-the-subject-id-across-the-datasets-without/m-p/784049#M250126</guid>
      <dc:creator>KemarRoach</dc:creator>
      <dc:date>2021-12-04T07:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: How do i scramble the subject id across the datasets without making any change to actual subject</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-i-scramble-the-subject-id-across-the-datasets-without/m-p/784065#M250132</link>
      <description>&lt;P&gt;So you want consistent anonymization across a number of datasets?&lt;/P&gt;</description>
      <pubDate>Sat, 04 Dec 2021 10:55:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-i-scramble-the-subject-id-across-the-datasets-without/m-p/784065#M250132</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-12-04T10:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: How do i scramble the subject id across the datasets without making any change to actual subject</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-i-scramble-the-subject-id-across-the-datasets-without/m-p/784099#M250148</link>
      <description>Are all 4 files guaranteed to have the same set of IDs or will there be IDs in some data sets that are not in others? What do you mean by "not change to actual subject id"? Can you show that with a before and after data set please?&lt;BR /&gt;&lt;BR /&gt;Here's an example on creating an entirely randomized IDs:&lt;BR /&gt;&lt;A href="https://gist.github.com/statgeek/fd94b0b6e78815430c1340e8c19f8644" target="_blank"&gt;https://gist.github.com/statgeek/fd94b0b6e78815430c1340e8c19f8644&lt;/A&gt;</description>
      <pubDate>Sat, 04 Dec 2021 17:39:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-i-scramble-the-subject-id-across-the-datasets-without/m-p/784099#M250148</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-12-04T17:39:59Z</dc:date>
    </item>
    <item>
      <title>Re: How do i scramble the subject id across the datasets without making any change to actual subject</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-i-scramble-the-subject-id-across-the-datasets-without/m-p/784115#M250160</link>
      <description>&lt;P&gt;Agreeing with&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&amp;nbsp;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think this is easy to do, but the question is not 100% clear to me neither.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
      <pubDate>Sat, 04 Dec 2021 19:06:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-i-scramble-the-subject-id-across-the-datasets-without/m-p/784115#M250160</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2021-12-04T19:06:11Z</dc:date>
    </item>
  </channel>
</rss>

