Package jdistlib.finance
Class NormalTemperedStableDistribution
java.lang.Object
jdistlib.generic.GenericDistribution
jdistlib.finance.NormalTemperedStableDistribution
- All Implemented Interfaces:
TransformDistribution,SupportedDistribution
Normal-tempered-stable law defined by a tempered-stable normal variance mixture.
-
Field Summary
Fields inherited from class jdistlib.generic.GenericDistribution
random -
Constructor Summary
ConstructorsConstructorDescriptionNormalTemperedStableDistribution(double alpha, double tempering, double intensity, double skew, double scale, double location) NormalTemperedStableDistribution(double alpha, double tempering, double intensity, double skew, double scale, double location, FourierInversionOptions options) -
Method Summary
Modifier and TypeMethodDescriptiondoublecumulative(double x, boolean lowerTail, boolean logP) cumulativeResult(double x) doubledensity(double x, boolean log) densityResult(double x) doublegetAlpha()doubledoubledoubledoublegetScale()doublegetSkew()doubledoublelogCharacteristic(double frequency) logMomentGenerating(double argument) doublequantile(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
-
Constructor Details
-
NormalTemperedStableDistribution
public NormalTemperedStableDistribution(double alpha, double tempering, double intensity, double skew, double scale, double location) -
NormalTemperedStableDistribution
public NormalTemperedStableDistribution(double alpha, double tempering, double intensity, double skew, double scale, double location, FourierInversionOptions options)
-
-
Method Details
-
logCharacteristic
-
logMomentGenerating
-
momentGeneratingDomain
-
getAlpha
public double getAlpha() -
getTempering
public double getTempering() -
getIntensity
public double getIntensity() -
getSkew
public double getSkew() -
getScale
public double getScale() -
getLocation
public double getLocation() -
getInversionOptions
-
densityResult
-
cumulativeResult
-
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
-
getLowerBound
public double getLowerBound()- Specified by:
getLowerBoundin interfaceSupportedDistribution
-
getUpperBound
public double getUpperBound()- Specified by:
getUpperBoundin interfaceSupportedDistribution
-