Package org.drip.measure.stochastic
Class LabelCorrelation
java.lang.Object
org.drip.measure.stochastic.LabelBase
org.drip.measure.stochastic.LabelCorrelation
- Direct Known Subclasses:
LabelCovariance
public class LabelCorrelation extends LabelBase
LabelCorrelation holds the Correlations between any Stochastic Variates identified by their Labels.
The References are:
- Andersen, L. B. G., M. Pykhtin, and A. Sokol (2017): Credit Exposure in the Presence of Initial Margin https://papers.ssrn.com/sol3/papers.cfm?abstract_id=2806156 eSSRN
- Albanese, C., S. Caenazzo, and O. Frankel (2017): Regression Sensitivities for Initial Margin Calculations https://papers.ssrn.com/sol3/papers.cfm?abstract_id=2763488 eSSRN
- Anfuso, F., D. Aziz, P. Giltinan, and K. Loukopoulus (2017): A Sound Modeling and Back-testing Framework for Forecasting Initial Margin Requirements https://papers.ssrn.com/sol3/papers.cfm?abstract_id=2716279 eSSRN
- Caspers, P., P. Giltinan, R. Lichters, and N. Nowaczyk (2017): Forecasting Initial Margin Requirements - A Model Evaluation https://papers.ssrn.com/sol3/papers.cfm?abstract_id=2911167 eSSRN
- International Swaps and Derivatives Association (2017): SIMM v2.0 Methodology https://www.isda.org/a/oFiDE/isda-simm-v2.pdf
- Module = Computational Core Module
- Library = Numerical Analysis Library
- Project = Rd Continuous/Discrete Probability Measures
- Package = R1 R1 To R1 Process
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description LabelCorrelation(java.util.List<java.lang.String> labelList, double[][] matrix)
LabelCorrelation Constructor -
Method Summary
Modifier and Type Method Description double
entry(java.lang.String label1, java.lang.String label2)
Retrieve the Correlation Entry for the Pair of Labelsdouble[][]
matrix()
Retrieve the Cross-Label Correlation MatrixLabelCorrelation
subTenor(java.util.List<java.lang.String> subTenorList)
Generate the InterestRateTenorCorrelation Instance that corresponds to the Tenor sub-spaceMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
LabelCorrelation
public LabelCorrelation(java.util.List<java.lang.String> labelList, double[][] matrix) throws java.lang.ExceptionLabelCorrelation Constructor- Parameters:
labelList
- The List of Labelsmatrix
- The Correlation Matrix- Throws:
java.lang.Exception
- Thrown if the Inputs are Invalid
-
-
Method Details
-
matrix
public double[][] matrix()Retrieve the Cross-Label Correlation Matrix- Returns:
- The Cross-Label Correlation Matrix
-
entry
public double entry(java.lang.String label1, java.lang.String label2) throws java.lang.ExceptionRetrieve the Correlation Entry for the Pair of Labels- Parameters:
label1
- Label #1label2
- Label #2- Returns:
- The Correlation Entry
- Throws:
java.lang.Exception
- Thrown if the Inputs are Invalid
-
subTenor
Generate the InterestRateTenorCorrelation Instance that corresponds to the Tenor sub-space- Parameters:
subTenorList
- The sub-Tenor List- Returns:
- The InterestRateTenorCorrelation Instance
-