<?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 calculate the Gini coefficient in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/How-to-calculate-the-Gini-coefficient/m-p/71408#M20620</link>
    <description>Yep, but I can't say I've found something useful.</description>
    <pubDate>Fri, 26 Mar 2010 14:52:42 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2010-03-26T14:52:42Z</dc:date>
    <item>
      <title>How to calculate the Gini coefficient</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-calculate-the-Gini-coefficient/m-p/71406#M20618</link>
      <description>Hi! &lt;BR /&gt;
&lt;BR /&gt;
I need help calculating Gini coefficient to measure the performance of a scorecard for a consumer loans portfolio. &lt;BR /&gt;
I do not have Enterprise Miner, which have a built in function for that as I understand it. &lt;BR /&gt;
&lt;BR /&gt;
I really don't know much about Gini coefficient - but as I gather the variables I need are: &lt;BR /&gt;
score and good/bad-variable &lt;BR /&gt;
&lt;BR /&gt;
Score: the application scorepoint &lt;BR /&gt;
Good_bad: 1=good, 0=bad&lt;BR /&gt;
&lt;BR /&gt;
My dataset would then look something like this: &lt;BR /&gt;
data test; &lt;BR /&gt;
input score good_bad ; &lt;BR /&gt;
datalines;&lt;BR /&gt;
10 1&lt;BR /&gt;
20 1&lt;BR /&gt;
2  0&lt;BR /&gt;
12 0 &lt;BR /&gt;
20 1 &lt;BR /&gt;
15 1 &lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
Any ideas on how to go forward with this...? &lt;BR /&gt;
I'm working with Enterprise Guide, but I write code instead of using the GUI. &lt;BR /&gt;
&lt;BR /&gt;
I found this (follow link to open sas-program) but I can't really "transpose it" to my datasets and variables. &lt;BR /&gt;
&lt;A href="http://www.unc.edu/~pnc/gini.sas" target="_blank"&gt;http://www.unc.edu/~pnc/gini.sas&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Thanks!</description>
      <pubDate>Fri, 26 Mar 2010 09:38:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-calculate-the-Gini-coefficient/m-p/71406#M20618</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-03-26T09:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate the Gini coefficient</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-calculate-the-Gini-coefficient/m-p/71407#M20619</link>
      <description>Have you checked other resources/references at the SAS support website  &lt;A href="http://support.sas.com/" target="_blank"&gt;http://support.sas.com/&lt;/A&gt;  using the SEARCH facility?&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.&lt;BR /&gt;
&lt;BR /&gt;
Suggested Google advanced search argument, this topic/post:&lt;BR /&gt;
&lt;BR /&gt;
calculate Gini coefficient site:sas.com</description>
      <pubDate>Fri, 26 Mar 2010 11:06:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-calculate-the-Gini-coefficient/m-p/71407#M20619</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2010-03-26T11:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate the Gini coefficient</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-calculate-the-Gini-coefficient/m-p/71408#M20620</link>
      <description>Yep, but I can't say I've found something useful.</description>
      <pubDate>Fri, 26 Mar 2010 14:52:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-calculate-the-Gini-coefficient/m-p/71408#M20620</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-03-26T14:52:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate the Gini coefficient</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-calculate-the-Gini-coefficient/m-p/71409#M20621</link>
      <description>Your query would be better served, most likely, in the SAS Statistical Procedures forum, possibly.&lt;BR /&gt;
&lt;BR /&gt;
Scott</description>
      <pubDate>Fri, 26 Mar 2010 15:59:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-calculate-the-Gini-coefficient/m-p/71409#M20621</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2010-03-26T15:59:40Z</dc:date>
    </item>
  </channel>
</rss>

