Description Usage Arguments Details Value Author(s) References Examples
estimate confidence intervals for the TTC transition probabilities using a bootstrapping procedure for cohort method.
1 | cohort.CI(transMatrix,initCount,sim)
|
transMatrix |
list containing average transitions matrices for each time-step. |
initCount |
list containing average start vector counts for each time-step. |
sim |
number of simulations. |
The general idea of bootstrapping is to use resampling methods to estimate features of the sampling distribution of an estimator, especially in situations where 'asymptotic approximations' may provide poor results. In the case of a parametric bootstrap method one samples from the estimated distribution derived using maximum likelihood estimation. In summary,
Estimate the distribution from the observed sample using maximum likelihood
Draw samples from the estimated distribution
Calculate the parameter of interest from each of the samples
Construct an empirical distribution for the parameter of interest
Select percentiles from the empirical distribution
One can contrast this method with a nonparametric bootstrap in which one samples with replacement from the empirical cumulative distribution function of the observed sample. Since there are grades with zero observed default rates, resampling directly from the observed data will not produce meaningful confidence intervals in for credit transition matrices where historically there are a limited number of defaults in higher credit quality buckets.
The parametric bootstrap method modeled here generates 12-month paths for each obligor represented in the portfolio and estimates the 12 monthly transition matrices to get a single observation. Annual paths (histories) are simulated using the estimated monthly transition matrices. A consequence of this approach, is that it is computationally intensive, but once the bootstrapped distributions of the PD values have been completed, it is simple to identify the percentiles of interest for calculation of confidence intervals
Returns the default probabilites values for the n ratings at the 2.5, 5, 25, 50, 75, 95, 97.5 percentiles.
Abdoulaye (Ab) N'Diaye
Hanson, S. and Schuermann, T. 2005 Confidence Intervals for Probabilities of Default, Federal Reserve Bank of New York
Jafry, Y. and Schuermann, T. 2003 Metrics for Comparing Credit Migration Matrices, Wharton Financial Institutions Working Paper 03-08.
Loffler, G., P. N. Posch. 2007 Credit Risk Modeling Using Excel and VBA. West Sussex, England, Wiley Finance
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | ## Not run:
#Set parameters to generate PIT transition matrices
startDate <- "2000-01-01"
endDate <- "2005-01-01"
method <- "cohort"
snapshots <- 4
interval <- .25
Example<-getPIT(data,startDate, endDate,method, snapshots, interval)
lstInit <- Example$lstInitVec[lapply(Example$lstInitVec,length)>0]
lstCnt <- Example$lstCntMat[lapply(Example$lstCntMat,length)>0]
ExampleTTC <- cohort.TTC(lstCnt,lstInit)
#use $ATMP from the cohort.TTC() as the input into the cohort.CI() function
transMatrix <- ExampleTTC$ATMP
initCount <- ExampleTTC$ACP[[1]][,1]
sim <- 1000
tolerance_Cohort <-cohort.CI(transMatrix,initCount,sim)
Example 2:
#Set parameters to generate PIT transition matrices
startDate <- "1997-01-01"
endDate <- "2002-01-01"
method <- "cohort"
snapshots <- 12
interval <- 1
Example<-getPIT(data,startDate, endDate,method, snapshots, interval)
lstInit <- Example$lstInitVec[lapply(Example$lstInitVec,length)>0]
lstCnt <- Example$lstCntMat[lapply(Example$lstCntMat,length)>0]
ExampleTTC <- cohort.TTC(lstCnt,lstInit)
#use $ATMP from the cohort.TTC() as the input into the cohort.CI() function
transMatrix <- ExampleTTC$ATMP
initCount <- ExampleTTC$ACP[[1]][,1]
sim <- 1000
tolerance_Cohort <-cohort.CI(transMatrix,initCount,sim)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.