Class NormalSampleCohort
java.lang.Object
org.drip.validation.riskfactorjoint.NormalSampleCohort
- All Implemented Interfaces:
SampleCohort
public class NormalSampleCohort extends java.lang.Object implements SampleCohort
NormalSampleCohort holds the Joint Realizations from a Multivariate Normal Distribution and its
Reduction to a Synthetic Single Risk Factor.
- Anfuso, F., D. Karyampas, and A. Nawroth (2017): A Sound Basel III Compliant Framework for Back-testing Credit Exposure Models https://papers.ssrn.com/sol3/papers.cfm?abstract_id=2264620 eSSRN
- Diebold, F. X., T. A. Gunther, and A. S. Tay (1998): Evaluating Density Forecasts with Applications to Financial Risk Management International Economic Review 39 (4) 863-883
- Kenyon, C., and R. Stamm (2012): Discounting, LIBOR, CVA, and Funding: Interest Rate and Credit Pricing Palgrave Macmillan
- Wikipedia (2018): Probability Integral Transform https://en.wikipedia.org/wiki/Probability_integral_transform
- Wikipedia (2019): p-value https://en.wikipedia.org/wiki/P-value
- Module = Computational Core Module
- Library = Model Validation Analytics Library
- Project = Risk Factor and Hypothesis Validation, Evidence Processing, and Model Testing
- Package = Joint Risk Factor Aggregate Tests
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description NormalSampleCohort(LabelRdVertex labelRdVertex, LabelCovariance latentStateLabelCovariance, double horizon)
NormalSampleCohort Constructor -
Method Summary
Modifier and Type Method Description static NormalSampleCohort
Correlated(java.util.List<java.lang.String> labelList, double[] annualMeanArray, double[] annualVolatilityArray, double[][] correlationMatrix, int vertexCount, double horizon)
Generate a Correlated NormalSampleCohortdouble
horizon()
Retrieve the Sample HorizonLabelCorrelation
latentStateLabelCovariance()
Retrieve the Latent State Label Covariancejava.util.List<java.lang.String>
latentStateLabelList()
Retrieve the List of Latent State LabelsSample
reduce(java.lang.String label1, java.lang.String label2)
Reduce the Joint Realizations for the Pair of State Labels to a Single Risk Factor SampleLabelRdVertex
vertexRd()
Retrieve the Vertex Rd Multi-Factor RealizationsMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
NormalSampleCohort
public NormalSampleCohort(LabelRdVertex labelRdVertex, LabelCovariance latentStateLabelCovariance, double horizon) throws java.lang.ExceptionNormalSampleCohort Constructor- Parameters:
labelRdVertex
- Rd Labeled VertexlatentStateLabelCovariance
- Rd Labeled Covariancehorizon
- Horizon- Throws:
java.lang.Exception
- Thrown if the Inputs are Invalid
-
-
Method Details
-
latentStateLabelCovariance
Retrieve the Latent State Label Covariance- Returns:
- The Latent State Label Covariance
-
horizon
public double horizon()Retrieve the Sample Horizon- Returns:
- The Sample Horizon
-
latentStateLabelList
public java.util.List<java.lang.String> latentStateLabelList()Description copied from interface:SampleCohort
Retrieve the List of Latent State Labels- Specified by:
latentStateLabelList
in interfaceSampleCohort
- Returns:
- The List of Latent State Labels
-
vertexRd
Description copied from interface:SampleCohort
Retrieve the Vertex Rd Multi-Factor Realizations- Specified by:
vertexRd
in interfaceSampleCohort
- Returns:
- The Vertex Rd Multi-Factor Realizations
-
reduce
Description copied from interface:SampleCohort
Reduce the Joint Realizations for the Pair of State Labels to a Single Risk Factor Sample- Specified by:
reduce
in interfaceSampleCohort
- Parameters:
label1
- Latent State Label 1label2
- Latent State Label 2- Returns:
- The Single Risk Factor Sample