<?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 Randomizing Cell Size in SAS Customer Intelligence</title>
    <link>https://communities.sas.com/t5/SAS-Customer-Intelligence/Randomizing-Cell-Size/m-p/371168#M510</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hello&amp;nbsp; ..&amp;nbsp; please can you give me some tips&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a monthly campaign, with about 200,000 qualifying customers&amp;nbsp; (all filters applied)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But, I only need a cell size of 20,000 every month&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My problem is this&amp;nbsp; :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems that (in optimization) the customers are being sorted by the Subject ID,&amp;nbsp;all of the scenario rules are being applied,&lt;/P&gt;&lt;P&gt;and then the first 20,000 customers are selected&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Which&amp;nbsp;means that my selection of monthly customers only vary from Subject ID : A to H&amp;nbsp; ..&amp;nbsp;&lt;/P&gt;&lt;P&gt;It never selects&amp;nbsp;customers from Subject ID : H to Z&amp;nbsp; ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please advise how to randomize during Optimization (I guess)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Gerda&lt;/P&gt;</description>
    <pubDate>Wed, 28 Jun 2017 08:13:12 GMT</pubDate>
    <dc:creator>Gerda</dc:creator>
    <dc:date>2017-06-28T08:13:12Z</dc:date>
    <item>
      <title>Randomizing Cell Size</title>
      <link>https://communities.sas.com/t5/SAS-Customer-Intelligence/Randomizing-Cell-Size/m-p/371168#M510</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hello&amp;nbsp; ..&amp;nbsp; please can you give me some tips&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a monthly campaign, with about 200,000 qualifying customers&amp;nbsp; (all filters applied)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But, I only need a cell size of 20,000 every month&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My problem is this&amp;nbsp; :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems that (in optimization) the customers are being sorted by the Subject ID,&amp;nbsp;all of the scenario rules are being applied,&lt;/P&gt;&lt;P&gt;and then the first 20,000 customers are selected&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Which&amp;nbsp;means that my selection of monthly customers only vary from Subject ID : A to H&amp;nbsp; ..&amp;nbsp;&lt;/P&gt;&lt;P&gt;It never selects&amp;nbsp;customers from Subject ID : H to Z&amp;nbsp; ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please advise how to randomize during Optimization (I guess)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Gerda&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2017 08:13:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Customer-Intelligence/Randomizing-Cell-Size/m-p/371168#M510</guid>
      <dc:creator>Gerda</dc:creator>
      <dc:date>2017-06-28T08:13:12Z</dc:date>
    </item>
    <item>
      <title>Re: Randomizing Cell Size</title>
      <link>https://communities.sas.com/t5/SAS-Customer-Intelligence/Randomizing-Cell-Size/m-p/371746#M516</link>
      <description>&lt;P&gt;Gerda,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From your post, I understand that you are looking at the mo_solution file and there is &lt;U&gt;no&lt;/U&gt; customer with subject ID: H to Z. Is this the situation?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could it be that for example, you are maximizing profit and customer A to H are the ones with the highest possible profit?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Which algorithm are you using: analytical or priority- based scenario?&lt;/P&gt;
&lt;P&gt;Could you list your other scenario rules? Do you have contact rules?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Patricia&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2017 14:48:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Customer-Intelligence/Randomizing-Cell-Size/m-p/371746#M516</guid>
      <dc:creator>PatriciaNeri</dc:creator>
      <dc:date>2017-06-29T14:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: Randomizing Cell Size</title>
      <link>https://communities.sas.com/t5/SAS-Customer-Intelligence/Randomizing-Cell-Size/m-p/371987#M517</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi&amp;nbsp;Patricia&amp;nbsp; ..&amp;nbsp; Yes you are 100% correct&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi am using priority- based scenario&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And apart from the 20,000 constraint, I only have a Group Max Contact Policy of 1 Subject_ID&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Gerda&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2017 05:01:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Customer-Intelligence/Randomizing-Cell-Size/m-p/371987#M517</guid>
      <dc:creator>Gerda</dc:creator>
      <dc:date>2017-06-30T05:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: Randomizing Cell Size</title>
      <link>https://communities.sas.com/t5/SAS-Customer-Intelligence/Randomizing-Cell-Size/m-p/373157#M519</link>
      <description>&lt;P&gt;Hi Patricia&amp;nbsp; ..&amp;nbsp; Do you by any chance&amp;nbsp;have a solution for me yet&amp;nbsp; ?&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2017 06:22:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Customer-Intelligence/Randomizing-Cell-Size/m-p/373157#M519</guid>
      <dc:creator>Gerda</dc:creator>
      <dc:date>2017-07-05T06:22:35Z</dc:date>
    </item>
    <item>
      <title>Re: Randomizing Cell Size</title>
      <link>https://communities.sas.com/t5/SAS-Customer-Intelligence/Randomizing-Cell-Size/m-p/373334#M520</link>
      <description>&lt;P&gt;Gerda,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You are using Priority-based scenario optimization which works like this:&lt;/P&gt;
