Package org.drip.capital.simulation
Class StressEventIndicator
java.lang.Object
org.drip.capital.simulation.StressEventIndicator
public class StressEventIndicator
extends java.lang.Object
StressEventIndicator holds the Systemic and the Idiosyncratic Stress Event Indicators corresponding
to the specified Entity. The References are:
- Bank for International Supervision(2005): Stress Testing at Major Financial Institutions: Survey Results and Practice https://www.bis.org/publ/cgfs24.htm
- Glasserman, P. (2004): Monte Carlo Methods in Financial Engineering Springer
- Kupiec, P. H. (2000): Stress Tests and Risk Capital Risk 2 (4) 27-39
- Module = Portfolio Core Module
- Library = Capital Analytics
- Project = Basel Market Risk and Operational Capital
- Package = Economic Risk Capital Simulation Ensemble
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description StressEventIndicator(double systemic, java.util.Map<java.lang.String,java.lang.Double> idiosyncraticMap)StressEventIndicator Constructor -
Method Summary
Modifier and Type Method Description booleancontainsIdiosyncratic(java.lang.String eventName)Indicate if the Idiosyncratic Named Event contains a Random Entrystatic StressEventIndicatorCustomSystemic(java.util.Set<java.lang.String> idiosyncraticEventSet, double systemicEventIndicator)Construct the Instance of StressEventIndicator where the Systemic Indicator is Customdoubleidiosyncratic(java.lang.String eventName)Retrieve the Entry corresponding to the Idiosyncratic Named Eventjava.util.Map<java.lang.String,java.lang.Double>idiosyncraticMap()Retrieve the Idiosyncratic Random Event Indicator Mapstatic StressEventIndicatorRandomSystemic(java.util.Set<java.lang.String> idiosyncraticEventSet)Construct the Instance of StressEventIndicator where the Systemic Indicator is Randomdoublesystemic()Retrieve the Systemic Random Event IndicatorMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
StressEventIndicator
public StressEventIndicator(double systemic, java.util.Map<java.lang.String,java.lang.Double> idiosyncraticMap) throws java.lang.ExceptionStressEventIndicator Constructor- Parameters:
systemic- Systemic Random Event IndicatoridiosyncraticMap- Idiosyncratic Random Event Indicator Map- Throws:
java.lang.Exception- Thrown if the Inputs are Invalid
-
-
Method Details
-
RandomSystemic
public static final StressEventIndicator RandomSystemic(java.util.Set<java.lang.String> idiosyncraticEventSet)Construct the Instance of StressEventIndicator where the Systemic Indicator is Random- Parameters:
idiosyncraticEventSet- The Set of Idiosyncratic Events- Returns:
- Instance of StressEventIndicator where the Systemic Indicator is Random
-
CustomSystemic
public static final StressEventIndicator CustomSystemic(java.util.Set<java.lang.String> idiosyncraticEventSet, double systemicEventIndicator)Construct the Instance of StressEventIndicator where the Systemic Indicator is Custom- Parameters:
idiosyncraticEventSet- The Set of Idiosyncratic EventssystemicEventIndicator- Systemic Event Indicator- Returns:
- Instance of StressEventIndicator where the Systemic Indicator is Custom
-
systemic
public double systemic()Retrieve the Systemic Random Event Indicator- Returns:
- The Systemic Random Event Indicator
-
idiosyncraticMap
public java.util.Map<java.lang.String,java.lang.Double> idiosyncraticMap()Retrieve the Idiosyncratic Random Event Indicator Map- Returns:
- The Idiosyncratic Random Event Indicator Map
-
containsIdiosyncratic
public boolean containsIdiosyncratic(java.lang.String eventName)Indicate if the Idiosyncratic Named Event contains a Random Entry- Parameters:
eventName- The Idiosyncratic Event- Returns:
- TRUE - The Idiosyncratic Named Event contains a Random Entry
-
idiosyncratic
public double idiosyncratic(java.lang.String eventName) throws java.lang.ExceptionRetrieve the Entry corresponding to the Idiosyncratic Named Event- Parameters:
eventName- The Idiosyncratic Event- Returns:
- The Entry corresponding to the Idiosyncratic Named Event
- Throws:
java.lang.Exception- Thrown if the Inputs are Invalid
-