<?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 Basel II Report for PD and LGD in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-create-Basel-II-Report-for-PD-and-LGD/m-p/233363#M12300</link>
    <description>&lt;P&gt;As far as i understand to create Ttest we need to use &amp;nbsp;Proc Ttest&amp;nbsp;procedure but i need to generate exactly the same output which i posted above. &amp;nbsp;I tried the code as below.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc ttest data=Rmsaslib.TtestCombine  sides=2 alpha=0.01 h0=0;
 	title "Two sample t-test example";
	class Formulas;
	var G1THK;
	ods output statistics = outputdf ; &lt;BR /&gt; ods output equality=outputeq;&lt;BR /&gt; ods output TTESTS = PVAL;&lt;BR /&gt; ods output ConfLimits = PVAL2;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I&amp;nbsp;investigate deeply the Cohens d Test and i didn't find. I guess SAS does not have any procedure related to Cohens d test report. I calculated the columns by writing SAS Code but as i said it before my real purpose is to create&amp;nbsp;&lt;SPAN&gt;exactly the same output. Are there any easiest way to generate it.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
Create table CohenMerge as
select *
,SQRT(sum(SSDF1,SSDF2)/sum(countBacktest,CountTahminUretim)) as S
,((MeanTahminT-MeanTahminB)/calculated S) as Omega
,ABS(calculated omega) AS AbsOmega
,SQRT(((CountTahminUretim+countBacktest)/(CountTahminUretim*countBacktest))+((calculated Omega)**2/(2*(CountTahminUretim+countBacktest)))) as Stddev
,(calculated omega)-1.96*SQRT(calculated Stddev) as ConfInf95G1THK
,(calculated omega)+1.96*SQRT(calculated Stddev) as ConfInf95G2THK
from SumSDFG1Table T1
Left Join SumSDFG2Table T2
on T2.obs=T1.obs;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN&gt;Lastly, Did somebody understand my&amp;nbsp;Confidence Level(%95.0) ?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 05 Nov 2015 22:54:19 GMT</pubDate>
    <dc:creator>turcay</dc:creator>
    <dc:date>2015-11-05T22:54:19Z</dc:date>
    <item>
      <title>How to create Basel II Report for PD and LGD</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-create-Basel-II-Report-for-PD-and-LGD/m-p/229668#M12099</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like to know if the Basel II reports attached are available on SAS or not. Sometimes titles are different. I would like to know if there are reports with different names. If these reports don't exist in SAS, can you help me how to do it on SAS?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have checked the link below.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/mdsug/65072/HTML/default/viewer.htm#n194xndt3b3y1pn1ufc0mqbsmht4.htm&amp;nbsp;" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/mdsug/65072/HTML/default/viewer.htm#n194xndt3b3y1pn1ufc0mqbsmht4.htm&amp;nbsp;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-&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; Confidence Levels for the Gini Coefficient and AUC&lt;/P&gt;
&lt;P&gt;-&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; &lt;STRONG&gt;Spiegelhalter Test&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;-&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; &lt;STRONG&gt;Binomial Calibration Test&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;-&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; Chi-square (or Hosmer-Lemeshow) Test&lt;/P&gt;
&lt;P&gt;-&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; PSI, CSI&lt;/P&gt;
&lt;P&gt;-&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; &lt;STRONG&gt;Conditional Entropy Ratio and Information Value, Mann Whitney - U* &lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;-&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; LGD:, “Expected Loss” Shortfall&lt;/P&gt;
&lt;P&gt;-&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; &lt;STRONG&gt;T Test&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;-&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; Cohen’s d-Test&lt;/P&gt;
&lt;P&gt;-&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; &lt;STRONG&gt;ETLA&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;-&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; Descriptive statistics for input variables&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Oct 2015 10:08:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-create-Basel-II-Report-for-PD-and-LGD/m-p/229668#M12099</guid>
      <dc:creator>turcay</dc:creator>
      <dc:date>2015-10-13T10:08:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to create Basel II Report for PD and LGD</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-create-Basel-II-Report-for-PD-and-LGD/m-p/230026#M12125</link>
      <description>&lt;P&gt;I don't see any attachments and I may be able to help as I use SAS for Basel II at a bank.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please provide more information. Are you trying to derive PD and LGD, validate them, or do credit risk calculations with them?&lt;/P&gt;</description>
      <pubDate>Thu, 15 Oct 2015 08:04:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-create-Basel-II-Report-for-PD-and-LGD/m-p/230026#M12125</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2015-10-15T08:04:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to create Basel II Report for PD and LGD</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-create-Basel-II-Report-for-PD-and-LGD/m-p/232856#M12269</link>
      <description>&lt;P&gt;Hello SASKiwi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your interest.For instance how can i create following images on SAS. These are T-test and Cohens Test reports and i would like to ask how i can find Confidence Level(%95.0) on SAS which i can find on Excel by using Descriptive&amp;nbsp; Statistics. I found all formulas which i wanted to find by using Proc Means except Confidence Level(%95.0). I couldn’t equalize it with UCLM and LCLM.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&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/706i9FD74E3B7D019E32/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="formulas.png" title="formulas.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Nov 2015 08:02:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-create-Basel-II-Report-for-PD-and-LGD/m-p/232856#M12269</guid>
      <dc:creator>turcay</dc:creator>
      <dc:date>2015-11-03T08:02:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to create Basel II Report for PD and LGD</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-create-Basel-II-Report-for-PD-and-LGD/m-p/233363#M12300</link>
      <description>&lt;P&gt;As far as i understand to create Ttest we need to use &amp;nbsp;Proc Ttest&amp;nbsp;procedure but i need to generate exactly the same output which i posted above. &amp;nbsp;I tried the code as below.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc ttest data=Rmsaslib.TtestCombine  sides=2 alpha=0.01 h0=0;
 	title "Two sample t-test example";
	class Formulas;
	var G1THK;
	ods output statistics = outputdf ; &lt;BR /&gt; ods output equality=outputeq;&lt;BR /&gt; ods output TTESTS = PVAL;&lt;BR /&gt; ods output ConfLimits = PVAL2;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I&amp;nbsp;investigate deeply the Cohens d Test and i didn't find. I guess SAS does not have any procedure related to Cohens d test report. I calculated the columns by writing SAS Code but as i said it before my real purpose is to create&amp;nbsp;&lt;SPAN&gt;exactly the same output. Are there any easiest way to generate it.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
Create table CohenMerge as
select *
,SQRT(sum(SSDF1,SSDF2)/sum(countBacktest,CountTahminUretim)) as S
,((MeanTahminT-MeanTahminB)/calculated S) as Omega
,ABS(calculated omega) AS AbsOmega
,SQRT(((CountTahminUretim+countBacktest)/(CountTahminUretim*countBacktest))+((calculated Omega)**2/(2*(CountTahminUretim+countBacktest)))) as Stddev
,(calculated omega)-1.96*SQRT(calculated Stddev) as ConfInf95G1THK
,(calculated omega)+1.96*SQRT(calculated Stddev) as ConfInf95G2THK
from SumSDFG1Table T1
Left Join SumSDFG2Table T2
on T2.obs=T1.obs;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN&gt;Lastly, Did somebody understand my&amp;nbsp;Confidence Level(%95.0) ?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Nov 2015 22:54:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-create-Basel-II-Report-for-PD-and-LGD/m-p/233363#M12300</guid>
      <dc:creator>turcay</dc:creator>
      <dc:date>2015-11-05T22:54:19Z</dc:date>
    </item>
  </channel>
</rss>

