View source: R/29_NORMAL_TEST.R
normal.test | R Documentation |
normal.test
performs multi-period testing of PD model predictive power. This procedure can be applied
on the level of the rating grade as well on the portfolio level.
normal.test(pdc, odr, alpha = 0.05)
pdc |
Numeric vector of calibrated probabilities of default (PD). |
odr |
Numeric vector of observed default rates. |
alpha |
Significance level of p-value for implemented tests. Default is 0.05. |
The command normal.test
returns a data frame with estimated difference between odr
and
pdc
, test statistics, standard error of the test statistics, selected significance level,
p-value of test statistics and finally the test results.
Basel Committee on Banking Supervision (2005). Studies on the Validation of Internal Rating Systems, working paper no. 14.
set.seed(678)
normal.test(pdc = rep(0.02, 5),
odr = runif(5, 0.02, 0.03))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.