Package jdistlib.finance
Class StableDistribution
java.lang.Object
jdistlib.generic.GenericDistribution
jdistlib.finance.StableDistribution
- All Implemented Interfaces:
TransformDistribution,SupportedDistribution
public final class StableDistribution
extends GenericDistribution
implements SupportedDistribution, TransformDistribution
Univariate alpha-stable law in Nolan's S1 parameterization.
-
Field Summary
Fields inherited from class jdistlib.generic.GenericDistribution
random -
Constructor Summary
ConstructorsConstructorDescriptionStableDistribution(double alpha, double beta, double scale, double location) -
Method Summary
Modifier and TypeMethodDescriptiondoublecumulative(double x, boolean lowerTail, boolean logP) doubledensity(double x, boolean log) static StableDistributionfromS0(double alpha, double beta, double scale, double locationS0) Converts Nolan S0 location to this class's canonical S1 location.doublegetAlpha()doublegetBeta()doubledoubledoublegetScale()doublelogCharacteristic(double frequency) logMomentGenerating(double argument) doublelowerTailAsymptotic(double x) Leading left-tail probability for large positive distance from location.booleanmomentExists(double order) doublequantile(double probability, boolean lowerTail, boolean logP) doublerandom()doubleupperTailAsymptotic(double x) Leading right-tail probability for large positive distance from location.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
-
Constructor Details
-
StableDistribution
public StableDistribution(double alpha, double beta, double scale, double location)
-
-
Method Details
-
fromS0
Converts Nolan S0 location to this class's canonical S1 location. -
getAlpha
public double getAlpha() -
getBeta
public double getBeta() -
getScale
public double getScale() -
getLocation
public double getLocation() -
momentExists
public boolean momentExists(double order) -
upperTailAsymptotic
public double upperTailAsymptotic(double x) Leading right-tail probability for large positive distance from location. -
lowerTailAsymptotic
public double lowerTailAsymptotic(double x) Leading left-tail probability for large positive distance from location. -
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 probability, boolean lowerTail, boolean logP) - Specified by:
quantilein classGenericDistribution
-
random
public double random()- Specified by:
randomin classGenericDistribution
-
logCharacteristic
- Specified by:
logCharacteristicin interfaceTransformDistribution
-
logMomentGenerating
- Specified by:
logMomentGeneratingin interfaceTransformDistribution
-
momentGeneratingDomain
- Specified by:
momentGeneratingDomainin interfaceTransformDistribution
-
getLowerBound
public double getLowerBound()- Specified by:
getLowerBoundin interfaceSupportedDistribution
-
getUpperBound
public double getUpperBound()- Specified by:
getUpperBoundin interfaceSupportedDistribution
-