<?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 Help, Attrition Model Performance in SAS. Thanks in SAS Data Science</title>
    <link>https://communities.sas.com/t5/SAS-Data-Science/Help-Attrition-Model-Performance-in-SAS-Thanks/m-p/123954#M1042</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have build an attrition model and I am evaluating its perfomance. I have sorted the probabilities from high to low, dividing the customers into ten &lt;BR /&gt;equally-sized groups called “deciles”, such that ten percent of the customer base is con-tained in each decile, and observing model performance in terms of attrition rate by decile. Using the code below..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; font-size: 10pt; background: white; font-family: 'Courier New';"&gt;proc&lt;/STRONG&gt; &lt;STRONG style="color: navy; font-size: 10pt; background: white; font-family: 'Courier New';"&gt;rank&lt;/STRONG&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;data&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;=OUT &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;groups&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;=&lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 10pt; background: white; font-family: 'Courier New';"&gt;10&lt;/STRONG&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;out&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;=OUT_DECILE &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;descending&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; P; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;ranks&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; decile;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; font-size: 10pt; background: white; font-family: 'Courier New';"&gt;run&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; font-size: 10pt; background: white; font-family: 'Courier New';"&gt;data&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; OUT_DECILE;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;set&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; OUT_DECILE;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;decile=decile+&lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 10pt; background: white; font-family: 'Courier New';"&gt;1&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; font-size: 10pt; background: white; font-family: 'Courier New';"&gt;run&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; font-size: 10pt; background: white; font-family: 'Courier New';"&gt;proc&lt;/STRONG&gt; &lt;STRONG style="color: navy; font-size: 10pt; background: white; font-family: 'Courier New';"&gt;means&lt;/STRONG&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;data&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;=OUT_DECILE &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;n&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;mean&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; LAPSE;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;class&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; decile;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; font-size: 10pt; background: white; font-family: 'Courier New';"&gt;run&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have run it first on the training dataset used to build model and I get this below. Then I have scored the validation dataset, and rank the probabilities again and I get this below. Shall I not get roughly the same % per decile? Is my model not performing well then? I have used the gain chart to compare Validation and Trainig but they looked fine? Your help woul be much appreciated . Many Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="256"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" colspan="4" height="33" style="border-right: black 0.5pt solid;" width="256"&gt;Analysis Variable&amp;nbsp; - LAPSE : Training Sample&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="34" width="64"&gt;Rank for Variable&lt;/TD&gt;&lt;TD class="xl69" rowspan="2" style="border-bottom: black 0.5pt solid;" width="64"&gt;N Obs&lt;/TD&gt;&lt;TD class="xl69" rowspan="2" style="border-bottom: black 0.5pt solid;" width="64"&gt;Decile Mean&lt;/TD&gt;&lt;TD class="xl70" rowspan="2" style="border-bottom: black 0.5pt solid;" width="64"&gt;Overall Mean&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl71" height="20" width="64"&gt;pred&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl74" height="20" style="border-top: medium none;" width="64"&gt;1&lt;/TD&gt;&lt;TD class="xl75" style="border-left: medium none; border-top: medium none;" width="64"&gt;20,986&lt;/TD&gt;&lt;TD class="xl76" style="border-left: medium none; border-top: medium none;" width="64"&gt;79%&lt;/TD&gt;&lt;TD class="xl77" style="border-left: medium none; border-top: medium none;" width="64"&gt;30%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl74" height="20" style="border-top: medium none;" width="64"&gt;2&lt;/TD&gt;&lt;TD class="xl75" style="border-left: medium none; border-top: medium none;" width="64"&gt;21,014&lt;/TD&gt;&lt;TD class="xl76" style="border-left: medium none; border-top: medium none;" width="64"&gt;70%&lt;/TD&gt;&lt;TD class="xl77" style="border-left: medium none; border-top: medium none;" width="64"&gt;30%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl74" height="20" style="border-top: medium none;" width="64"&gt;3&lt;/TD&gt;&lt;TD class="xl75" style="border-left: medium none; border-top: medium none;" width="64"&gt;20,999&lt;/TD&gt;&lt;TD class="xl76" style="border-left: medium none; border-top: medium none;" width="64"&gt;38%&lt;/TD&gt;&lt;TD class="xl77" style="border-left: medium none; border-top: medium none;" width="64"&gt;30%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl74" height="20" style="border-top: medium none;" width="64"&gt;4&lt;/TD&gt;&lt;TD class="xl75" style="border-left: medium none; border-top: medium none;" width="64"&gt;21,041&lt;/TD&gt;&lt;TD class="xl76" style="border-left: medium none; border-top: medium none;" width="64"&gt;29%&lt;/TD&gt;&lt;TD class="xl77" style="border-left: medium none; border-top: medium none;" width="64"&gt;30%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl74" height="20" style="border-top: medium none;" width="64"&gt;5&lt;/TD&gt;&lt;TD class="xl75" style="border-left: medium none; border-top: medium none;" width="64"&gt;17,839&lt;/TD&gt;&lt;TD class="xl76" style="border-left: medium none; border-top: medium none;" width="64"&gt;25%&lt;/TD&gt;&lt;TD class="xl77" style="border-left: medium none; border-top: medium none;" width="64"&gt;30%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl74" height="20" style="border-top: medium none;" width="64"&gt;6&lt;/TD&gt;&lt;TD class="xl75" style="border-left: medium none; border-top: medium none;" width="64"&gt;24,168&lt;/TD&gt;&lt;TD class="xl76" style="border-left: medium none; border-top: medium none;" width="64"&gt;22%&lt;/TD&gt;&lt;TD class="xl77" style="border-left: medium none; border-top: medium none;" width="64"&gt;30%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl74" height="20" style="border-top: medium none;" width="64"&gt;7&lt;/TD&gt;&lt;TD class="xl75" style="border-left: medium none; border-top: medium none;" width="64"&gt;20,952&lt;/TD&gt;&lt;TD class="xl76" style="border-left: medium none; border-top: medium none;" width="64"&gt;20%&lt;/TD&gt;&lt;TD class="xl77" style="border-left: medium none; border-top: medium none;" width="64"&gt;30%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl74" height="20" style="border-top: medium none;" width="64"&gt;8&lt;/TD&gt;&lt;TD class="xl75" style="border-left: medium none; border-top: medium none;" width="64"&gt;21,013&lt;/TD&gt;&lt;TD class="xl76" style="border-left: medium none; border-top: medium none;" width="64"&gt;12%&lt;/TD&gt;&lt;TD class="xl77" style="border-left: medium none; border-top: medium none;" width="64"&gt;30%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl74" height="20" style="border-top: medium none;" width="64"&gt;9&lt;/TD&gt;&lt;TD class="xl75" style="border-left: medium none; border-top: medium none;" width="64"&gt;20,998&lt;/TD&gt;&lt;TD class="xl76" style="border-left: medium none; border-top: medium none;" width="64"&gt;7%&lt;/TD&gt;&lt;TD class="xl77" style="border-left: medium none; border-top: medium none;" width="64"&gt;30%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl78" height="20" style="border-top: medium none;" width="64"&gt;10&lt;/TD&gt;&lt;TD class="xl79" style="border-left: medium none; border-top: medium none;" width="64"&gt;20,990&lt;/TD&gt;&lt;TD class="xl80" style="border-left: medium none; border-top: medium none;" width="64"&gt;5%&lt;/TD&gt;&lt;TD class="xl77" style="border-left: medium none; border-top: medium none;" width="64"&gt;30%&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="254"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" colspan="4" height="33" style="border-right: black 0.5pt solid;" width="254"&gt;Analysis Variable : LAPSE : Validation Sample&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="34" width="64"&gt;Rank for Variable&lt;/TD&gt;&lt;TD class="xl69" rowspan="2" style="border-bottom: black 0.5pt solid;" width="62"&gt;N Obs&lt;/TD&gt;&lt;TD class="xl69" rowspan="2" style="border-bottom: black 0.5pt solid;" width="64"&gt;Decile Mean&lt;/TD&gt;&lt;TD class="xl70" rowspan="2" style="border-bottom: black 0.5pt solid;" width="64"&gt;Overall Mean&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl71" height="20" width="64"&gt;pred&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl74" height="20" style="border-top: medium none;" width="64"&gt;1&lt;/TD&gt;&lt;TD class="xl75" style="border-left: medium none; border-top: medium none;" width="62"&gt;9,034&lt;/TD&gt;&lt;TD class="xl76" style="border-left: medium none; border-top: medium none;" width="64"&gt;100%&lt;/TD&gt;&lt;TD class="xl77" style="border-left: medium none; border-top: medium none;" width="64"&gt;21%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl74" height="20" style="border-top: medium none;" width="64"&gt;2&lt;/TD&gt;&lt;TD class="xl75" style="border-left: medium none; border-top: medium none;" width="62"&gt;9,034&lt;/TD&gt;&lt;TD class="xl76" style="border-left: medium none; border-top: medium none;" width="64"&gt;100%&lt;/TD&gt;&lt;TD class="xl77" style="border-left: medium none; border-top: medium none;" width="64"&gt;21%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl74" height="20" style="border-top: medium none;" width="64"&gt;3&lt;/TD&gt;&lt;TD class="xl75" style="border-left: medium none; border-top: medium none;" width="62"&gt;9,034&lt;/TD&gt;&lt;TD class="xl76" style="border-left: medium none; border-top: medium none;" width="64"&gt;13%&lt;/TD&gt;&lt;TD class="xl77" style="border-left: medium none; border-top: medium none;" width="64"&gt;21%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl74" height="20" style="border-top: medium none;" width="64"&gt;4&lt;/TD&gt;&lt;TD class="xl75" style="border-left: medium none; border-top: medium none;" width="62"&gt;8,968&lt;/TD&gt;&lt;TD class="xl76" style="border-left: medium none; border-top: medium none;" width="64"&gt;0%&lt;/TD&gt;&lt;TD class="xl77" style="border-left: medium none; border-top: medium none;" width="64"&gt;21%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl74" height="20" style="border-top: medium none;" width="64"&gt;5&lt;/TD&gt;&lt;TD class="xl75" style="border-left: medium none; border-top: medium none;" width="62"&gt;10,822&lt;/TD&gt;&lt;TD class="xl76" style="border-left: medium none; border-top: medium none;" width="64"&gt;0%&lt;/TD&gt;&lt;TD class="xl77" style="border-left: medium none; border-top: medium none;" width="64"&gt;21%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl74" height="20" style="border-top: medium none;" width="64"&gt;6&lt;/TD&gt;&lt;TD class="xl75" style="border-left: medium none; border-top: medium none;" width="62"&gt;7,312&lt;/TD&gt;&lt;TD class="xl76" style="border-left: medium none; border-top: medium none;" width="64"&gt;0%&lt;/TD&gt;&lt;TD class="xl77" style="border-left: medium none; border-top: medium none;" width="64"&gt;21%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl74" height="20" style="border-top: medium none;" width="64"&gt;7&lt;/TD&gt;&lt;TD class="xl75" style="border-left: medium none; border-top: medium none;" width="62"&gt;9,033&lt;/TD&gt;&lt;TD class="xl76" style="border-left: medium none; border-top: medium none;" width="64"&gt;0%&lt;/TD&gt;&lt;TD class="xl77" style="border-left: medium none; border-top: medium none;" width="64"&gt;21%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl74" height="20" style="border-top: medium none;" width="64"&gt;8&lt;/TD&gt;&lt;TD class="xl75" style="border-left: medium none; border-top: medium none;" width="62"&gt;9,014&lt;/TD&gt;&lt;TD class="xl76" style="border-left: medium none; border-top: medium none;" width="64"&gt;0%&lt;/TD&gt;&lt;TD class="xl77" style="border-left: medium none; border-top: medium none;" width="64"&gt;21%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl74" height="20" style="border-top: medium none;" width="64"&gt;9&lt;/TD&gt;&lt;TD class="xl75" style="border-left: medium none; border-top: medium none;" width="62"&gt;9,055&lt;/TD&gt;&lt;TD class="xl76" style="border-left: medium none; border-top: medium none;" width="64"&gt;0%&lt;/TD&gt;&lt;TD class="xl77" style="border-left: medium none; border-top: medium none;" width="64"&gt;21%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl78" height="20" style="border-top: medium none;" width="64"&gt;10&lt;/TD&gt;&lt;TD class="xl79" style="border-left: medium none; border-top: medium none;" width="62"&gt;9,034&lt;/TD&gt;&lt;TD class="xl80" style="border-left: medium none; border-top: medium none;" width="64"&gt;0%&lt;/TD&gt;&lt;TD class="xl77" style="border-left: medium none; border-top: medium none;" width="64"&gt;21%&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hve attached the gain chart. Many Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Apr 2013 14:28:15 GMT</pubDate>
    <dc:creator>Question</dc:creator>
    <dc:date>2013-04-29T14:28:15Z</dc:date>
    <item>
      <title>Help, Attrition Model Performance in SAS. Thanks</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Help-Attrition-Model-Performance-in-SAS-Thanks/m-p/123954#M1042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have build an attrition model and I am evaluating its perfomance. I have sorted the probabilities from high to low, dividing the customers into ten &lt;BR /&gt;equally-sized groups called “deciles”, such that ten percent of the customer base is con-tained in each decile, and observing model performance in terms of attrition rate by decile. Using the code below..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; font-size: 10pt; background: white; font-family: 'Courier New';"&gt;proc&lt;/STRONG&gt; &lt;STRONG style="color: navy; font-size: 10pt; background: white; font-family: 'Courier New';"&gt;rank&lt;/STRONG&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;data&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;=OUT &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;groups&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;=&lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 10pt; background: white; font-family: 'Courier New';"&gt;10&lt;/STRONG&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;out&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;=OUT_DECILE &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;descending&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; P; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;ranks&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; decile;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; font-size: 10pt; background: white; font-family: 'Courier New';"&gt;run&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; font-size: 10pt; background: white; font-family: 'Courier New';"&gt;data&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; OUT_DECILE;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;set&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; OUT_DECILE;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;decile=decile+&lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 10pt; background: white; font-family: 'Courier New';"&gt;1&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; font-size: 10pt; background: white; font-family: 'Courier New';"&gt;run&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; font-size: 10pt; background: white; font-family: 'Courier New';"&gt;proc&lt;/STRONG&gt; &lt;STRONG style="color: navy; font-size: 10pt; background: white; font-family: 'Courier New';"&gt;means&lt;/STRONG&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;data&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;=OUT_DECILE &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;n&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;mean&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; LAPSE;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;class&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; decile;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; font-size: 10pt; background: white; font-family: 'Courier New';"&gt;run&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have run it first on the training dataset used to build model and I get this below. Then I have scored the validation dataset, and rank the probabilities again and I get this below. Shall I not get roughly the same % per decile? Is my model not performing well then? I have used the gain chart to compare Validation and Trainig but they looked fine? Your help woul be much appreciated . Many Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="256"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" colspan="4" height="33" style="border-right: black 0.5pt solid;" width="256"&gt;Analysis Variable&amp;nbsp; - LAPSE : Training Sample&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="34" width="64"&gt;Rank for Variable&lt;/TD&gt;&lt;TD class="xl69" rowspan="2" style="border-bottom: black 0.5pt solid;" width="64"&gt;N Obs&lt;/TD&gt;&lt;TD class="xl69" rowspan="2" style="border-bottom: black 0.5pt solid;" width="64"&gt;Decile Mean&lt;/TD&gt;&lt;TD class="xl70" rowspan="2" style="border-bottom: black 0.5pt solid;" width="64"&gt;Overall Mean&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl71" height="20" width="64"&gt;pred&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl74" height="20" style="border-top: medium none;" width="64"&gt;1&lt;/TD&gt;&lt;TD class="xl75" style="border-left: medium none; border-top: medium none;" width="64"&gt;20,986&lt;/TD&gt;&lt;TD class="xl76" style="border-left: medium none; border-top: medium none;" width="64"&gt;79%&lt;/TD&gt;&lt;TD class="xl77" style="border-left: medium none; border-top: medium none;" width="64"&gt;30%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl74" height="20" style="border-top: medium none;" width="64"&gt;2&lt;/TD&gt;&lt;TD class="xl75" style="border-left: medium none; border-top: medium none;" width="64"&gt;21,014&lt;/TD&gt;&lt;TD class="xl76" style="border-left: medium none; border-top: medium none;" width="64"&gt;70%&lt;/TD&gt;&lt;TD class="xl77" style="border-left: medium none; border-top: medium none;" width="64"&gt;30%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl74" height="20" style="border-top: medium none;" width="64"&gt;3&lt;/TD&gt;&lt;TD class="xl75" style="border-left: medium none; border-top: medium none;" width="64"&gt;20,999&lt;/TD&gt;&lt;TD class="xl76" style="border-left: medium none; border-top: medium none;" width="64"&gt;38%&lt;/TD&gt;&lt;TD class="xl77" style="border-left: medium none; border-top: medium none;" width="64"&gt;30%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl74" height="20" style="border-top: medium none;" width="64"&gt;4&lt;/TD&gt;&lt;TD class="xl75" style="border-left: medium none; border-top: medium none;" width="64"&gt;21,041&lt;/TD&gt;&lt;TD class="xl76" style="border-left: medium none; border-top: medium none;" width="64"&gt;29%&lt;/TD&gt;&lt;TD class="xl77" style="border-left: medium none; border-top: medium none;" width="64"&gt;30%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl74" height="20" style="border-top: medium none;" width="64"&gt;5&lt;/TD&gt;&lt;TD class="xl75" style="border-left: medium none; border-top: medium none;" width="64"&gt;17,839&lt;/TD&gt;&lt;TD class="xl76" style="border-left: medium none; border-top: medium none;" width="64"&gt;25%&lt;/TD&gt;&lt;TD class="xl77" style="border-left: medium none; border-top: medium none;" width="64"&gt;30%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl74" height="20" style="border-top: medium none;" width="64"&gt;6&lt;/TD&gt;&lt;TD class="xl75" style="border-left: medium none; border-top: medium none;" width="64"&gt;24,168&lt;/TD&gt;&lt;TD class="xl76" style="border-left: medium none; border-top: medium none;" width="64"&gt;22%&lt;/TD&gt;&lt;TD class="xl77" style="border-left: medium none; border-top: medium none;" width="64"&gt;30%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl74" height="20" style="border-top: medium none;" width="64"&gt;7&lt;/TD&gt;&lt;TD class="xl75" style="border-left: medium none; border-top: medium none;" width="64"&gt;20,952&lt;/TD&gt;&lt;TD class="xl76" style="border-left: medium none; border-top: medium none;" width="64"&gt;20%&lt;/TD&gt;&lt;TD class="xl77" style="border-left: medium none; border-top: medium none;" width="64"&gt;30%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl74" height="20" style="border-top: medium none;" width="64"&gt;8&lt;/TD&gt;&lt;TD class="xl75" style="border-left: medium none; border-top: medium none;" width="64"&gt;21,013&lt;/TD&gt;&lt;TD class="xl76" style="border-left: medium none; border-top: medium none;" width="64"&gt;12%&lt;/TD&gt;&lt;TD class="xl77" style="border-left: medium none; border-top: medium none;" width="64"&gt;30%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl74" height="20" style="border-top: medium none;" width="64"&gt;9&lt;/TD&gt;&lt;TD class="xl75" style="border-left: medium none; border-top: medium none;" width="64"&gt;20,998&lt;/TD&gt;&lt;TD class="xl76" style="border-left: medium none; border-top: medium none;" width="64"&gt;7%&lt;/TD&gt;&lt;TD class="xl77" style="border-left: medium none; border-top: medium none;" width="64"&gt;30%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl78" height="20" style="border-top: medium none;" width="64"&gt;10&lt;/TD&gt;&lt;TD class="xl79" style="border-left: medium none; border-top: medium none;" width="64"&gt;20,990&lt;/TD&gt;&lt;TD class="xl80" style="border-left: medium none; border-top: medium none;" width="64"&gt;5%&lt;/TD&gt;&lt;TD class="xl77" style="border-left: medium none; border-top: medium none;" width="64"&gt;30%&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="254"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" colspan="4" height="33" style="border-right: black 0.5pt solid;" width="254"&gt;Analysis Variable : LAPSE : Validation Sample&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="34" width="64"&gt;Rank for Variable&lt;/TD&gt;&lt;TD class="xl69" rowspan="2" style="border-bottom: black 0.5pt solid;" width="62"&gt;N Obs&lt;/TD&gt;&lt;TD class="xl69" rowspan="2" style="border-bottom: black 0.5pt solid;" width="64"&gt;Decile Mean&lt;/TD&gt;&lt;TD class="xl70" rowspan="2" style="border-bottom: black 0.5pt solid;" width="64"&gt;Overall Mean&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl71" height="20" width="64"&gt;pred&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl74" height="20" style="border-top: medium none;" width="64"&gt;1&lt;/TD&gt;&lt;TD class="xl75" style="border-left: medium none; border-top: medium none;" width="62"&gt;9,034&lt;/TD&gt;&lt;TD class="xl76" style="border-left: medium none; border-top: medium none;" width="64"&gt;100%&lt;/TD&gt;&lt;TD class="xl77" style="border-left: medium none; border-top: medium none;" width="64"&gt;21%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl74" height="20" style="border-top: medium none;" width="64"&gt;2&lt;/TD&gt;&lt;TD class="xl75" style="border-left: medium none; border-top: medium none;" width="62"&gt;9,034&lt;/TD&gt;&lt;TD class="xl76" style="border-left: medium none; border-top: medium none;" width="64"&gt;100%&lt;/TD&gt;&lt;TD class="xl77" style="border-left: medium none; border-top: medium none;" width="64"&gt;21%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl74" height="20" style="border-top: medium none;" width="64"&gt;3&lt;/TD&gt;&lt;TD class="xl75" style="border-left: medium none; border-top: medium none;" width="62"&gt;9,034&lt;/TD&gt;&lt;TD class="xl76" style="border-left: medium none; border-top: medium none;" width="64"&gt;13%&lt;/TD&gt;&lt;TD class="xl77" style="border-left: medium none; border-top: medium none;" width="64"&gt;21%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl74" height="20" style="border-top: medium none;" width="64"&gt;4&lt;/TD&gt;&lt;TD class="xl75" style="border-left: medium none; border-top: medium none;" width="62"&gt;8,968&lt;/TD&gt;&lt;TD class="xl76" style="border-left: medium none; border-top: medium none;" width="64"&gt;0%&lt;/TD&gt;&lt;TD class="xl77" style="border-left: medium none; border-top: medium none;" width="64"&gt;21%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl74" height="20" style="border-top: medium none;" width="64"&gt;5&lt;/TD&gt;&lt;TD class="xl75" style="border-left: medium none; border-top: medium none;" width="62"&gt;10,822&lt;/TD&gt;&lt;TD class="xl76" style="border-left: medium none; border-top: medium none;" width="64"&gt;0%&lt;/TD&gt;&lt;TD class="xl77" style="border-left: medium none; border-top: medium none;" width="64"&gt;21%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl74" height="20" style="border-top: medium none;" width="64"&gt;6&lt;/TD&gt;&lt;TD class="xl75" style="border-left: medium none; border-top: medium none;" width="62"&gt;7,312&lt;/TD&gt;&lt;TD class="xl76" style="border-left: medium none; border-top: medium none;" width="64"&gt;0%&lt;/TD&gt;&lt;TD class="xl77" style="border-left: medium none; border-top: medium none;" width="64"&gt;21%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl74" height="20" style="border-top: medium none;" width="64"&gt;7&lt;/TD&gt;&lt;TD class="xl75" style="border-left: medium none; border-top: medium none;" width="62"&gt;9,033&lt;/TD&gt;&lt;TD class="xl76" style="border-left: medium none; border-top: medium none;" width="64"&gt;0%&lt;/TD&gt;&lt;TD class="xl77" style="border-left: medium none; border-top: medium none;" width="64"&gt;21%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl74" height="20" style="border-top: medium none;" width="64"&gt;8&lt;/TD&gt;&lt;TD class="xl75" style="border-left: medium none; border-top: medium none;" width="62"&gt;9,014&lt;/TD&gt;&lt;TD class="xl76" style="border-left: medium none; border-top: medium none;" width="64"&gt;0%&lt;/TD&gt;&lt;TD class="xl77" style="border-left: medium none; border-top: medium none;" width="64"&gt;21%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl74" height="20" style="border-top: medium none;" width="64"&gt;9&lt;/TD&gt;&lt;TD class="xl75" style="border-left: medium none; border-top: medium none;" width="62"&gt;9,055&lt;/TD&gt;&lt;TD class="xl76" style="border-left: medium none; border-top: medium none;" width="64"&gt;0%&lt;/TD&gt;&lt;TD class="xl77" style="border-left: medium none; border-top: medium none;" width="64"&gt;21%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl78" height="20" style="border-top: medium none;" width="64"&gt;10&lt;/TD&gt;&lt;TD class="xl79" style="border-left: medium none; border-top: medium none;" width="62"&gt;9,034&lt;/TD&gt;&lt;TD class="xl80" style="border-left: medium none; border-top: medium none;" width="64"&gt;0%&lt;/TD&gt;&lt;TD class="xl77" style="border-left: medium none; border-top: medium none;" width="64"&gt;21%&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hve attached the gain chart. Many Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Apr 2013 14:28:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Help-Attrition-Model-Performance-in-SAS-Thanks/m-p/123954#M1042</guid>
      <dc:creator>Question</dc:creator>
      <dc:date>2013-04-29T14:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: Help, Attrition Model Performance in SAS. Thanks</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Help-Attrition-Model-Performance-in-SAS-Thanks/m-p/123955#M1043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Knowing nothing else, it seems to me that your training model is not generalizing well to the validation set. Which is usually a sign of overfitting.&lt;/P&gt;&lt;P&gt;What tool are you using to create the initial model, and what technique?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Apr 2013 17:50:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Help-Attrition-Model-Performance-in-SAS-Thanks/m-p/123955#M1043</guid>
      <dc:creator>adjgiulio</dc:creator>
      <dc:date>2013-04-29T17:50:46Z</dc:date>
    </item>
    <item>
      <title>Re: Help, Attrition Model Performance in SAS. Thanks</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Help-Attrition-Model-Performance-in-SAS-Thanks/m-p/123956#M1044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using SAS and Logistic Regression. But the gain chart is showing that the model is robust. Please See attached&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Apr 2013 22:00:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Help-Attrition-Model-Performance-in-SAS-Thanks/m-p/123956#M1044</guid>
      <dc:creator>Question</dc:creator>
      <dc:date>2013-04-29T22:00:36Z</dc:date>
    </item>
    <item>
      <title>Re: Help, Attrition Model Performance in SAS. Thanks</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Help-Attrition-Model-Performance-in-SAS-Thanks/m-p/123957#M1045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Did you use the train decile definition for validation data. For example for training data, the first decile the min and max probabilities were say 0.9 - 0.95. Then you should use the same decile definition for Validation data.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If you have used great, else use the train dataa decile definitions to compare train with validation.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Best Regars,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Amit&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 May 2013 18:39:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Help-Attrition-Model-Performance-in-SAS-Thanks/m-p/123957#M1045</guid>
      <dc:creator>AmitKB</dc:creator>
      <dc:date>2013-05-10T18:39:42Z</dc:date>
    </item>
  </channel>
</rss>