&lt;P&gt;Prioritization’s objective is to allocate customers based on the priorities of the campaigns you assigned to those campaigns. Prioritization first assigns as many leads as possible to the cells with Priority “1”, then to Priority “2” and so on. The algorithm checks simultaneously for the max 20,000 constraints and the contact policy you have.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You must have assigned the priorities in such a way that the customers A-H have the highest priority until there are 20,000 customers in the solution.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to change the solution you are obtaining, you could do several things (which one you choose will depend on the business problem you want to solve):&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Change the optimization method from priority based scenario to analytical method. You could do this if you have analytical (probabilities, churns, etc.) at the customer level for the different campaigns.&lt;/LI&gt;
&lt;LI&gt;Leave the priority based scenario, but change the priorities of your campaigns. For example, if customer A-C are in campaignOne, customer D-H in campaignTwo, customer …., customer P-Z in campaignTen then you could change the priorities to campaignTen_priority=1, campaignNine_priority=2, campaignTwo_priority=9, campaignOne_priority=10, and so on.&lt;/LI&gt;
&lt;LI&gt;Leave the priority based scenario, leave the priorities of your campaigns as you have them, but add min lead constraints to the campaigns. Right now, you just have one constraints that says max 20 leads overall; you could add these constraints: “at least 5000 leads for campaignTen”, “at least 2000 leads for campaignNine”, and so on. If you decide to apply this option, you must make sure that you have at least as many leads &lt;STRONG&gt;&lt;U&gt;eligible&lt;/U&gt;&lt;/STRONG&gt; for each campaign as the minimum number of leads you are requesting for that campaign.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Patricia&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2017 15:22:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Customer-Intelligence/Randomizing-Cell-Size/m-p/373334#M520</guid>
      <dc:creator>PatriciaNeri</dc:creator>
      <dc:date>2017-07-05T15:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: Randomizing Cell Size</title>
      <link>https://communities.sas.com/t5/SAS-Customer-Intelligence/Randomizing-Cell-Size/m-p/374139#M522</link>
      <description>&lt;P&gt;Hi Gerda,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;According to SAS MA user guide on the optimization methods (page 186 for MA 6.5):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/10206iEBF07C7C92EE696D/image-size/original?v=1.0&amp;amp;px=-1" border="0" alt="Screen Shot 2017-07-07 at 23.06.16.png" title="Screen Shot 2017-07-07 at 23.06.16.png" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please note the highlighted part. What is the customer ranking? Let's search further in the document, here we are:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/10205i075B1F8D5E51164F/image-size/original?v=1.0&amp;amp;px=-1" border="0" alt="Screen Shot 2017-07-07 at 23.01.11.png" title="Screen Shot 2017-07-07 at 23.01.11.png" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, I think you only need to set up a random sort order in your communications. There may be no out-of-the-box "random sort" option like in lthe&amp;nbsp;Limit node, but can always create c calculated item using the "ranuni" function and sort by it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 08 Jul 2017 03:11:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Customer-Intelligence/Randomizing-Cell-Size/m-p/374139#M522</guid>
      <dc:creator>Dmitry_Alergant</dc:creator>
      <dc:date>2017-07-08T03:11:59Z</dc:date>
    </item>
    <item>
      <title>Re: Randomizing Cell Size</title>
      <link>https://communities.sas.com/t5/SAS-Customer-Intelligence/Randomizing-Cell-Size/m-p/374381#M523</link>
      <description>&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp; Thank you&amp;nbsp; !!&amp;nbsp; ..&amp;nbsp; Thank you&amp;nbsp; !!&amp;nbsp; ..&amp;nbsp; Thank you&amp;nbsp; !!&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jul 2017 06:02:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Customer-Intelligence/Randomizing-Cell-Size/m-p/374381#M523</guid>
      <dc:creator>Gerda</dc:creator>
      <dc:date>2017-07-10T06:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: Randomizing Cell Size</title>
      <link>https://communities.sas.com/t5/SAS-Customer-Intelligence/Randomizing-Cell-Size/m-p/374483#M524</link>
      <description>&lt;P&gt;Dmitriy,&lt;/P&gt;
