<?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: Odds ratio tertile plots in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Odds-ratio-tertile-plots/m-p/652912#M31381</link>
    <description>&lt;P&gt;I think this is going to require a combination of ODS output and PROC SGPLOT or SGPANEL. You may want to look at some of the examples in the documentation. The SGPANEL gives a nice example of a 2x2 panel.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
    <pubDate>Wed, 03 Jun 2020 15:25:22 GMT</pubDate>
    <dc:creator>SteveDenham</dc:creator>
    <dc:date>2020-06-03T15:25:22Z</dc:date>
    <item>
      <title>Odds ratio tertile plots</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Odds-ratio-tertile-plots/m-p/652521#M31378</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have several tables and I'm trying to present some graphically&lt;/P&gt;
&lt;P&gt;I have just run adjusted logistic regressions&amp;nbsp;for 3 different response variables. Each response variable was run with&amp;nbsp;5 different main effects. For instance I did:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#000080"&gt;&lt;STRONG&gt;PROC&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT face="Courier New" size="2" color="#000080"&gt;logistic&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT face="Courier New" size="2" color="#0000ff"&gt;data&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;= work &lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;plots&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=oddsratio (&lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;logbase&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT face="Courier New" size="2" color="#008080"&gt;10&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;);&lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#008000"&gt;*final model;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;class&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; smoker(&lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;ref&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; = &lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#800080"&gt;"Yes"&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;) race2(&lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;ref&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; = &lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#800080"&gt;"1"&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;) Mixed_tert (&lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;ref&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#800080"&gt;'2'&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;) bsex (&lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;ref&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#800080"&gt;'0'&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;)/&lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;param&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=ref;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;MODEL&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; AGAc (&lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;event&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#800080"&gt;'1'&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;) = Mixed_tert smoker race2 bsex&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;; &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#000080"&gt;&lt;STRONG&gt;RUN&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#000080"&gt;&lt;STRONG&gt;PROC&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT face="Courier New" size="2" color="#000080"&gt;logistic&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT face="Courier New" size="2" color="#0000ff"&gt;data&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;= work &lt;FONT face="Courier New" size="2" color="#0000ff"&gt;plots&lt;/FONT&gt;=oddsratio (&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;logbase&lt;/FONT&gt;=&lt;STRONG&gt;&lt;FONT face="Courier New" size="2" color="#008080"&gt;10&lt;/FONT&gt;&lt;/STRONG&gt;); &lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#008000"&gt;*final model&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;class smoker(ref = "Yes") &amp;nbsp;race2(ref = "1")&amp;nbsp; Ovalo_tert (ref='2')/param=ref;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;MODEL&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; AGAc (&lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;event&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#800080"&gt;'1'&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;) = Ovalo_tert GA38 smoker race2&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#000080"&gt;&lt;STRONG&gt;RUN&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;; &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For each of the 3 response variables is it possible to have 5 columns of odds ratio plots, horizontally, (one for each main effect variable) and to include adjusted and unadjusted rather than the other variables in each model? Is it also possible to include the p values for trend?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would really&amp;nbsp; appreciate any help!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Many thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jun 2020 12:38:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Odds-ratio-tertile-plots/m-p/652521#M31378</guid>
      <dc:creator>catch18</dc:creator>
      <dc:date>2020-06-02T12:38:06Z</dc:date>
    </item>
    <item>
      <title>Re: Odds ratio tertile plots</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Odds-ratio-tertile-plots/m-p/652912#M31381</link>
      <description>&lt;P&gt;I think this is going to require a combination of ODS output and PROC SGPLOT or SGPANEL. You may want to look at some of the examples in the documentation. The SGPANEL gives a nice example of a 2x2 panel.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jun 2020 15:25:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Odds-ratio-tertile-plots/m-p/652912#M31381</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2020-06-03T15:25:22Z</dc:date>
    </item>
    <item>
      <title>Re: Odds ratio tertile plots</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Odds-ratio-tertile-plots/m-p/655641#M31459</link>
      <description>&lt;P&gt;Many thanks for the suggestions, Steve. I used ggplot2 to create them.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jun 2020 21:31:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Odds-ratio-tertile-plots/m-p/655641#M31459</guid>
      <dc:creator>catch18</dc:creator>
      <dc:date>2020-06-09T21:31:00Z</dc:date>
    </item>
  </channel>
</rss>

