<?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: Logistic Regression Forecasting in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Logistic-Regression-Forecasting/m-p/371685#M19473</link>
    <description>&lt;P&gt;I don't understand what you mean.&lt;/P&gt;
&lt;P&gt;You mean SOCRE a new dataset ?&lt;/P&gt;
&lt;P&gt;use SCORE statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;model ........&lt;/P&gt;
&lt;P&gt;score data=new_data .....&lt;/P&gt;</description>
    <pubDate>Thu, 29 Jun 2017 13:46:47 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2017-06-29T13:46:47Z</dc:date>
    <item>
      <title>Logistic Regression Forecasting</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Logistic-Regression-Forecasting/m-p/371466#M19469</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the following code using Logistic Regression on this dependent variable 'Stay', 1 means customer did stay; 0 means customer didnot stay. And several independent variables as below:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Proc Logistic Data=Work.Data1;&lt;BR /&gt;Class Member Travel_Agency;&lt;BR /&gt;Model Stay = Length_of_Stay Booking_Lead Member Travel_Agency Member*Travel_Agency / expb;&lt;BR /&gt;output out=Work.Data2&amp;nbsp;p=pi_hat;&lt;/P&gt;&lt;P&gt;Where Arrival_Date between '01MAY2014'd and '30APR2017'd;&lt;BR /&gt;Run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After it runs, in the output table, column 'pi_hat' is a value between 0 and 1. Does it mean it is more likely to be 'Stay' or 'Not Stay'? And how could I apply the result from logistic regression into future 'Arrival_Date'? Thanks!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2017 21:29:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Logistic-Regression-Forecasting/m-p/371466#M19469</guid>
      <dc:creator>Crubal</dc:creator>
      <dc:date>2017-06-28T21:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: Logistic Regression Forecasting</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Logistic-Regression-Forecasting/m-p/371674#M19470</link>
      <description>&lt;P&gt;'pi_hat' is Proability for Stay =0.&lt;/P&gt;
&lt;P&gt;If you want Stay =1 proability. try&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Model Stay(event='1') =&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2017 13:14:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Logistic-Regression-Forecasting/m-p/371674#M19470</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2017-06-29T13:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: Logistic Regression Forecasting</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Logistic-Regression-Forecasting/m-p/371680#M19471</link>
      <description>&lt;P&gt;Thanks Ksharp, I see.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And how could I apply it into future dates (from '01MAY2017' to '30APR2018') using 'pi_hat'?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2017 13:31:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Logistic-Regression-Forecasting/m-p/371680#M19471</guid>
      <dc:creator>Crubal</dc:creator>
      <dc:date>2017-06-29T13:31:02Z</dc:date>
    </item>
    <item>
      <title>Re: Logistic Regression Forecasting</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Logistic-Regression-Forecasting/m-p/371685#M19473</link>
      <description>&lt;P&gt;I don't understand what you mean.&lt;/P&gt;
&lt;P&gt;You mean SOCRE a new dataset ?&lt;/P&gt;
&lt;P&gt;use SCORE statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;model ........&lt;/P&gt;
&lt;P&gt;score data=new_data .....&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2017 13:46:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Logistic-Regression-Forecasting/m-p/371685#M19473</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2017-06-29T13:46:47Z</dc:date>
    </item>
  </channel>
</rss>

