<?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: calculation of risk difference in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/calculation-of-risk-difference/m-p/953250#M372463</link>
    <description>&lt;P&gt;Thanks for your reply. Do you know how data should be structured before using proc freq?&lt;/P&gt;</description>
    <pubDate>Wed, 11 Dec 2024 16:25:13 GMT</pubDate>
    <dc:creator>kalbo</dc:creator>
    <dc:date>2024-12-11T16:25:13Z</dc:date>
    <item>
      <title>calculation of risk difference</title>
      <link>https://communities.sas.com/t5/SAS-Programming/calculation-of-risk-difference/m-p/953227#M372455</link>
      <description>&lt;P&gt;Hi all, I need to add the calculated Risk Difference to listings of preferred terms for a trial. There are 2 arms: dose and placebo.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Per FDA standards, I would like to add risk difference with 95% confidence intervals. This can be added to either the AE data set, or to the proc report.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;prefterm&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dose&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; placebo&amp;nbsp; riskdifference&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Cold&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&lt;/P&gt;
&lt;P&gt;Flu&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;/P&gt;
&lt;P&gt;Headache&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2024 13:11:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/calculation-of-risk-difference/m-p/953227#M372455</guid>
      <dc:creator>kalbo</dc:creator>
      <dc:date>2024-12-11T13:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: calculation of risk difference</title>
      <link>https://communities.sas.com/t5/SAS-Programming/calculation-of-risk-difference/m-p/953231#M372459</link>
      <description>&lt;P&gt;You need&amp;nbsp;&lt;SPAN&gt;to specify the &lt;STRONG&gt;RISKDIFF&lt;/STRONG&gt; option in &lt;STRONG&gt;PROC FREQ&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;H1 class="xisDoc-title"&gt;The FREQ Procedure&lt;/H1&gt;
&lt;DIV class="Placeholders_tabbar__2jBEC"&gt;&lt;NAV class="TabBar_tabbar__1xNb7 navbar navbar-expand-md navbar-light" role="application"&gt;
&lt;DIV class="navbar-collapse collapse"&gt;
&lt;DIV class="navbar-nav"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/NAV&gt;&lt;/DIV&gt;
&lt;DIV id="statug.freq.freqriskdiff" class="aa-section"&gt;
&lt;DIV class="xisDoc-title"&gt;
&lt;DIV&gt;
&lt;DIV&gt;
&lt;H4 class="xisDoc-title"&gt;Risks and Risk Differences&lt;BR /&gt;&lt;A href="https://go.documentation.sas.com/doc/en/statug/15.2/statug_freq_details54.htm" target="_blank"&gt;https://go.documentation.sas.com/doc/en/statug/15.2/statug_freq_details54.htm&lt;/A&gt;&lt;/H4&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ciao, Koen&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 11 Dec 2024 13:38:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/calculation-of-risk-difference/m-p/953231#M372459</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2024-12-11T13:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: calculation of risk difference</title>
      <link>https://communities.sas.com/t5/SAS-Programming/calculation-of-risk-difference/m-p/953250#M372463</link>
      <description>&lt;P&gt;Thanks for your reply. Do you know how data should be structured before using proc freq?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2024 16:25:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/calculation-of-risk-difference/m-p/953250#M372463</guid>
      <dc:creator>kalbo</dc:creator>
      <dc:date>2024-12-11T16:25:13Z</dc:date>
    </item>
    <item>
      <title>Re: calculation of risk difference</title>
      <link>https://communities.sas.com/t5/SAS-Programming/calculation-of-risk-difference/m-p/953348#M372472</link>
      <description>&lt;P&gt;See documentation :&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://go.documentation.sas.com/doc/en/statug/latest/statug_freq_details01.htm" target="_blank"&gt;SAS Help Center: Inputting Frequency Counts&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;PROC FREQ can use either raw data or cell count data to produce frequency and crosstabulation tables.&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;Raw data&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN&gt;, also known as case-record data, report the data as one record for each subject or sample member.&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;Cell count data&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;report the data as a table, listing all possible combinations of data values along with the frequency counts.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="xisDoc-paragraph"&gt;The statistics for contingency tables include the following:&lt;/P&gt;
&lt;DIV class="xisDoc-listUnordered"&gt;
&lt;UL class="xisDoc-listUnordered" type="disc"&gt;
&lt;LI class="xisDoc-item"&gt;
&lt;P class="xisDoc-paraSimpleFirst"&gt;chi-square tests and measures&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="xisDoc-item"&gt;
&lt;P class="xisDoc-paraSimpleFirst"&gt;measures of association&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="xisDoc-item"&gt;
&lt;P class="xisDoc-paraSimpleFirst"&gt;&lt;STRONG&gt;risks (binomial proportions)&lt;/STRONG&gt; and &lt;STRONG&gt;risk differences&lt;/STRONG&gt; for&amp;nbsp;&lt;SPAN&gt;2 x 2 -&amp;nbsp;&lt;/SPAN&gt;tables&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="xisDoc-item"&gt;
&lt;P class="xisDoc-paraSimpleFirst"&gt;odds ratios and &lt;STRONG&gt;relative risks&lt;/STRONG&gt; for&lt;SPAN&gt;&amp;nbsp;2 x 2 -&amp;nbsp;&lt;/SPAN&gt;tables&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="xisDoc-item"&gt;
&lt;P class="xisDoc-paraSimpleFirst"&gt;tests for trend&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="xisDoc-item"&gt;
&lt;P class="xisDoc-paraSimpleFirst"&gt;tests and measures of agreement&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="xisDoc-item"&gt;
&lt;P class="xisDoc-paraSimpleFirst"&gt;Cochran-Mantel-Haenszel statistics&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/DIV&gt;
&lt;P&gt;&lt;SPAN&gt;Ciao, Koen&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2024 08:39:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/calculation-of-risk-difference/m-p/953348#M372472</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2024-12-12T08:39:55Z</dc:date>
    </item>
  </channel>
</rss>

