Description Usage Arguments Details Value References See Also Examples
This estimator is based on the assumption of infinitely large portfolio size and a sufficient length of the default time series. In the asymptotic case, neither the default rate of 0 or a 1 occur. Hence one has to make an adjustment in these cases.
1 2 3 |
d |
a vector, containing the default time series of the sector. |
n |
a vector, containing the number of obligors at the beginning of the period in the sector. |
B |
an integer, indicating how many bootstrap repetitions should be used for the single bootstrap corrected estimate. |
DB |
a combined vector, indicating how many bootstrap repetitions should be used for the inner (first entry) and outer loop (second entry) to correct the bias using the double bootstrap. |
JC |
a logical variable, indicating if the jackknife corrected estimate should be calculated. |
Adjust |
a number, which should be added to a observed default rate of 0 or subtracted form a observed default rate of 1. |
CI_1 |
a number, indicating the desired analytical confidence interval of the estimate. The interval is computed by asymptotic Cramer-Rao lower bound for the standard deviation of the estimate based on \insertCitedullmann2004systematic;textualAssetCorr. Additionally the asymptotic confidence interval for the unconditional PD is computed. |
CI_2 |
a number, indicating the desired analytical confidence interval of the estimate. The interval is computed by constructing a confidence interval for the variance, which can be transferred to the estimate based on \insertCitehose2011confidence;textualAssetCorr. |
CI_Boot |
a number, indicating the desired confidence interval if the single bootstrap correction is specified.
By default, the interval is calculated as the bootstrap corrected and accelerated confidence interval (Bca). Furthermore, the analytical confidence intervals are provided, using the same value as |
VaR |
a number, indicating the desired confidence level for the asymptotic Value-at-Risk. |
VaR_CI |
a number, indicating the desired confidence interval for the asymptotic Value-at-Risk, derived by the delta method. |
ES |
a number, indicating the desired confidence level for the asymptotic Expected Shortfall. |
ES_CI |
a number, indicating the desired confidence interval for the asymptotic Expected Shortfall, derived by the delta method. |
type |
a string, indicating the desired method to calculate the confidence intervals. For more details see |
plot |
a logical variable, indicating whether a plot of the single bootstrap density should be generated. |
This estimator is based on the asymptotic assumptions of the Vasicek model, especially the assumption of an infinite large portfolio. If a 0 or 1 occurs at least once in the default rate time series, the estimator can not converge. Therefore, an adjustment (Adjust
) can be made. Nevertheless, \insertCitemeyer2009estimation;textualAssetCorr argued that the adjustment can harm the estimation efficiency.
Additionally two different asymptotic confidence intervals are provided. Bootstrap and jackknife corrections are also possible. If DB
is specified, the single bootstrap corrected estimate will be calculated using the bootstrap values of the outer loop (oValues
).
The returned value is a list, containing the following components (depending on the selected arguments):
PD |
Estimate of the unconditional PD based on \insertCitedullmann2004systematic;textualAssetCorr |
PD_CI_1 |
[Two-sided asymptotic confidence interval for the unconditional PD based on \insertCitedullmann2004systematic;textualAssetCorr |
Original |
Estimate of the original method |
Bootstrap |
Bootstrap corrected estimate |
Double_Bootstrap |
Double bootstrap corrected estimate |
Jackknife |
Jackknife corrected estimate |
CI_1 |
Selected two-sided asymptotic confidence interval based on \insertCitedullmann2004systematic;textualAssetCorr |
CI_2 |
Selected two-sided asymptotic confidence interval based on \insertCitehose2011confidence;textualAssetCorr |
CI_Boot |
Selected two-sided bootstrap confidence interval |
VaR |
Asymptotic Value-at-Risk |
VaR_CI |
Confidence interval for the asymptotic Value-at-Risk |
ES |
Asymptotic Expected Shortfall |
ES_CI |
Confidence interval for the asymptotic Expected Shortfall |
bValues |
Estimates from the single bootstrap resampling |
iValues |
Estimates from the double bootstrap resampling- inner loop |
oValues |
Estimates from the double bootstrap resampling- outer loop |
chang2015doubleAssetCorr
\insertRefdullmann2004systematicAssetCorr
\insertRefefron1994introductionAssetCorr
\insertRefhose2011confidenceAssetCorr
\insertRefmeyer2009estimationAssetCorr
\insertRefPfeuffer2018AssetCorr
intraAMM
, intraFMM
, intraJDP2
,
intraMLE
, intraJDP1
, intraCMM
,
intraMode
,intraBeta
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 | set.seed(10)
d=defaultTimeseries(100,0.01,10,0.01)
n=rep(100,10)
#Sensitivity to the adjustment
intraAMLE(d,n,Adjust=0.001)
intraAMLE(d,n,Adjust=0.0001)
#Estimation with confidence intervals- I
IntraCorr=intraAMLE(d,n, Adjust=0.001, CI_1=0.95 )
#Estimation with confidence intervals- II
IntraCorr=intraAMLE(d,n, Adjust=0.001, CI_2=0.95 )
#Jackknife correction
IntraCorr=intraAMLE(d,n,Adjust=0.001, JC=TRUE)
#Bootstrap correction with bootstrap confidence intervals
IntraCorr=intraAMLE(d,n, Adjust=0.001, B=1000, CI_Boot=0.95 )
#Bootstrap correction with bootstrap confidence intervals and plot
IntraCorr=intraAMLE(d,n, B=1000, Adjust=0.001, CI_Boot=0.95, plot=TRUE )
#Double Bootstrap correction with 10 repetitions in the inner loop and 50 in the outer loop
IntraCorr=intraAMLE(d,n,Adjust=0.001, DB=c(10,50))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.