<?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: Any recommendations on this case of what model to use? in SAS Data Science</title>
    <link>https://communities.sas.com/t5/SAS-Data-Science/Any-recommendations-on-this-case-of-what-model-to-use/m-p/209332#M2863</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was suggesting simply modelling (and then scoring/calculating) the expected profit. (not probability) This expected profit would be conditional on all the explanatory variables (including the treatment).&lt;/P&gt;&lt;P&gt;Do you have a second target variables which is binary maybe that indicates if the treatment was accepted? &lt;/P&gt;&lt;P&gt;Could you show some example rows from your training data?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 May 2015 14:58:29 GMT</pubDate>
    <dc:creator>gergely_batho</dc:creator>
    <dc:date>2015-05-05T14:58:29Z</dc:date>
    <item>
      <title>Any recommendations on this case of what model to use?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Any-recommendations-on-this-case-of-what-model-to-use/m-p/209328#M2859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to find a suitable algorithm for a situation similar to uplift models (Y=0/1, Treatment=0/1) but in this case my treatment has 4 levels (1-4) representing different offers and my dependent is a continuous variable for which i am trying to predict the offer that will maximize its expected value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anybody have any recommendation what would suit the nature of this problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if further clarifications are needed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2015 20:40:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Any-recommendations-on-this-case-of-what-model-to-use/m-p/209328#M2859</guid>
      <dc:creator>chemicalab</dc:creator>
      <dc:date>2015-05-04T20:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: Any recommendations on this case of what model to use?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Any-recommendations-on-this-case-of-what-model-to-use/m-p/209329#M2860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What about simply building&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; a predictive model with the continuous variable as target&amp;nbsp;&amp;nbsp; and treatment and all other explanatory variables as inputs? Maybe forcing the treatment into the model if needed.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2015 21:29:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Any-recommendations-on-this-case-of-what-model-to-use/m-p/209329#M2860</guid>
      <dc:creator>gergely_batho</dc:creator>
      <dc:date>2015-05-04T21:29:09Z</dc:date>
    </item>
    <item>
      <title>Re: Any recommendations on this case of what model to use?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Any-recommendations-on-this-case-of-what-model-to-use/m-p/209330#M2861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think if you force treatment into the model, at the scoring phase you can score each obsevation 4 times with different treatment setting.&lt;/P&gt;&lt;P&gt;Then you can select the treatment that has the highest score for each obs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 12:50:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Any-recommendations-on-this-case-of-what-model-to-use/m-p/209330#M2861</guid>
      <dc:creator>gergely_batho</dc:creator>
      <dc:date>2015-05-05T12:50:00Z</dc:date>
    </item>
    <item>
      <title>Re: Any recommendations on this case of what model to use?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Any-recommendations-on-this-case-of-what-model-to-use/m-p/209331#M2862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then its a simple probability computed,I am looking for a conditional one&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 14:44:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Any-recommendations-on-this-case-of-what-model-to-use/m-p/209331#M2862</guid>
      <dc:creator>chemicalab</dc:creator>
      <dc:date>2015-05-05T14:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: Any recommendations on this case of what model to use?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Any-recommendations-on-this-case-of-what-model-to-use/m-p/209332#M2863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was suggesting simply modelling (and then scoring/calculating) the expected profit. (not probability) This expected profit would be conditional on all the explanatory variables (including the treatment).&lt;/P&gt;&lt;P&gt;Do you have a second target variables which is binary maybe that indicates if the treatment was accepted? &lt;/P&gt;&lt;P&gt;Could you show some example rows from your training data?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 14:58:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Any-recommendations-on-this-case-of-what-model-to-use/m-p/209332#M2863</guid>
      <dc:creator>gergely_batho</dc:creator>
      <dc:date>2015-05-05T14:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: Any recommendations on this case of what model to use?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Any-recommendations-on-this-case-of-what-model-to-use/m-p/209333#M2864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #ffffff;"&gt;"I was suggesting simply modelling (and then scoring/calculating) the expected profit. (not probability) This expected profit would be conditional on all the explanatory variables (including the treatment)."&amp;nbsp;&amp;nbsp; What type of algorithm do you suggest for this, any example syntax?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 15:07:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Any-recommendations-on-this-case-of-what-model-to-use/m-p/209333#M2864</guid>
      <dc:creator>chemicalab</dc:creator>
      <dc:date>2015-05-05T15:07:31Z</dc:date>
    </item>
    <item>
      <title>Re: Any recommendations on this case of what model to use?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Any-recommendations-on-this-case-of-what-model-to-use/m-p/209334#M2865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use use your favorite predictive model.&lt;/P&gt;&lt;P&gt;Maybe one of the simplest is linear regression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*Creating the model using observed data*/&lt;/P&gt;&lt;P&gt;proc glm data=sashelp.class(rename=(age=treatment));&lt;/P&gt;&lt;P&gt;&amp;nbsp; class treatment sex;&lt;/P&gt;&lt;P&gt;&amp;nbsp; model weight=treatment sex height treatment*height;&lt;/P&gt;&lt;P&gt;&amp;nbsp; code file='c:\temp\score.sas';&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*Data to be scored*/&lt;/P&gt;&lt;P&gt;data toScore;&lt;/P&gt;&lt;P&gt;input name:$8. sex:$1. height;&lt;/P&gt;&lt;P&gt;datalines;&lt;/P&gt;&lt;P&gt;Name1 F 55&lt;/P&gt;&lt;P&gt;Name2 M 65&lt;/P&gt;&lt;P&gt;Name3 F 80&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;/*Scoring*/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;data scored;&lt;/P&gt;&lt;P&gt;&amp;nbsp; keep name treatment p_weight;&lt;/P&gt;&lt;P&gt;&amp;nbsp; set toScore;&lt;/P&gt;&lt;P&gt;&amp;nbsp; do treatment=11 to 16;&lt;/P&gt;&lt;P&gt;&amp;nbsp; %include 'C:\temp\score.sas';&lt;/P&gt;&lt;P&gt;&amp;nbsp; output;&lt;/P&gt;&lt;P&gt;&amp;nbsp; end;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*Selecting the best treatment*/&lt;/P&gt;&lt;P&gt;proc sql;&lt;/P&gt;&lt;P&gt;&amp;nbsp; create table bestTreatment as&lt;/P&gt;&lt;P&gt;&amp;nbsp; select name, treatment, P_Weight&lt;/P&gt;&lt;P&gt;&amp;nbsp; from scored&lt;/P&gt;&lt;P&gt;&amp;nbsp; group by name&lt;/P&gt;&lt;P&gt;&amp;nbsp; having P_Weight=max(P_Weight);&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The same way you can use trees. Of course do not expect&amp;nbsp; the same parsimonious model, that is generated by an algorithm (e.g. UpLift Node in Enterprise Miner ) that creates splits directly maximizing treatment effectiveness.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 20:54:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Any-recommendations-on-this-case-of-what-model-to-use/m-p/209334#M2865</guid>
      <dc:creator>gergely_batho</dc:creator>
      <dc:date>2015-05-05T20:54:30Z</dc:date>
    </item>
    <item>
      <title>Re: Any recommendations on this case of what model to use?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Any-recommendations-on-this-case-of-what-model-to-use/m-p/209335#M2866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #ffffff;"&gt;"The same way you can use trees. Of course do not expect&amp;nbsp; the same parsimonious model, that is generated by an algorithm (e.g. UpLift Node in Enterprise Miner ) that creates splits directly maximizing treatment effectiveness"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #ffffff;"&gt;Yes that's exactly what I am after , an upgraded version of the uplift model&amp;nbsp; from 2 to 4 treatments, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #ffffff;"&gt;Thank you&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2015 05:56:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Any-recommendations-on-this-case-of-what-model-to-use/m-p/209335#M2866</guid>
      <dc:creator>chemicalab</dc:creator>
      <dc:date>2015-05-06T05:56:24Z</dc:date>
    </item>
  </channel>
</rss>

