Package jdistlib.finance
Class OptionImpliedDistribution
java.lang.Object
jdistlib.generic.GenericDistribution
jdistlib.finance.OptionImpliedDistribution
- All Implemented Interfaces:
AtomAwareDistribution,SupportedDistribution
public final class OptionImpliedDistribution
extends GenericDistribution
implements AtomAwareDistribution, SupportedDistribution
Atom-aware risk-neutral law recovered from a convex piecewise-linear call curve.
-
Field Summary
Fields inherited from class jdistlib.generic.GenericDistribution
random -
Method Summary
Modifier and TypeMethodDescriptiondoubleatomProbability(double x) ReturnsP(X = x); zero means no declared atom atx.doublecumulative(double x, boolean lowerTail, boolean logP) doubledensity(double x, boolean log) double[]double[]doubledoubledoublequantile(double p, boolean lowerTail, boolean logP) doublerandom()Methods inherited from class jdistlib.generic.GenericDistribution
copyBackward, cumulative, cumulative, cumulative, cumulative_hazard, cumulative_hazard, cumulativeInto, density, density, densityInto, getRandomEngine, hazard, hazard, inverse_survival, inverse_survival, quantile, quantile, quantile, quantileInto, random, random, randomInto, setRandomEngine, survival, survival, survival
-
Method Details
-
density
public double density(double x, boolean log) - Specified by:
densityin classGenericDistribution
-
cumulative
public double cumulative(double x, boolean lowerTail, boolean logP) - Specified by:
cumulativein classGenericDistribution
-
quantile
public double quantile(double p, boolean lowerTail, boolean logP) - Specified by:
quantilein classGenericDistribution
-
random
public double random()- Specified by:
randomin classGenericDistribution
-
atomProbability
public double atomProbability(double x) Description copied from interface:AtomAwareDistributionReturnsP(X = x); zero means no declared atom atx.- Specified by:
atomProbabilityin interfaceAtomAwareDistribution
-
getLowerBound
public double getLowerBound()- Specified by:
getLowerBoundin interfaceSupportedDistribution
-
getUpperBound
public double getUpperBound()- Specified by:
getUpperBoundin interfaceSupportedDistribution
-
getAtomLocations
public double[] getAtomLocations() -
getAtomMasses
public double[] getAtomMasses()
-