risk.validation.binomialTest
Syntax
Description
        returns the binomial test result, hBinTest = risk.validation.binomialTest(Probability,NumEvents,NumTrials)hBinTest, for a given set of
        probabilities, events, and trials. The output is 1 if the test rejects
        the null hypothesis at the 95% confidence level, or 0
        otherwise. Probability contains numeric values that represent quantities
        such as probability of default (PD) estimates.
        specifies optional name-value arguments. For example, you can set a specific confidence
        level for the binomial test by using the hBinTest = risk.validation.binomialTest(Probability,NumEvents,NumTrials,Name=Value)ConfidenceLevel name-value
        argument.
[
        also returns a structure hBinTest,binTestOutput] = risk.validation.binomialTest(___)binTestOutput, that contains the method used
        in the binomial test and a table of summary metrics.
Examples
Input Arguments
Name-Value Arguments
Output Arguments
More About
References
[1] Basel Committee on Banking Supervision, “Studies on the Validation of Internal Rating Systems”, Working Paper 14, May, 2005. https://www.bis.org/publ/bcbs_wp14.htm.
Version History
Introduced in R2025a