risk.validation.slotBacktest
R2026bSyntax
Description
returns the result of a slot backtest, hSlotTest = risk.validation.slotBacktest(NumDefaults,NumLoans,ObservedLGDRates,ExpectedLossRate)hSlotTest, which is a
z-test that compares the expected loss with the mean realized loss rate
for a portfolio or a slot. The output is 1 if the test rejects the null
hypothesis at the 95% confidence level, or 0 otherwise.
specifies the confidence level for the slot backtest.hSlotTest = risk.validation.slotBacktest(NumDefaults,NumLoans,ObservedLGDRates,ExpectedLossRate,ConfidenceLevel=confidenceLevel)
[
also returns a structure hSlotTest,slotOutput] = risk.validation.slotBacktest(___)slotOutput that contains summary metrics.
Specify slotOutput as the second output argument with any of the input
argument combinations in the previous syntaxes.
Examples
Input Arguments
Output Arguments
More About
References
[1] European Central Bank. “Instructions for reporting the validation results of internal models.” February, 2019. https://www.bankingsupervision.europa.eu/activities/internal_models/shared/pdf/instructions_validation_reporting_credit_risk.en.pdf.
Version History
Introduced in R2026a