Description Usage Arguments Details Value References See Also Examples
The intra asset correlation will be estimated by fitting the empirical joint default probability (JDP) of the default rate time series to the theoretical one and backing out the remaining correlation parameter numerically. The biased estimator of \insertCitede2002default;textualAssetCorr will be used for the empirical JDP. Additionally, bootstrap and jackknife corrections are implemented.
1 |
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 over time. |
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. |
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). |
type |
a string, indicating the desired method to calculate the bootstrap confidence intervals. For more details see |
plot |
a logical variable, indicating whether a plot of the single bootstrap density should be generated. |
kalkbrener2010validating;textualAssetCorr for example showed that the JDP of the default rates follow a bivariate normal distribution. The intra asset correlation will be estimated by fitting the empirical JDP of the default rate time series on the theoretical JDP of the default rate and backing out the remaining correlation parameter numerically.
The empirical JDP is calculated by the (unbiased) estimator of \insertCitede2002default;textualAssetCorr. If DB
is specified, the single bootstrap corrected estimate will be calculated by using the bootstrap values of the outer loop (oValues
).
The returned value is a list, containing the following components (depending on the selected arguments):
Original |
Estimate of the original method |
Bootstrap |
Bootstrap corrected estimate |
Double_Bootstrap |
Double bootstrap corrected estimate |
Jackknife |
Jackknife corrected estimate |
CI_Boot |
Selected two-sided bootstrap confidence interval |
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
\insertRefde2002defaultAssetCorr
\insertRefefron1994introductionAssetCorr
\insertRefkalkbrener2010validatingAssetCorr
intraAMM
, intraFMM
, intraJDP1
,
intraCMM
, intraMLE
, intraAMLE
,
intraMode
,intraBeta
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | set.seed(10)
d=defaultTimeseries(1000,0.3,20,0.01)
n=rep(1000,20)
IntraCorr=intraJDP2(d,n)
#Jackknife correction
IntraCorr=intraJDP2(d,n, JC=TRUE)
#Bootstrap correction with confidence intervals
IntraCorr=intraJDP2(d,n, B=1000, CI_Boot=0.95 )
#Bootstrap correction with confidence intervals and plot
IntraCorr=intraJDP2(d,n, B=1000, CI_Boot=0.95, plot=TRUE )
#Double Bootstrap correction with 10 repetitions in the inner loop and 50 in the outer loop
IntraCorr=intraJDP2(D1,N1, DB=c(10,50))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.