<?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: Repeated values in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Repeated-values/m-p/350399#M81439</link>
    <description>&lt;P&gt;Because there are repeated lab values the study participants can be either virally suppressed or currently in-care depending on the latest lab value i.e.&amp;nbsp;test_date&lt;/P&gt;</description>
    <pubDate>Sun, 16 Apr 2017 22:30:16 GMT</pubDate>
    <dc:creator>Juli13</dc:creator>
    <dc:date>2017-04-16T22:30:16Z</dc:date>
    <item>
      <title>Repeated values</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Repeated-values/m-p/350394#M81435</link>
      <description>&lt;P&gt;A hypothetical study would like to determine what percentage of their participants are currently in-care and what percentage are currently virally suppressed.&amp;nbsp; You have a hypothetical dataset that contains repeated laboratory results for each client (i.e. multiple rows of data per client).&amp;nbsp; Variables include:&amp;nbsp; client_id, test_date, test_type, test_result.&amp;nbsp; Please describe how you would calculate the desired percentages. Please include specific functions (coding) that you would use in SAS to complete the analysis.&lt;/P&gt;</description>
      <pubDate>Sun, 16 Apr 2017 22:01:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Repeated-values/m-p/350394#M81435</guid>
      <dc:creator>Juli13</dc:creator>
      <dc:date>2017-04-16T22:01:45Z</dc:date>
    </item>
    <item>
      <title>Re: Repeated values</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Repeated-values/m-p/350395#M81436</link>
      <description>&lt;P&gt;You have:&amp;nbsp;&lt;SPAN&gt;client_id, test_date, test_type, test_result&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What, in those variables, defines that someone is&amp;nbsp;&lt;SPAN&gt;currently in-care andvirally suppressed?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Art, CEO, AnalystFinder.com&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 16 Apr 2017 22:13:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Repeated-values/m-p/350395#M81436</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2017-04-16T22:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: Repeated values</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Repeated-values/m-p/350396#M81437</link>
      <description>&lt;P&gt;&lt;SPAN&gt;test_result determine that someone is&amp;nbsp;currently in-care or virally suppressed.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;test_result = positive = currently in-care&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;test_result = negative = virally suppressed&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 16 Apr 2017 22:20:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Repeated-values/m-p/350396#M81437</guid>
      <dc:creator>Juli13</dc:creator>
      <dc:date>2017-04-16T22:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: Repeated values</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Repeated-values/m-p/350397#M81438</link>
      <description>&lt;P&gt;Can they only be one, the other or neither of the two?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Art, CEO, AnalystFinder.com&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;p.s. You'll get more informative info if you provide two data steps, one that shows example data, and the other that shows the file you'd like to create based on your example data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 16 Apr 2017 22:25:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Repeated-values/m-p/350397#M81438</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2017-04-16T22:25:54Z</dc:date>
    </item>
    <item>
      <title>Re: Repeated values</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Repeated-values/m-p/350399#M81439</link>
      <description>&lt;P&gt;Because there are repeated lab values the study participants can be either virally suppressed or currently in-care depending on the latest lab value i.e.&amp;nbsp;test_date&lt;/P&gt;</description>
      <pubDate>Sun, 16 Apr 2017 22:30:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Repeated-values/m-p/350399#M81439</guid>
      <dc:creator>Juli13</dc:creator>
      <dc:date>2017-04-16T22:30:16Z</dc:date>
    </item>
    <item>
      <title>Please help</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Repeated-values/m-p/350400#M81441</link>
      <description>&lt;P&gt;&lt;SPAN&gt;A hypothetical study would like to determine what percentage of their participants are currently in-care and what percentage are currently virally suppressed.&amp;nbsp; You have a hypothetical dataset that contains repeated laboratory results for each client (i.e. multiple rows of data per client).&amp;nbsp; Variables include:&amp;nbsp; client_id, test_date, test_type, test_result.&amp;nbsp; Please describe how you would calculate the desired percentages. Please include specific functions (coding) that you would use in SAS to complete the analysis.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 16 Apr 2017 22:46:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Repeated-values/m-p/350400#M81441</guid>
      <dc:creator>Juli13</dc:creator>
      <dc:date>2017-04-16T22:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: Repeated values</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Repeated-values/m-p/350403#M81440</link>
      <description>&lt;P&gt;1. Use proc sort to put the data in the order of Patient and, within patient, descending date order.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Use either proc sort with nodupkey on Patient, of a datastep, outputting only the first (most recent) record for each patient&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3. Run a proc freq to get the counts and percentages&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Art, CEO, AnalystFinder.com&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 16 Apr 2017 23:27:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Repeated-values/m-p/350403#M81440</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2017-04-16T23:27:36Z</dc:date>
    </item>
    <item>
      <title>Re: Please help</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Repeated-values/m-p/350404#M81442</link>
      <description>&lt;P&gt;I think I already answered this in the thread at:&amp;nbsp;&lt;A href="https://communities.sas.com/t5/Base-SAS-Programming/Repeated-values/m-p/350399#M81439" target="_blank"&gt;https://communities.sas.com/t5/Base-SAS-Programming/Repeated-values/m-p/350399#M81439&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Art, CEO, AnalystFinder.com&lt;/P&gt;</description>
      <pubDate>Sun, 16 Apr 2017 23:46:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Repeated-values/m-p/350404#M81442</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2017-04-16T23:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: Repeated values</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Repeated-values/m-p/350419#M81448</link>
      <description>&lt;P&gt;Thank you so much for your help!&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2017 01:26:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Repeated-values/m-p/350419#M81448</guid>
      <dc:creator>Juli13</dc:creator>
      <dc:date>2017-04-17T01:26:29Z</dc:date>
    </item>
  </channel>
</rss>

