<?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: Relrisk option not producing a  table in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Relrisk-option-not-producing-a-table/m-p/846075#M36856</link>
    <description>As Reeza pointed out .&lt;BR /&gt;RELRISK is only for 2x2 contingency table . &lt;BR /&gt;But yours is 3x2 .</description>
    <pubDate>Thu, 24 Nov 2022 04:20:51 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2022-11-24T04:20:51Z</dc:date>
    <item>
      <title>Relrisk option not producing a  table</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Relrisk-option-not-producing-a-table/m-p/846063#M36854</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;P&gt;I am using a proc freq to get a table with relative risk and odd ratios. However I have a 3x2 table. So I wanted to know if there was a way to remove 'N/A' out of my table.&amp;nbsp;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Sas Code:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;proc sort data=glow; by descending priorfrac descending fracture;
proc freq data=glow order=data; 
table priorfrac*fracture/chisq relrisk;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;This is what the output looks like&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2022-11-23 at 9.06.05 PM.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/77649iBA5320B41D22070F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2022-11-23 at 9.06.05 PM.png" alt="Screen Shot 2022-11-23 at 9.06.05 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2022-11-23 at 9.06.20 PM.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/77651i2A3493B5350B4E25/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2022-11-23 at 9.06.20 PM.png" alt="Screen Shot 2022-11-23 at 9.06.20 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2022 02:08:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Relrisk-option-not-producing-a-table/m-p/846063#M36854</guid>
      <dc:creator>MisterJenn</dc:creator>
      <dc:date>2022-11-24T02:08:32Z</dc:date>
    </item>
    <item>
      <title>Re: Relrisk option not producing a  table</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Relrisk-option-not-producing-a-table/m-p/846064#M36855</link>
      <description>&lt;P&gt;Add a WHERE statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;where priorfrac ne 'NA';&lt;/CODE&gt;&lt;/PRE&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/435394"&gt;@MisterJenn&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;I am using a proc freq to get a table with relative risk and odd ratios. However I have a 3x2 table. So I wanted to know if there was a way to remove 'N/A' out of my table.&amp;nbsp;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Sas Code:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=""&gt;proc sort data=glow; by descending priorfrac descending fracture;
proc freq data=glow order=data; 
table priorfrac*fracture/chisq relrisk;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;This is what the output looks like&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2022-11-23 at 9.06.05 PM.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/77649iBA5320B41D22070F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2022-11-23 at 9.06.05 PM.png" alt="Screen Shot 2022-11-23 at 9.06.05 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2022-11-23 at 9.06.20 PM.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/77651i2A3493B5350B4E25/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2022-11-23 at 9.06.20 PM.png" alt="Screen Shot 2022-11-23 at 9.06.20 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2022 02:38:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Relrisk-option-not-producing-a-table/m-p/846064#M36855</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-11-24T02:38:52Z</dc:date>
    </item>
    <item>
      <title>Re: Relrisk option not producing a  table</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Relrisk-option-not-producing-a-table/m-p/846075#M36856</link>
      <description>As Reeza pointed out .&lt;BR /&gt;RELRISK is only for 2x2 contingency table . &lt;BR /&gt;But yours is 3x2 .</description>
      <pubDate>Thu, 24 Nov 2022 04:20:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Relrisk-option-not-producing-a-table/m-p/846075#M36856</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2022-11-24T04:20:51Z</dc:date>
    </item>
  </channel>
</rss>

