<?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 using PROC REG to check collinearity for logistic regression with #event/#trials dependenet variable in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/using-PROC-REG-to-check-collinearity-for-logistic-regression/m-p/397685#M20736</link>
    <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I understand that I can check collinearity for logistic regreesion by using Porc REG. I hit a snag when trying to do it. My response for a logistci regression is coded as # event / # trials. It turns out that proc REG does not accept this type of format for the response. So I decided to use the proportion as the dependent variable to check for collinearity in PROC REG.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is that when I run the logistic regression with the dependent variable coded as #event/#trials i get totally diffrente results (paramater estimates, SE, p-values) from the logistic when compared to the logistic run with the dependent variable coded as the proportion. I want to keep the # event / # trials as the format for my response for the logistic. Can I use the collinearity test obtained from PROC REG by using the proportion as dependent, given that # event / # trials vs. proportion produce different results?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any way to circumvent this problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Marcel&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 21 Sep 2017 06:20:02 GMT</pubDate>
    <dc:creator>marcel</dc:creator>
    <dc:date>2017-09-21T06:20:02Z</dc:date>
    <item>
      <title>using PROC REG to check collinearity for logistic regression with #event/#trials dependenet variable</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/using-PROC-REG-to-check-collinearity-for-logistic-regression/m-p/397685#M20736</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I understand that I can check collinearity for logistic regreesion by using Porc REG. I hit a snag when trying to do it. My response for a logistci regression is coded as # event / # trials. It turns out that proc REG does not accept this type of format for the response. So I decided to use the proportion as the dependent variable to check for collinearity in PROC REG.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is that when I run the logistic regression with the dependent variable coded as #event/#trials i get totally diffrente results (paramater estimates, SE, p-values) from the logistic when compared to the logistic run with the dependent variable coded as the proportion. I want to keep the # event / # trials as the format for my response for the logistic. Can I use the collinearity test obtained from PROC REG by using the proportion as dependent, given that # event / # trials vs. proportion produce different results?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any way to circumvent this problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Marcel&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Sep 2017 06:20:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/using-PROC-REG-to-check-collinearity-for-logistic-regression/m-p/397685#M20736</guid>
      <dc:creator>marcel</dc:creator>
      <dc:date>2017-09-21T06:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: using PROC REG to check collinearity for logistic regression with #event/#trials dependenet vari</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/using-PROC-REG-to-check-collinearity-for-logistic-regression/m-p/397742#M20737</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use proportion or binary variable in proc reg to check &lt;SPAN&gt;collinearity using VIF. Because this does not involve dependent variable in collinearity check. Once you have identified the highly correlated variable then use logistic regression model&amp;nbsp;for further analysis.&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Sep 2017 11:32:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/using-PROC-REG-to-check-collinearity-for-logistic-regression/m-p/397742#M20737</guid>
      <dc:creator>stat_sas</dc:creator>
      <dc:date>2017-09-21T11:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: using PROC REG to check collinearity for logistic regression with #event/#trials dependenet vari</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/using-PROC-REG-to-check-collinearity-for-logistic-regression/m-p/397756#M20738</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/118515"&gt;@marcel&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Hello all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I understand that I can check collinearity for logistic regreesion by using Porc REG. I hit a snag when trying to do it. My response for a logistci regression is coded as # event / # trials. It turns out that proc REG does not accept this type of format for the response. So I decided to use the proportion as the dependent variable to check for collinearity in PROC REG.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The problem is that when I run the logistic regression with the dependent variable coded as #event/#trials i get totally diffrente results (paramater estimates, SE, p-values) from the logistic when compared to the logistic run with the dependent variable coded as the proportion. I want to keep the # event / # trials as the format for my response for the logistic. Can I use the collinearity test obtained from PROC REG by using the proportion as dependent, given that # event / # trials vs. proportion produce different results?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there any way to circumvent this problem?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I suspect you get different results because of different sample sizes in each cell. You can (and should) use the events / trials form of the PROC LOGISTIC MODEL statement. In PROC REG, make the dependent variable a binary 0 or 1, and then replicate the row as many times as #trials. The Y value is not used in checking for collinearity.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another approach entirely is to perform Partial Least Squares Regression with binary 0/1 response, and then the problem of collinearity is handled by PLS, no need to eliminate variables.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Sep 2017 13:00:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/using-PROC-REG-to-check-collinearity-for-logistic-regression/m-p/397756#M20738</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2017-09-21T13:00:33Z</dc:date>
    </item>
    <item>
      <title>Re: using PROC REG to check collinearity for logistic regression with #event/#trials dependenet vari</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/using-PROC-REG-to-check-collinearity-for-logistic-regression/m-p/397776#M20741</link>
      <description>&lt;P&gt;PaigeMiller,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is a really clear and very informative answer. Thank you very much for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Marcel&lt;/P&gt;</description>
      <pubDate>Thu, 21 Sep 2017 13:42:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/using-PROC-REG-to-check-collinearity-for-logistic-regression/m-p/397776#M20741</guid>
      <dc:creator>marcel</dc:creator>
      <dc:date>2017-09-21T13:42:44Z</dc:date>
    </item>
    <item>
      <title>Re: using PROC REG to check collinearity for logistic regression with #event/#trials dependenet vari</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/using-PROC-REG-to-check-collinearity-for-logistic-regression/m-p/397791#M20744</link>
      <description>&lt;P&gt;See the collinearity section of &lt;A href="http://support.sas.com/kb/32471" target="_self"&gt;this note&lt;/A&gt;. Note that the events/trials syntax can be used in PROC GENMOD just like in PROC LOGISTIC.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Sep 2017 14:50:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/using-PROC-REG-to-check-collinearity-for-logistic-regression/m-p/397791#M20744</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2017-09-21T14:50:52Z</dc:date>
    </item>
    <item>
      <title>Re: using PROC REG to check collinearity for logistic regression with #event/#trials dependenet vari</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/using-PROC-REG-to-check-collinearity-for-logistic-regression/m-p/397925#M20749</link>
      <description>&lt;P&gt;Sir StatDave_sas,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem I had is that for collinearity diagnostic I have to use PROC REG, as recommened in other SAS notes, which does not accept the&amp;nbsp; #event/#trial format for the response. I am coding the response as 0, 1, as suggested by PaigeMiller. PROC REG does accept this coding for the response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your observation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Marcel&lt;/P&gt;</description>
      <pubDate>Thu, 21 Sep 2017 20:45:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/using-PROC-REG-to-check-collinearity-for-logistic-regression/m-p/397925#M20749</guid>
      <dc:creator>marcel</dc:creator>
      <dc:date>2017-09-21T20:45:34Z</dc:date>
    </item>
    <item>
      <title>Re: using PROC REG to check collinearity for logistic regression with #event/#trials dependenet vari</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/using-PROC-REG-to-check-collinearity-for-logistic-regression/m-p/398104#M20754</link>
      <description>&lt;P&gt;You can use PROC REG, and that is in fact what is done in the &lt;A href="http://support.sas.com/kb/32471" target="_self"&gt;note I referred to&lt;/A&gt;.&amp;nbsp; But as described there, proper evaluation of collinearity in a logistic model requires a weighted analysis in PROC REG. I encourage you to carefully and fully read through the collinearity section. PROC GENMOD is used to produce the necessary weights for a variety of model types. In the case of a logistic model, the necessary weights are just p*(1-p), so they could be produced from saving the predicted probabilities from the fitted model followed by a DATA step to compute these weights.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Sep 2017 14:12:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/using-PROC-REG-to-check-collinearity-for-logistic-regression/m-p/398104#M20754</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2017-09-22T14:12:05Z</dc:date>
    </item>
  </channel>
</rss>

