Package jdistlib.finance
Class DistributionTransforms
java.lang.Object
jdistlib.finance.DistributionTransforms
Numerical transform, cumulant, Fourier-inversion, and Esscher-tilt helpers.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classResult retaining the tilted law and its normalization diagnostics. -
Method Summary
Modifier and TypeMethodDescriptionstatic NumericalEstimatecumulant(GenericDistribution distribution, int order) Numerical cumulant obtained by centered finite differences of log M(t).static NumericalEstimatecumulative(TransformDistribution distribution, double x) Gil-Pelaez inversion of a characteristic function.static NumericalEstimatecumulativeAdaptive(TransformDistribution distribution, double x, FourierInversionOptions options) Adaptive Gil-Pelaez inversion with explicit truncation/work controls.static NumericalEstimatedensityAdaptive(TransformDistribution distribution, double x, FourierInversionOptions options) Adaptive Fourier density inversion with explicit truncation/work controls.esscherTilt(GenericDistribution distribution, double theta) Constructs a normalized exponentially tilted continuous distribution.static ComplexlogCharacteristic(GenericDistribution distribution, double frequency) static ComplexlogMomentGenerating(GenericDistribution distribution, double argument) static NumericalEstimatesaddlepointCumulative(TransformDistribution distribution, double x) Lugannani-Rice saddlepoint CDF using numerical derivatives of log M(t).
-
Method Details
-
logCharacteristic
-
logMomentGenerating
-
cumulant
Numerical cumulant obtained by centered finite differences of log M(t). -
cumulative
Gil-Pelaez inversion of a characteristic function. -
cumulativeAdaptive
public static NumericalEstimate cumulativeAdaptive(TransformDistribution distribution, double x, FourierInversionOptions options) Adaptive Gil-Pelaez inversion with explicit truncation/work controls. -
densityAdaptive
public static NumericalEstimate densityAdaptive(TransformDistribution distribution, double x, FourierInversionOptions options) Adaptive Fourier density inversion with explicit truncation/work controls. -
saddlepointCumulative
Lugannani-Rice saddlepoint CDF using numerical derivatives of log M(t). -
esscherTilt
public static DistributionTransforms.TiltResult esscherTilt(GenericDistribution distribution, double theta) Constructs a normalized exponentially tilted continuous distribution.
-