<?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: Proportion (risk) Difference Test in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Proportion-risk-Difference-Test/m-p/759774#M37002</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/391297"&gt;@Thalitacosta&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can add the &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/procstat/procstat_freq_syntax08.htm#procstat.freq.freqrdcolumn" target="_blank" rel="noopener"&gt;COLUMN=2&lt;/A&gt; riskdiff option&lt;/P&gt;
&lt;PRE&gt;&lt;FONT size="4"&gt;tables leaf*in_default / riskdiff(equal var=null &lt;STRONG&gt;&lt;FONT color="#3366FF"&gt;column=2&lt;/FONT&gt;&lt;/STRONG&gt;);&lt;/FONT&gt;&lt;/PRE&gt;
&lt;P&gt;to tell SAS that you want the calculation for the other column (i.e., &lt;FONT face="courier new,courier"&gt;in_default=1&lt;/FONT&gt;). The default is &lt;FONT face="courier new,courier"&gt;column=1&lt;/FONT&gt;, which in your case corresponds to &lt;FONT face="courier new,courier"&gt;in_default=0&lt;/FONT&gt;.&lt;/P&gt;</description>
    <pubDate>Thu, 05 Aug 2021 17:52:14 GMT</pubDate>
    <dc:creator>FreelanceReinh</dc:creator>
    <dc:date>2021-08-05T17:52:14Z</dc:date>
    <item>
      <title>Proportion (risk) Difference Test</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proportion-risk-Difference-Test/m-p/759764#M37001</link>
      <description>&lt;P&gt;The variable "in_default" has the observations 0 and 1. In results, table "Proportion (risk) Difference Test" calculates for "in_default" equal to 0. Is there how to obtain this table for "in_default" equal to 1?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Follow the code I used:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#000080"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT face="Courier New" size="3" color="#000080"&gt;freq&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT face="Courier New" size="3" color="#0000ff"&gt;data&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=test;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;weight&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; pd;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;tables&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; leaf*in_default / &lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;riskdiff&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;(&lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;equal&lt;/FONT&gt; &lt;FONT face="Courier New" size="3" color="#0000ff"&gt;var&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=null&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#000080"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Aug 2021 17:23:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proportion-risk-Difference-Test/m-p/759764#M37001</guid>
      <dc:creator>Thalitacosta</dc:creator>
      <dc:date>2021-08-05T17:23:41Z</dc:date>
    </item>
    <item>
      <title>Re: Proportion (risk) Difference Test</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proportion-risk-Difference-Test/m-p/759774#M37002</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/391297"&gt;@Thalitacosta&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can add the &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/procstat/procstat_freq_syntax08.htm#procstat.freq.freqrdcolumn" target="_blank" rel="noopener"&gt;COLUMN=2&lt;/A&gt; riskdiff option&lt;/P&gt;
&lt;PRE&gt;&lt;FONT size="4"&gt;tables leaf*in_default / riskdiff(equal var=null &lt;STRONG&gt;&lt;FONT color="#3366FF"&gt;column=2&lt;/FONT&gt;&lt;/STRONG&gt;);&lt;/FONT&gt;&lt;/PRE&gt;
&lt;P&gt;to tell SAS that you want the calculation for the other column (i.e., &lt;FONT face="courier new,courier"&gt;in_default=1&lt;/FONT&gt;). The default is &lt;FONT face="courier new,courier"&gt;column=1&lt;/FONT&gt;, which in your case corresponds to &lt;FONT face="courier new,courier"&gt;in_default=0&lt;/FONT&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Aug 2021 17:52:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proportion-risk-Difference-Test/m-p/759774#M37002</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2021-08-05T17:52:14Z</dc:date>
    </item>
  </channel>
</rss>

