<?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: migration probabilities using cohort approach in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/bootstrap-estimates-for-a-transistion-matrix-was-migration/m-p/419718#M22094</link>
    <description>&lt;P&gt;Thank you for your help. After that, I am trying to determine specifically:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;using nonparametric bootstrap method (exclude the defaults) to generate 95% confidence intervals for default rates of each rating category. &amp;nbsp;&lt;/P&gt;&lt;P&gt;Explore the relationship between the length of CIs and number of bootstrap samples and confidence level.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have any idea how to proceed with this? I am a newbie with SAS, so I am unaware of how to code this and what functions I can use?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Fri, 08 Dec 2017 22:05:01 GMT</pubDate>
    <dc:creator>Anna7</dc:creator>
    <dc:date>2017-12-08T22:05:01Z</dc:date>
    <item>
      <title>bootstrap estimates for a transistion matrix,  was: migration probabilities using cohort approach</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/bootstrap-estimates-for-a-transistion-matrix-was-migration/m-p/419075#M22092</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to determine estimates of migration probabilities using the cohort&amp;nbsp;approach.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is the code I have so far to get the transition probabilities matrix and I would like some help in determining the probabilities of default for credit ratings.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Proc freq data = ratingdata;&lt;/P&gt;
&lt;P&gt;Tables rating2015_B*Rating2015_E&lt;/P&gt;
&lt;P&gt;/nopercent norow nocol;&lt;/P&gt;
&lt;P&gt;Title ‘transition matrix’;&lt;/P&gt;
&lt;P&gt;Run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is the matrix:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="8a766e7b-8311-4cac-bfcc-3a127ac8ba48.jpg" style="width: 509px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/17061iEB1607792A9CFBE6/image-dimensions/509x341?v=v2" width="509" height="341" role="button" title="8a766e7b-8311-4cac-bfcc-3a127ac8ba48.jpg" alt="8a766e7b-8311-4cac-bfcc-3a127ac8ba48.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Here is the credit rating dataset that I have attached.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thank you!&lt;/P&gt;</description>
      <pubDate>Sat, 09 Dec 2017 20:23:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/bootstrap-estimates-for-a-transistion-matrix-was-migration/m-p/419075#M22092</guid>
      <dc:creator>Anna7</dc:creator>
      <dc:date>2017-12-09T20:23:49Z</dc:date>
    </item>
    <item>
      <title>Re: migration probabilities using cohort approach</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/bootstrap-estimates-for-a-transistion-matrix-was-migration/m-p/419706#M22093</link>
      <description>&lt;P&gt;I take it that rating D is for default, since you only have a D column, but no D row.&amp;nbsp; So if you want probabilities, rerun the PROC FREQ, but eliminate the "norow" option.&amp;nbsp; Down the column D you'll see the probability of default, for each row.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Of course one of your problems is that&amp;nbsp;the normal ascii sort sequence&amp;nbsp;won't put your rating codes in order according the intended credit worthiness.&amp;nbsp; Yes, the A's precede B's precede C's, but within A, they are not ordered as a credit analyst would want.&amp;nbsp; Why do I bring this up?&amp;nbsp; Because you might want to develop cumulative probabilities from the high credit score, including progressively weaker credit ratings.&amp;nbsp; To see what I mean run&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc freq data = ratingdata;
  tables rating2015_e rating2015_B
    /nopercent norow cumcol;
  title ‘transition matrix’;
run;

 
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note I changed rating2015_b from the row variables to the column variable.&amp;nbsp; This made using the "cumcol" option useful (there is no cumrow option).&amp;nbsp; Of course, this would be much better if proc freq would order by actual credit worthiness.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2017 21:31:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/bootstrap-estimates-for-a-transistion-matrix-was-migration/m-p/419706#M22093</guid>
      <dc:creator>mkeintz</dc:creator>
      <dc:date>2017-12-08T21:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: migration probabilities using cohort approach</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/bootstrap-estimates-for-a-transistion-matrix-was-migration/m-p/419718#M22094</link>
      <description>&lt;P&gt;Thank you for your help. After that, I am trying to determine specifically:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;using nonparametric bootstrap method (exclude the defaults) to generate 95% confidence intervals for default rates of each rating category. &amp;nbsp;&lt;/P&gt;&lt;P&gt;Explore the relationship between the length of CIs and number of bootstrap samples and confidence level.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have any idea how to proceed with this? I am a newbie with SAS, so I am unaware of how to code this and what functions I can use?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2017 22:05:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/bootstrap-estimates-for-a-transistion-matrix-was-migration/m-p/419718#M22094</guid>
      <dc:creator>Anna7</dc:creator>
      <dc:date>2017-12-08T22:05:01Z</dc:date>
    </item>
  </channel>
</rss>

