<?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: Is there any way to check if my logistic regression is correct? in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Is-there-any-way-to-check-if-my-logistic-regression-is-correct/m-p/864779#M38206</link>
    <description>&lt;P&gt;I'm not sure what you mean by "correct" or why you need to check. SAS themselves (or is it SAS itself?) does thorough checking of the results of each procedure, so we don't generally have to do that checking. If the data going into your logistic regression is correct, and your code is correct, then I would be happy to assume that the results are correct. So that's what I would check, the data and the code.&lt;/P&gt;</description>
    <pubDate>Fri, 17 Mar 2023 10:15:24 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2023-03-17T10:15:24Z</dc:date>
    <item>
      <title>Is there any way to check if my logistic regression is correct?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Is-there-any-way-to-check-if-my-logistic-regression-is-correct/m-p/864726#M38201</link>
      <description>&lt;P&gt;I was wondering if there's anyway to check if the equation is correct. I know for linear regression you can check with residuals. Is there something similar for logistic regression?&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 02:51:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Is-there-any-way-to-check-if-my-logistic-regression-is-correct/m-p/864726#M38201</guid>
      <dc:creator>beleeve</dc:creator>
      <dc:date>2023-03-17T02:51:06Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any way to check if my logistic regression is correct?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Is-there-any-way-to-check-if-my-logistic-regression-is-correct/m-p/864779#M38206</link>
      <description>&lt;P&gt;I'm not sure what you mean by "correct" or why you need to check. SAS themselves (or is it SAS itself?) does thorough checking of the results of each procedure, so we don't generally have to do that checking. If the data going into your logistic regression is correct, and your code is correct, then I would be happy to assume that the results are correct. So that's what I would check, the data and the code.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 10:15:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Is-there-any-way-to-check-if-my-logistic-regression-is-correct/m-p/864779#M38206</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2023-03-17T10:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any way to check if my logistic regression is correct?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Is-there-any-way-to-check-if-my-logistic-regression-is-correct/m-p/864781#M38207</link>
      <description>&lt;P&gt;&lt;SPAN class="HwtZe"&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;The most important thing for logistic regression is to have 5 to 10 events for each explanatory variable.&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="HwtZe"&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;Example: if you have a variable to explain for N= 54 patients and&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;3 explanatory variables:&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="HwtZe"&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;Var1 = numerical age counts as 1&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="HwtZe"&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;Var2 = processing yes/no counts as 1&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="HwtZe"&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;Var3 = occupational category (n = 8 ) counts as 7&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="HwtZe"&gt; &lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;So you must have:&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;(1+1+7) x 5 = 45 &amp;lt; 54 patients (limit)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="HwtZe"&gt; &lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;(1+1+7) x10=90 &amp;lt; 54 patients (not good at all)&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;You have to think carefully before validating the model.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="HwtZe"&gt; &lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;Hope this can help you.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 10:24:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Is-there-any-way-to-check-if-my-logistic-regression-is-correct/m-p/864781#M38207</guid>
      <dc:creator>Nathalie1</dc:creator>
      <dc:date>2023-03-17T10:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any way to check if my logistic regression is correct?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Is-there-any-way-to-check-if-my-logistic-regression-is-correct/m-p/864805#M38210</link>
      <description>Correct for what ? Do you mean Goodness of fit for Logistic model ?&lt;BR /&gt;Check GOF and LACKFIT option of MODEL in PROC LOGISTIC .&lt;BR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13684"&gt;@Rick_SAS&lt;/a&gt; wrote a couple of blog about it before.</description>
      <pubDate>Fri, 17 Mar 2023 12:00:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Is-there-any-way-to-check-if-my-logistic-regression-is-correct/m-p/864805#M38210</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2023-03-17T12:00:36Z</dc:date>
    </item>
  </channel>
</rss>

