Description Usage Arguments Details Value Author(s) References Examples
estimate confidence intervals for the transition probabilities using a bootstrapping procedure for duration method
1 | duration.CI(genMat,portWgts,nHorizon,sim)
|
genMat |
generator matrix |
portWgts |
list containing weights of each rating class |
nHorizon |
horizon |
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.
A parametric bootstrapping method is employed for the time-homogeneous continuous-time Markov model. The elements of the infinitesimal generator matrix, provide most of the information one needs to perform the parametric bootstrap. The outline of the bootstrapping is provided below.
For each obligor in a given assigned credit grade:
Start by drawing a (sojourn) time from the exponential distribution with parameter, -\hat{λ}_{kk}
If the time is greater than or equal to the time left to horizon then stop
If the time is less than the time left to horizon
Draw from the multinomial distribution associated with the possible transition states using the vector of probabilities
Determine the state to which the obligor moves, for example, i
Repeat the process in 1. now using the diagonal element, -\hat{λ}_{ii}
Continue until the sampled time exceeds the time to horizon
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
Trueck, Stefan, (February 16, 2009) Simulating Dependent Credit Migrations. Available at SSRN: https://ssrn.com/abstract=1344897
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | ## Not run:
startDate <- "2000-01-01"
endDate <- "2005-01-01"
method <- "duration"
snapshots <- 4
interval <- 0
Example1 <-getPIT(data,startDate, endDate,method, snapshots, interval)
lstInit <- Example1$lstInitVec[lapply(Example1$lstInitVec,length)>0]
lstCnt <- Example1$lstCntMat[lapply(Example1$lstCntMat,length)>0]
ExampleTTC1<-duration.TTC(Example1$lstCntMat,Example1$lstInitVec)
genMat <- ExampleTTC1$WGM
portWgts <- ExampleTTC1$SWFY[,1]
nHorizon <- length(ExampleTTC1$UUPTM[[1]])
sim <- 100
tolerance_Duration <- duration.CI(genMat,portWgts,nHorizon,sim)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.