&lt;P&gt;If the method is prioritization and it is selecting customers from A-H, that selection won’t change even when you rank on customer rankings. The solution still be customers from A-H, their order might be different, but still the solution will never have customers from Subject ID : H to Z&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jul 2017 13:03:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Customer-Intelligence/Randomizing-Cell-Size/m-p/374483#M524</guid>
      <dc:creator>PatriciaNeri</dc:creator>
      <dc:date>2017-07-10T13:03:31Z</dc:date>
    </item>
    <item>
      <title>Re: Randomizing Cell Size</title>
      <link>https://communities.sas.com/t5/SAS-Customer-Intelligence/Randomizing-Cell-Size/m-p/378231#M535</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What Gerda wanted is actually a very logical business requirement and expectation, and Patricia's last answer surprised me.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Our clients rarely use the Priority-based Scenario method (more often it's either a full-blown SAS MO Analytical Scenario, or no scenarios at all),&amp;nbsp;so I decided to recheck the method that Dmitry was talking about.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The purpose of the experiment is to select 20,000 random customers out of 200,000 satisfying filtering. The constraint is set in the optimization script. And for random sampling, he used the function of random generation of the number "ranuni".&lt;/P&gt;&lt;P&gt;Created a simple campaign:&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/10443i29B52894DA05E18A/image-size/original?v=1.0&amp;amp;px=-1" border="0" alt="1.png" title="1.png" /&gt;&lt;/P&gt;&lt;P&gt;This campaign was included in the optimization and in the scenario, limited the number of customers to 20,000.&lt;/P&gt;&lt;P&gt;Without the use of sorting by random value, a data set was obtained as in Gerda. In my case from A-C.&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/10444iA8D1CE728649F87B/image-size/original?v=1.0&amp;amp;px=-1" border="0" alt="2.png" title="2.png" /&gt;&lt;/P&gt;&lt;P&gt;Added a computed element that uses the “ranuni” function in the export field and sorted by it.&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/10445iECFDDAFD4831008D/image-size/original?v=1.0&amp;amp;px=-1" border="0" alt="3.png" title="3.png" /&gt;&lt;/P&gt;&lt;P&gt;As a result, customers were randomly allocated A-Z.&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/10446iF96FC0AA2259EC15/image-size/original?v=1.0&amp;amp;px=-1" border="0" alt="4.png" title="4.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2017 16:19:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Customer-Intelligence/Randomizing-Cell-Size/m-p/378231#M535</guid>
      <dc:creator>Sergey_t1a</dc:creator>
      <dc:date>2017-07-21T16:19:05Z</dc:date>
    </item>
    <item>
      <title>Re: Randomizing Cell Size</title>
      <link>https://communities.sas.com/t5/SAS-Customer-Intelligence/Randomizing-Cell-Size/m-p/378250#M537</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sergey,&lt;/P&gt;
&lt;P&gt;Thanks for participating in this discussion. The key issue here is that Gerda is using the priority-based scenario, not the analytical scenario.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The scenario described by Gerda has these characteristics&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;She used the priority – based scenario and customers A to D are the ones with the highest ranking.&lt;/LI&gt;
&lt;LI&gt;There is one constraint: max 20,000 leads&lt;/LI&gt;
&lt;LI&gt;There is one Max/Min contact policy of at most one per subject_ID&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;Based on her reply, &lt;STRONG&gt;we know that the campaigns the customers A to&amp;nbsp;D are assigned are the ones that have the highest priorities, &lt;/STRONG&gt;that is why once 20,000 customers are selected there is no need to continue selecting customers from E to Z.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;About &amp;nbsp;Priority – based scenario:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;It is a greedy algorithm that considers each campaign in &lt;STRONG&gt;&lt;I&gt;priority&lt;/I&gt;&lt;/STRONG&gt; order:&lt;/LI&gt;
&lt;LI&gt;Fills each campaign according to the customer rank for that campaign.&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Once the max constraint (either cell-size or budget) for that campaign is met, then the algorithm proceeds to the next campaign.&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;-Follows this process until either all the constraints are met OR it runs out of customers to allocate.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2017 17:03:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Customer-Intelligence/Randomizing-Cell-Size/m-p/378250#M537</guid>
      <dc:creator>PatriciaNeri</dc:creator>
      <dc:date>2017-07-21T17:03:02Z</dc:date>
    </item>
    <item>
      <title>Re: Randomizing Cell Size</title>
      <link>https://communities.sas.com/t5/SAS-Customer-Intelligence/Randomizing-Cell-Size/m-p/388527#M571</link>
      <description>&lt;P&gt;&lt;SPAN&gt;In the experiment we used Priority-based scenario.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="4.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/14520i9E38A34D3C4C11EA/image-size/large?v=v2&amp;amp;px=999" role="button" title="4.png" alt="4.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I was really interested in whether the sample was sorted by subject_id and whether it was possible to change this behavior.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;As the experiment showed, this is easily solved using ranuni.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2017 16:48:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Customer-Intelligence/Randomizing-Cell-Size/m-p/388527#M571</guid>
      <dc:creator>Sergey_t1a</dc:creator>
      <dc:date>2017-08-16T16:48:59Z</dc:date>
    </item>
  </channel>
</rss>

