<?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 adverse events - best way to count in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/adverse-events-best-way-to-count/m-p/712114#M219466</link>
    <description>&lt;P&gt;What is the best way to count AEs? I can't count any duplicates per subject in SOC and PT. Need to get max severity and closest relatedness (related to study drug or not related to study drug). Currently, I just make some occurrence flags and sum them in proc SQL get the n and percent from doing that and go through proc transpose and proc report. If someone knows a better way, I'm curious.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 18 Jan 2021 13:33:10 GMT</pubDate>
    <dc:creator>tarheel13</dc:creator>
    <dc:date>2021-01-18T13:33:10Z</dc:date>
    <item>
      <title>adverse events - best way to count</title>
      <link>https://communities.sas.com/t5/SAS-Programming/adverse-events-best-way-to-count/m-p/712114#M219466</link>
      <description>&lt;P&gt;What is the best way to count AEs? I can't count any duplicates per subject in SOC and PT. Need to get max severity and closest relatedness (related to study drug or not related to study drug). Currently, I just make some occurrence flags and sum them in proc SQL get the n and percent from doing that and go through proc transpose and proc report. If someone knows a better way, I'm curious.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2021 13:33:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/adverse-events-best-way-to-count/m-p/712114#M219466</guid>
      <dc:creator>tarheel13</dc:creator>
      <dc:date>2021-01-18T13:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: adverse events - best way to count</title>
      <link>https://communities.sas.com/t5/SAS-Programming/adverse-events-best-way-to-count/m-p/712117#M219467</link>
      <description>&lt;P&gt;This is not actually SAS related question, but you can get rid off some duplicates if you are using AEGRPID variable to group fluctuating AE's as with one Group ID. You can find more information from CDISC website.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2021 13:51:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/adverse-events-best-way-to-count/m-p/712117#M219467</guid>
      <dc:creator>Aku</dc:creator>
      <dc:date>2021-01-18T13:51:40Z</dc:date>
    </item>
    <item>
      <title>Re: adverse events - best way to count</title>
      <link>https://communities.sas.com/t5/SAS-Programming/adverse-events-best-way-to-count/m-p/712120#M219470</link>
      <description>&lt;P&gt;I disagree. I think it is SAS-related seeing how I use SAS to make AE summary tables. I don't have AEGRPID variable either.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2021 14:04:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/adverse-events-best-way-to-count/m-p/712120#M219470</guid>
      <dc:creator>tarheel13</dc:creator>
      <dc:date>2021-01-18T14:04:42Z</dc:date>
    </item>
    <item>
      <title>Re: adverse events - best way to count</title>
      <link>https://communities.sas.com/t5/SAS-Programming/adverse-events-best-way-to-count/m-p/712166#M219495</link>
      <description>PROC SQL distinct count is what I used to use or double PROC FREQ.  &lt;BR /&gt;It depends on how you store your data as well and code things which isn't always standardized.</description>
      <pubDate>Mon, 18 Jan 2021 17:11:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/adverse-events-best-way-to-count/m-p/712166#M219495</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-01-18T17:11:17Z</dc:date>
    </item>
    <item>
      <title>Re: adverse events - best way to count</title>
      <link>https://communities.sas.com/t5/SAS-Programming/adverse-events-best-way-to-count/m-p/712169#M219497</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lrackley_0-1610990428276.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/53610i3AC7C323365B07D3/image-size/large?v=v2&amp;amp;px=999" role="button" title="lrackley_0-1610990428276.png" alt="lrackley_0-1610990428276.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&amp;nbsp;do I have to do several different proc freqs to get this though? I have a top row for Any SOC Any PT and then I have SOC Any PT and then the rows under that SOC would be the PTs within that SOC. Cannot count duplicates in SOC and PT. If there is a duplicate, it has to be only the one with max severity and max relatedness.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2021 17:22:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/adverse-events-best-way-to-count/m-p/712169#M219497</guid>
      <dc:creator>tarheel13</dc:creator>
      <dc:date>2021-01-18T17:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: adverse events - best way to count</title>
      <link>https://communities.sas.com/t5/SAS-Programming/adverse-events-best-way-to-count/m-p/712172#M219499</link>
      <description>PROC TABULATE would do a table in that structure, not freq. Neither do distinct count as a specific measure, you'd still need at least one more step to handle that.  &lt;BR /&gt;&lt;BR /&gt;Personally, I keep my data processing separate from the reporting/display layer and pre-calculate similar to what you do. This way the display layer is separated and can be re-used more easily IMO. &lt;BR /&gt;&lt;BR /&gt;Roland used to maintain a good set of reporting utilities and macros here:&lt;BR /&gt;&lt;A href="http://www.datasavantconsulting.com/roland/Spectre/index.html" target="_blank"&gt;http://www.datasavantconsulting.com/roland/Spectre/index.html&lt;/A&gt;&lt;BR /&gt;He's deceased, so no support or updates but there are some good references there and an entire clinical reporting system in many ways.&lt;BR /&gt;&lt;BR /&gt;And there's the SAS Clinical Reporting package itself which should help with some of this. &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 18 Jan 2021 17:43:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/adverse-events-best-way-to-count/m-p/712172#M219499</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-01-18T17:43:04Z</dc:date>
    </item>
  </channel>
</rss>

