Class StressTester.ReverseStress
java.lang.Object
com.quantfinlib.risk.StressTester.ReverseStress
- Enclosing class:
StressTester
The reverse-stress answer: the most-probable shock vector and its distance.
-
Constructor Summary
ConstructorsConstructorDescriptionReverseStress(double[] shocks, double mahalanobisSigmas) Creates the value; array and collection arguments are copied. -
Method Summary
-
Constructor Details
-
ReverseStress
public ReverseStress(double[] shocks, double mahalanobisSigmas) Creates the value; array and collection arguments are copied.
-
-
Method Details
-
shocks
public double shocks(int i) Elementiofshocks. -
shocksLength
public int shocksLength()Length ofshocks. -
shocksCopy
public double[] shocksCopy()A fresh copy ofshocks. -
mahalanobisSigmas
public double mahalanobisSigmas()mahalanobisSigmas. -
equals
-
hashCode
-
toString
-