Package org.drip.sequence.metrics
Class PivotedDepartureBounds
java.lang.Object
org.drip.sequence.metrics.PivotedDepartureBounds
public class PivotedDepartureBounds
extends java.lang.Object
PivotedDepartureBounds holds the Lower/Upper Probability Bounds in regards to the Specified
Pivot-Centered Sequence.
- Module = Numerical Core Module
- Library = Statistical Learning Library
- Project = Sequence
- Package = Metrics
- Author:
- Lakshmi Krishnamurthy
-
Field Summary
Fields Modifier and Type Field Description static intPIVOT_ANCHOR_TYPE_CUSTOMPIVOT ANCHOR TYPE - CUSTOMstatic intPIVOT_ANCHOR_TYPE_MEANPIVOT ANCHOR TYPE - MEANstatic intPIVOT_ANCHOR_TYPE_ZEROPIVOT ANCHOR TYPE - ZERO -
Constructor Summary
Constructors Constructor Description PivotedDepartureBounds(int iPivotAnchorType, double dblCustomPivotAnchor, double dblLower, double dblUpper)PivotedDepartureBounds Constructor -
Method Summary
Modifier and Type Method Description doublecustomPivotAnchor()Retrieve the Custom Pivot Anchordoublelower()Retrieve the Lower Probability BoundintpivotAnchorType()Retrieve the Pivot Anchor Typedoubleupper()Retrieve the Upper Probability BoundMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
PIVOT_ANCHOR_TYPE_ZERO
public static final int PIVOT_ANCHOR_TYPE_ZEROPIVOT ANCHOR TYPE - ZERO- See Also:
- Constant Field Values
-
PIVOT_ANCHOR_TYPE_MEAN
public static final int PIVOT_ANCHOR_TYPE_MEANPIVOT ANCHOR TYPE - MEAN- See Also:
- Constant Field Values
-
PIVOT_ANCHOR_TYPE_CUSTOM
public static final int PIVOT_ANCHOR_TYPE_CUSTOMPIVOT ANCHOR TYPE - CUSTOM- See Also:
- Constant Field Values
-
-
Constructor Details
-
PivotedDepartureBounds
public PivotedDepartureBounds(int iPivotAnchorType, double dblCustomPivotAnchor, double dblLower, double dblUpper) throws java.lang.ExceptionPivotedDepartureBounds Constructor- Parameters:
iPivotAnchorType- The Type of the Pivot AnchordblCustomPivotAnchor- The Custom Pivot AnchordblLower- Lower BounddblUpper- Upper Bound- Throws:
java.lang.Exception- Thrown if the Inputs are Invalid
-
-
Method Details
-
lower
public double lower()Retrieve the Lower Probability Bound- Returns:
- The Lower Probability Bound
-
upper
public double upper()Retrieve the Upper Probability Bound- Returns:
- The Upper Probability Bound
-
pivotAnchorType
public int pivotAnchorType()Retrieve the Pivot Anchor Type- Returns:
- The Pivot Anchor Type
-
customPivotAnchor
public double customPivotAnchor()Retrieve the Custom Pivot Anchor- Returns:
- The Custom Pivot Anchor
-