<?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: Stepwise logistic regression in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Stepwise-logistic-regression/m-p/576300#M28291</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/268201"&gt;@lcmichael_unc&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;If I may pursue this just one more step (poor word choice), only the intercept is in the model when the first predictor is entered, which is immediately removed and the model development terminates.&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can I explain everything that STEPWISE does? No, I can't.&lt;/P&gt;</description>
    <pubDate>Wed, 24 Jul 2019 17:53:49 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2019-07-24T17:53:49Z</dc:date>
    <item>
      <title>Stepwise logistic regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Stepwise-logistic-regression/m-p/576247#M28284</link>
      <description>&lt;P&gt;I am attempting to use the stepwise selection method to formulate a parsimonious model from 30 covariates, a dichotomous outcome, and 177 observations. SLENTRY=SLSTAY=0.1 and the initial, univariate Chi-square scores show 10 variables meeting the entry criterion. However, two predictors with the largest Chi-square scores each terminate the stepwise process because they both fail (P&amp;gt;0.6) the predictor retention criterion, once entered and the output states "Model building terminates because the last effect entered is removed by the Wald statistic criterion". If I exclude these two predictors from the stepwise selection, the model proceeds as &lt;EM&gt;expected&lt;/EM&gt; until no additional predictors meet the entry criterion. I have two questions: 1) Why does a predictor with a very large Chi-square score, and p=0.0007, fail to be retained in the stepwise model? and 2) Is it statistically-defensible to exclude predictors from the stepwise process with large Chi-square scores and proceed as I have described above? All advice and citations accepted with gratitude.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2019 16:46:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Stepwise-logistic-regression/m-p/576247#M28284</guid>
      <dc:creator>lcmichael_unc</dc:creator>
      <dc:date>2019-07-24T16:46:04Z</dc:date>
    </item>
    <item>
      <title>Re: Stepwise logistic regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Stepwise-logistic-regression/m-p/576266#M28286</link>
      <description>To run models that are reliable you usually need 25 obs per covariate. You would need 25*30 = 750 observations to run this model at minimum, assuming none of your covariates are categorical. You don't have enough data to run what you want. I would consider doing a PLS regression instead.</description>
      <pubDate>Wed, 24 Jul 2019 17:13:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Stepwise-logistic-regression/m-p/576266#M28286</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-07-24T17:13:45Z</dc:date>
    </item>
    <item>
      <title>Re: Stepwise logistic regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Stepwise-logistic-regression/m-p/576270#M28287</link>
      <description>&lt;P&gt;Stepwise regression is what I call a counter-intuitive method. It adds variables into the model because they meet some significance criterion, and then it can remove that same variable in the next step (or later step) because it no longer meets the significance criterion. How can that be? How does that make sense? Why would you want to use such a procedure? How would you explain it to someone?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to hear what people say about it, go to your favorite internet search engine and type in "problems with stepwise regression" and read what people say.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What is happening is that when you have correlated predictor variables (as your 30 variables are), the presence of (for example) X7 in the model affects and changes the co-efficients of X1-X6 , and so when the coefficients change, the p-values change and a variable that was significant without X7 in the model can become not significant when X7 is in the model.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, what should a conscientious data analyst do? My OPINION is that you should not use any form of Stepwise regression (not stepwise, not forward, not backward). Instead, I use Partial Least Squares regression (PROC PLS in SAS) when I have many correlated X variables, and in PLS, a variable that is a good predictor remains a good predictor even when other variables are entered into (or removed from) the model. But wait — PROC PLS only works on continuous Y variables, it doesn't handle the logistic case. There is nothing in SAS that will perform Logistic PLS. There is a paper which explains the Logistic PLS algorithm, and I have written a SAS macro that performs Logistic PLS based upon this paper. I like the way it works in these situations, but I don't think my employer would want me to share the macro.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So what should you do? Well, I don't know. There is R code that performs Logistic PLS, if that's something that would help.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2019 17:26:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Stepwise-logistic-regression/m-p/576270#M28287</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-07-24T17:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: Stepwise logistic regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Stepwise-logistic-regression/m-p/576281#M28288</link>
      <description>&lt;P&gt;I did suggest that SAS produce a PROC that performs Logistic PLS, but no one has voted for it &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SASware-Ballot-Ideas/Logistic-version-of-PROC-PLS/idi-p/485503" target="_blank"&gt;https://communities.sas.com/t5/SASware-Ballot-Ideas/Logistic-version-of-PROC-PLS/idi-p/485503&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2019 17:31:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Stepwise-logistic-regression/m-p/576281#M28288</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-07-24T17:31:15Z</dc:date>
    </item>
    <item>
      <title>Re: Stepwise logistic regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Stepwise-logistic-regression/m-p/576290#M28289</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri',sans-serif; color: #1f497d;"&gt;That’s a splendid response. Thank you. Now I have to convince a client.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2019 17:48:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Stepwise-logistic-regression/m-p/576290#M28289</guid>
      <dc:creator>lcmichael_unc</dc:creator>
      <dc:date>2019-07-24T17:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: Stepwise logistic regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Stepwise-logistic-regression/m-p/576296#M28290</link>
      <description>&lt;P&gt;If I may pursue this just one more step (poor word choice), only the intercept is in the model when the first predictor is entered, which is immediately removed and the model development terminates.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2019 17:52:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Stepwise-logistic-regression/m-p/576296#M28290</guid>
      <dc:creator>lcmichael_unc</dc:creator>
      <dc:date>2019-07-24T17:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: Stepwise logistic regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Stepwise-logistic-regression/m-p/576300#M28291</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/268201"&gt;@lcmichael_unc&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;If I may pursue this just one more step (poor word choice), only the intercept is in the model when the first predictor is entered, which is immediately removed and the model development terminates.&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can I explain everything that STEPWISE does? No, I can't.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2019 17:53:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Stepwise-logistic-regression/m-p/576300#M28291</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-07-24T17:53:49Z</dc:date>
    </item>
    <item>
      <title>Re: Stepwise logistic regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Stepwise-logistic-regression/m-p/576302#M28292</link>
      <description>&lt;P&gt;Humor is an excellent explanation. Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2019 17:55:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Stepwise-logistic-regression/m-p/576302#M28292</guid>
      <dc:creator>lcmichael_unc</dc:creator>
      <dc:date>2019-07-24T17:55:42Z</dc:date>
    </item>
    <item>
      <title>Re: Stepwise logistic regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Stepwise-logistic-regression/m-p/576393#M28299</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/268201"&gt;@lcmichael_unc&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;If I may pursue this just one more step (poor word choice), only the intercept is in the model when the first predictor is entered, which is immediately removed and the model development terminates.&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;What does the log say?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would not be surprised to have something that relates to &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;'s comment about sample size.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2019 22:27:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Stepwise-logistic-regression/m-p/576393#M28299</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-07-24T22:27:39Z</dc:date>
    </item>
    <item>
      <title>Re: Stepwise logistic regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Stepwise-logistic-regression/m-p/576563#M28300</link>
      <description>&lt;P&gt;The log is silent...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;FONT&gt;NOTE: PROC LOGISTIC is modeling the probability that SVR12=1.&lt;BR /&gt;NOTE: Convergence criterion (GCONV=1E-8) satisfied in Step 0.&lt;BR /&gt;NOTE: Convergence criterion (GCONV=1E-8) satisfied in Step 1.&lt;BR /&gt;NOTE: Convergence criterion (GCONV=1E-8) satisfied in Step 2.&lt;BR /&gt;NOTE: LACKFIT is ignored since there is no explanatory variable in the model.&lt;BR /&gt;NOTE: The data set WORK.RSQUARE has 1 observations and 7 variables.&lt;BR /&gt;NOTE: The data set WORK.PARAMEST has 6 observations and 9 variables.&lt;BR /&gt;NOTE: The data set WORK.MODELINFO has 5 observations and 3 variables.&lt;BR /&gt;NOTE: The data set WORK.GOF has 2 observations and 5 variables.&lt;BR /&gt;NOTE: The data set WORK.ODDSRAT has 2 observations and 5 variables.&lt;BR /&gt;NOTE: The data set WORK.NOBS has 2 observations and 6 variables.&lt;BR /&gt;NOTE: There were 174 observations read from the data set FR190301.MITT_GT_VF.&lt;BR /&gt;NOTE: PROCEDURE LOGISTIC used (Total process time):&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; real time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.18 seconds&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cpu time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.14 seconds&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;...and I wish it were not so.&lt;/DIV&gt;</description>
      <pubDate>Thu, 25 Jul 2019 12:47:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Stepwise-logistic-regression/m-p/576563#M28300</guid>
      <dc:creator>lcmichael_unc</dc:creator>
      <dc:date>2019-07-25T12:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: Stepwise logistic regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Stepwise-logistic-regression/m-p/576575#M28301</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/268201"&gt;@lcmichael_unc&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;If I may pursue this just one more step (poor word choice), only the intercept is in the model when the first predictor is entered, which is immediately removed and the model development terminates.&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;What does the log say?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would not be surprised to have something that relates to &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;'s comment about sample size.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;In my opinion, this is a deficiency of the method of stepwise regression, and has nothing to do with sample size.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2019 13:08:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Stepwise-logistic-regression/m-p/576575#M28301</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-07-25T13:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: Stepwise logistic regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Stepwise-logistic-regression/m-p/576581#M28302</link>
      <description>Opinion gratefully noted.</description>
      <pubDate>Thu, 25 Jul 2019 13:36:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Stepwise-logistic-regression/m-p/576581#M28302</guid>
      <dc:creator>lcmichael_unc</dc:creator>
      <dc:date>2019-07-25T13:36:28Z</dc:date>
    </item>
  </channel>
</rss>

