<?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: how to find out association between two variables by using proc logistic in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/how-to-find-out-association-between-two-variables-by-using-proc/m-p/622903#M19861</link>
    <description>&lt;P&gt;Usually, I understand the word association to mean a contingency table, such as would be produced by PROC FREQ.&lt;/P&gt;
&lt;P&gt;Example: &lt;A href="https://documentation.sas.com/?docsetId=statug&amp;amp;docsetVersion=15.1&amp;amp;docsetTarget=statug_freq_examples05.htm&amp;amp;locale=en" target="_blank" rel="noopener"&gt;https://documentation.sas.com/?docsetId=statug&amp;amp;docsetVersion=15.1&amp;amp;docsetTarget=statug_freq_examples05.htm&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In your simple case with 2 levels of each variable, this may be the same as your PROC LOGISTIC code, I don't remember the exact math anymore.&lt;/P&gt;</description>
    <pubDate>Thu, 06 Feb 2020 23:48:01 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2020-02-06T23:48:01Z</dc:date>
    <item>
      <title>how to find out association between two variables by using proc logistic</title>
      <link>https://communities.sas.com/t5/New-SAS-User/how-to-find-out-association-between-two-variables-by-using-proc/m-p/622893#M19860</link>
      <description>&lt;P&gt;Hello all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My data looks like below:&lt;/P&gt;&lt;P&gt;id hdl_hi age_hi&lt;BR /&gt;2&amp;nbsp; &amp;nbsp; 1&amp;nbsp; &amp;nbsp;1&lt;BR /&gt;3&amp;nbsp; &amp;nbsp; 0&amp;nbsp; &amp;nbsp;1&lt;BR /&gt;4&amp;nbsp; &amp;nbsp; 0&amp;nbsp; &amp;nbsp;1&lt;BR /&gt;5&amp;nbsp; &amp;nbsp; 1&amp;nbsp; &amp;nbsp;1&lt;BR /&gt;6&amp;nbsp; &amp;nbsp; 0&amp;nbsp; &amp;nbsp;1&lt;BR /&gt;7&amp;nbsp; &amp;nbsp; 1&amp;nbsp; &amp;nbsp;1&lt;BR /&gt;8&amp;nbsp; &amp;nbsp; 0&amp;nbsp; &amp;nbsp;1&lt;BR /&gt;9&amp;nbsp; &amp;nbsp; 0&amp;nbsp; &amp;nbsp;1&lt;BR /&gt;11&amp;nbsp; 1&amp;nbsp; &amp;nbsp;1&lt;BR /&gt;12&amp;nbsp; 1&amp;nbsp; &amp;nbsp;1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying below code to find out association between hdl and age. Could you please confirm that is this correct procedure? and where to look for association details?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc logistic data=step1;&lt;BR /&gt;class age_hi(param=ref ref="1");&lt;BR /&gt;model hdl_hi (event="1")=age_hi;&lt;BR /&gt;ods output fitstatistics=log2ratio_full&lt;BR /&gt;globaltests=df_full;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below are the stats produced from my code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 299px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/35905i9C7DCF10F72737D5/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture 1.PNG" style="width: 323px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/35906iEC2C4D48417376FF/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture 1.PNG" alt="Capture 1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Adithya&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2020 23:02:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/how-to-find-out-association-between-two-variables-by-using-proc/m-p/622893#M19860</guid>
      <dc:creator>chinna0369</dc:creator>
      <dc:date>2020-02-06T23:02:35Z</dc:date>
    </item>
    <item>
      <title>Re: how to find out association between two variables by using proc logistic</title>
      <link>https://communities.sas.com/t5/New-SAS-User/how-to-find-out-association-between-two-variables-by-using-proc/m-p/622903#M19861</link>
      <description>&lt;P&gt;Usually, I understand the word association to mean a contingency table, such as would be produced by PROC FREQ.&lt;/P&gt;
&lt;P&gt;Example: &lt;A href="https://documentation.sas.com/?docsetId=statug&amp;amp;docsetVersion=15.1&amp;amp;docsetTarget=statug_freq_examples05.htm&amp;amp;locale=en" target="_blank" rel="noopener"&gt;https://documentation.sas.com/?docsetId=statug&amp;amp;docsetVersion=15.1&amp;amp;docsetTarget=statug_freq_examples05.htm&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In your simple case with 2 levels of each variable, this may be the same as your PROC LOGISTIC code, I don't remember the exact math anymore.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2020 23:48:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/how-to-find-out-association-between-two-variables-by-using-proc/m-p/622903#M19861</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-02-06T23:48:01Z</dc:date>
    </item>
  </channel>
</rss>

