<?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 How to exclude redundant observations using specific subject ID numbers? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-exclude-redundant-observations-using-specific-subject-ID/m-p/396864#M278212</link>
    <description>&lt;P&gt;We have two data entry personnels to enter the questionnaire data. So each of the study subject for each variable has two observations entered by the two data entry persons and one final observation, which was audited by the 3rd person. How do I delete the first two observations and just keep the 3rd observation?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Subject_id&lt;/P&gt;&lt;P&gt;01-001--1 &amp;nbsp; &amp;nbsp; (want to delete this entered by the first data entry person)&lt;/P&gt;&lt;P&gt;01-001--2 &amp;nbsp; &amp;nbsp;&lt;SPAN&gt;&amp;nbsp;(&lt;/SPAN&gt;&lt;SPAN&gt;want to delete this entered by the &amp;nbsp;second data entry person)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;01-001 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(want to keep this in the final dataset)&lt;/P&gt;&lt;P&gt;01-002--1 &amp;nbsp; &amp;nbsp; (want to delete this entered by the first data entry person)&lt;/P&gt;&lt;P&gt;01-002--2 &amp;nbsp; &amp;nbsp;&lt;SPAN&gt;&amp;nbsp;(&lt;/SPAN&gt;&lt;SPAN&gt;want to delete this&amp;nbsp;entered by the &amp;nbsp;second data entry person)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;01-002 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(want to keep this in the final dataset)&lt;/P&gt;&lt;P&gt;01-003--1 &amp;nbsp; &amp;nbsp; (want to delete this entered by the first data entry person)&lt;/P&gt;&lt;P&gt;01-003--2 &amp;nbsp; &amp;nbsp;&lt;SPAN&gt;&amp;nbsp;(&lt;/SPAN&gt;&lt;SPAN&gt;want to delete this&amp;nbsp;entered by the &amp;nbsp;second data entry person)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;01-003 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(want to keep this in the final dataset)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;same thing for the rest of 120 study subjects.&amp;nbsp;etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I remove the subject ID numbers with "--1" and "--2"?&amp;nbsp;Thank you all.&lt;/P&gt;&lt;DIV class="branch"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="branch"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
    <pubDate>Mon, 18 Sep 2017 16:09:02 GMT</pubDate>
    <dc:creator>Denali</dc:creator>
    <dc:date>2017-09-18T16:09:02Z</dc:date>
    <item>
      <title>How to exclude redundant observations using specific subject ID numbers?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-exclude-redundant-observations-using-specific-subject-ID/m-p/396864#M278212</link>
      <description>&lt;P&gt;We have two data entry personnels to enter the questionnaire data. So each of the study subject for each variable has two observations entered by the two data entry persons and one final observation, which was audited by the 3rd person. How do I delete the first two observations and just keep the 3rd observation?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Subject_id&lt;/P&gt;&lt;P&gt;01-001--1 &amp;nbsp; &amp;nbsp; (want to delete this entered by the first data entry person)&lt;/P&gt;&lt;P&gt;01-001--2 &amp;nbsp; &amp;nbsp;&lt;SPAN&gt;&amp;nbsp;(&lt;/SPAN&gt;&lt;SPAN&gt;want to delete this entered by the &amp;nbsp;second data entry person)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;01-001 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(want to keep this in the final dataset)&lt;/P&gt;&lt;P&gt;01-002--1 &amp;nbsp; &amp;nbsp; (want to delete this entered by the first data entry person)&lt;/P&gt;&lt;P&gt;01-002--2 &amp;nbsp; &amp;nbsp;&lt;SPAN&gt;&amp;nbsp;(&lt;/SPAN&gt;&lt;SPAN&gt;want to delete this&amp;nbsp;entered by the &amp;nbsp;second data entry person)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;01-002 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(want to keep this in the final dataset)&lt;/P&gt;&lt;P&gt;01-003--1 &amp;nbsp; &amp;nbsp; (want to delete this entered by the first data entry person)&lt;/P&gt;&lt;P&gt;01-003--2 &amp;nbsp; &amp;nbsp;&lt;SPAN&gt;&amp;nbsp;(&lt;/SPAN&gt;&lt;SPAN&gt;want to delete this&amp;nbsp;entered by the &amp;nbsp;second data entry person)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;01-003 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(want to keep this in the final dataset)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;same thing for the rest of 120 study subjects.&amp;nbsp;etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I remove the subject ID numbers with "--1" and "--2"?&amp;nbsp;Thank you all.&lt;/P&gt;&lt;DIV class="branch"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="branch"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Mon, 18 Sep 2017 16:09:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-exclude-redundant-observations-using-specific-subject-ID/m-p/396864#M278212</guid>
      <dc:creator>Denali</dc:creator>
      <dc:date>2017-09-18T16:09:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to exclude redundant observations using specific subject ID numbers?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-exclude-redundant-observations-using-specific-subject-ID/m-p/396866#M278213</link>
      <description>&lt;P&gt;data step or Proc SQL,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;where length(strip(subject_id))=6;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 18 Sep 2017 16:19:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-exclude-redundant-observations-using-specific-subject-ID/m-p/396866#M278213</guid>
      <dc:creator>Haikuo</dc:creator>
      <dc:date>2017-09-18T16:19:15Z</dc:date>
    </item>
  </channel>
</rss>

