<?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 create a predictive model using  test and train datasets available in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-create-a-predictive-model-using-test-and-train-datasets/m-p/357916#M18800</link>
    <description>&lt;P&gt;Assuming that your response is binary (eligible vs not), you would be fitting a logistic model. You can use PROC LOGISTIC to fit the model and the SCORE statement in that procedure to get predicted probabilities of eligibility for you test data set. &amp;nbsp;See the LOGISTIC documentation and examples there such as the "Scoring data sets" example. &amp;nbsp;Basic code would be like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc logistic data=train;&lt;/P&gt;
&lt;P&gt;model binary_response(event="Y") = predictor1 predictor2;&lt;/P&gt;
&lt;P&gt;score data=test out=mypreds;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;</description>
    <pubDate>Thu, 11 May 2017 14:29:17 GMT</pubDate>
    <dc:creator>StatDave</dc:creator>
    <dc:date>2017-05-11T14:29:17Z</dc:date>
    <item>
      <title>How to create a predictive model using  test and train datasets available</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-create-a-predictive-model-using-test-and-train-datasets/m-p/357864#M18791</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to create a basic model which would identify/predict customers those are eligible to get the loan so that these customers would be targeted by the customer care people.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please find the attachments for sample documents. I am new to modelling , so i would like to know how this can be done in SAS.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And i want to automate this finally to run on weekly/monthly basis.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;Vish&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2017 13:10:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-create-a-predictive-model-using-test-and-train-datasets/m-p/357864#M18791</guid>
      <dc:creator>Vish33</dc:creator>
      <dc:date>2017-05-11T13:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a predictive model using  test and train datasets available</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-create-a-predictive-model-using-test-and-train-datasets/m-p/357916#M18800</link>
      <description>&lt;P&gt;Assuming that your response is binary (eligible vs not), you would be fitting a logistic model. You can use PROC LOGISTIC to fit the model and the SCORE statement in that procedure to get predicted probabilities of eligibility for you test data set. &amp;nbsp;See the LOGISTIC documentation and examples there such as the "Scoring data sets" example. &amp;nbsp;Basic code would be like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc logistic data=train;&lt;/P&gt;
&lt;P&gt;model binary_response(event="Y") = predictor1 predictor2;&lt;/P&gt;
&lt;P&gt;score data=test out=mypreds;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2017 14:29:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-create-a-predictive-model-using-test-and-train-datasets/m-p/357916#M18800</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2017-05-11T14:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a predictive model using  test and train datasets available</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-create-a-predictive-model-using-test-and-train-datasets/m-p/357920#M18802</link>
      <description>&lt;P&gt;Thank you for your inputs. I will look into the Logistic documentation.&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2017 14:44:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-create-a-predictive-model-using-test-and-train-datasets/m-p/357920#M18802</guid>
      <dc:creator>Vish33</dc:creator>
      <dc:date>2017-05-11T14:44:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a predictive model using  test and train datasets available</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-create-a-predictive-model-using-test-and-train-datasets/m-p/358226#M18824</link>
      <description>&lt;P&gt;Also you could try Decision Tree.&lt;/P&gt;
&lt;P&gt;Check PROC HPSPLIT example .&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2017 13:19:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-create-a-predictive-model-using-test-and-train-datasets/m-p/358226#M18824</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2017-05-12T13:19:25Z</dc:date>
    </item>
  </channel>
</rss>

