<?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 Crude and adjusted OR in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Crude-and-adjusted-OR/m-p/801873#M315612</link>
    <description>&lt;P&gt;I am trying to determine the Odds ratio of the association between the number of hpv shots and poverty status adjusting for age, race, and sex. we have grouped the number of shots by 0-1 and&amp;gt;=2 and using the poverty status&amp;nbsp;Above Poverty &amp;gt;$&lt;SPAN class=""&gt;&lt;STRONG&gt;75&lt;/STRONG&gt;&lt;/SPAN&gt;k as our reference. This is the code ive been trying to use but it gives me an error message of "invalid reference value for incpov1" and a syntax error for my event statement&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN class=""&gt;&lt;STRONG&gt;logistic&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN class=""&gt;data&lt;/SPAN&gt; = puf.nisteenpuf19 &lt;SPAN class=""&gt;descending&lt;/SPAN&gt;;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;class&lt;/SPAN&gt;&lt;SPAN class=""&gt; incpov1 (&lt;/SPAN&gt;&lt;SPAN class=""&gt;ref&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;"Above Poverty &amp;gt;$75k"&lt;SPAN class=""&gt;) / &lt;/SPAN&gt;&lt;SPAN class=""&gt;param&lt;/SPAN&gt;&lt;SPAN class=""&gt;=ref;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;model&lt;/SPAN&gt; hpvi_group(&lt;SPAN class=""&gt;event&lt;/SPAN&gt;= &lt;SPAN class=""&gt;"0-1"&lt;/SPAN&gt;&amp;nbsp;"&amp;gt;=2") = incpov1 age sex raceethk;&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;SPAN class=""&gt;;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 13 Mar 2022 17:00:10 GMT</pubDate>
    <dc:creator>kyla123</dc:creator>
    <dc:date>2022-03-13T17:00:10Z</dc:date>
    <item>
      <title>Crude and adjusted OR</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Crude-and-adjusted-OR/m-p/801873#M315612</link>
      <description>&lt;P&gt;I am trying to determine the Odds ratio of the association between the number of hpv shots and poverty status adjusting for age, race, and sex. we have grouped the number of shots by 0-1 and&amp;gt;=2 and using the poverty status&amp;nbsp;Above Poverty &amp;gt;$&lt;SPAN class=""&gt;&lt;STRONG&gt;75&lt;/STRONG&gt;&lt;/SPAN&gt;k as our reference. This is the code ive been trying to use but it gives me an error message of "invalid reference value for incpov1" and a syntax error for my event statement&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN class=""&gt;&lt;STRONG&gt;logistic&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN class=""&gt;data&lt;/SPAN&gt; = puf.nisteenpuf19 &lt;SPAN class=""&gt;descending&lt;/SPAN&gt;;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;class&lt;/SPAN&gt;&lt;SPAN class=""&gt; incpov1 (&lt;/SPAN&gt;&lt;SPAN class=""&gt;ref&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;"Above Poverty &amp;gt;$75k"&lt;SPAN class=""&gt;) / &lt;/SPAN&gt;&lt;SPAN class=""&gt;param&lt;/SPAN&gt;&lt;SPAN class=""&gt;=ref;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;model&lt;/SPAN&gt; hpvi_group(&lt;SPAN class=""&gt;event&lt;/SPAN&gt;= &lt;SPAN class=""&gt;"0-1"&lt;/SPAN&gt;&amp;nbsp;"&amp;gt;=2") = incpov1 age sex raceethk;&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;SPAN class=""&gt;;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 13 Mar 2022 17:00:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Crude-and-adjusted-OR/m-p/801873#M315612</guid>
      <dc:creator>kyla123</dc:creator>
      <dc:date>2022-03-13T17:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: Crude and adjusted OR</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Crude-and-adjusted-OR/m-p/801876#M315615</link>
      <description>&lt;P&gt;What are the actual values (formatted) in your data set puf.nisteenpuf19? Did you type the ref= properly? Does it match exactly?&lt;/P&gt;</description>
      <pubDate>Sun, 13 Mar 2022 18:07:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Crude-and-adjusted-OR/m-p/801876#M315615</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-03-13T18:07:54Z</dc:date>
    </item>
    <item>
      <title>Re: Crude and adjusted OR</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Crude-and-adjusted-OR/m-p/801960#M315662</link>
      <description>I'm surprised Sex or Race are not also categorical variables in the CLASS statement. &lt;BR /&gt;&lt;BR /&gt;Please show the actual log. &lt;BR /&gt;&lt;BR /&gt;REF= value should be the formatted value and must match exactly. If you're not certain, run a PROC FREQ on the INCPOV1 variable and post that output. &lt;BR /&gt;</description>
      <pubDate>Mon, 14 Mar 2022 15:50:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Crude-and-adjusted-OR/m-p/801960#M315662</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-03-14T15:50:33Z</dc:date>
    </item>
  </channel>
</rss>

