Package org.drip.measure.chisquare
Class R1NonCentralCumulantInvariant
java.lang.Object
org.drip.measure.continuous.R1Distribution
org.drip.measure.chisquare.R1NonCentral
org.drip.measure.chisquare.R1NonCentralCumulantInvariant
public class R1NonCentralCumulantInvariant extends R1NonCentral
R1NonCentralCumulantInvariant implements the Cumulant Invariant Transformation for the
R1 Non-central Chi-Square Distribution. The References are:
- Johnson, N. L., S. Kotz, and N. Balakrishnan (1995): Continuous Univariate Distributions 2nd Edition John Wiley and Sons
- Muirhead, R. (2005): Aspects of Multivariate Statistical Theory 2nd Edition Wiley
- Non-central Chi-Squared Distribution (2019): Chi-Squared Function https://en.wikipedia.org/wiki/Noncentral_chi-squared_distribution
- Sankaran, M. (1963): Approximations to the Non-Central Chi-Square Distribution Biometrika 50 (1-2) 199-204
- Young, D. S. (2010): tolerance: An R Package for Estimating Tolerance Intervals Journal of Statistical Software 36 (5) 1-39
- Construct the Second Cumulant Invariant Instance of R1NonCentralCumulantInvariant
- Construct the Third Cumulant Invariant Instance of R1NonCentralCumulantInvariant
- Construct the Fourth Cumulant Invariant Instance of R1NonCentralCumulantInvariant
- R1NonCentralCumulantInvariant Constructor
- Retrieve the Sankaran (1963) "B"
- Compute the Density under the Distribution at the given Variate
- Transform x into the Wilson-Hilferty Variate
- Transform the Wilson-Hilferty Variate into x
| Module | Computational Core Module |
| Library | Numerical Analysis Library |
| Project | Rd Continuous/Discrete Probability Measures |
| Package | Chi-Square Distribution Implementation/Properties |
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description R1NonCentralCumulantInvariant(R1NonCentralParameters r1NonCentralParameters, R1ToR1 gammaEstimator, R1ToR1 digammaEstimator, R2ToR1 lowerIncompleteGammaEstimator, ModifiedBesselFirstKindEstimator modifiedBesselFirstKindEstimator, double sankaranB)R1NonCentralCumulantInvariant Constructor -
Method Summary
Modifier and Type Method Description doublecumulative(double x)Transform x into the Wilson-Hilferty Variatedoubledensity(double x)Compute the Density under the Distribution at the given Variatestatic R1NonCentralCumulantInvariantFourthCumulant(int degreesOfFreedom, double nonCentralityParameter, R1ToR1 gammaEstimator, R1ToR1 digammaEstimator, R2ToR1 lowerIncompleteGammaEstimator, ModifiedBesselFirstKindEstimator modifiedBesselFirstKindEstimator)Construct the Fourth Cumulant Invariant Instance of R1NonCentralCumulantInvariantdoubleinvCumulative(double y)Transform the Wilson-Hilferty Variate into xdoublesankaranB()Retrieve the Sankaran (1963) "B"static R1NonCentralCumulantInvariantSecondCumulant(int degreesOfFreedom, double nonCentralityParameter, R1ToR1 gammaEstimator, R1ToR1 digammaEstimator, R2ToR1 lowerIncompleteGammaEstimator, ModifiedBesselFirstKindEstimator modifiedBesselFirstKindEstimator)Construct the Second Cumulant Invariant Instance of R1NonCentralCumulantInvariantstatic R1NonCentralCumulantInvariantThirdCumulant(int degreesOfFreedom, double nonCentralityParameter, R1ToR1 gammaEstimator, R1ToR1 digammaEstimator, R2ToR1 lowerIncompleteGammaEstimator, ModifiedBesselFirstKindEstimator modifiedBesselFirstKindEstimator)Construct the Third Cumulant Invariant Instance of R1NonCentralCumulantInvariantMethods inherited from class org.drip.measure.chisquare.R1NonCentral
cumulant, digammaEstimator, excessKurtosis, gammaEstimator, leadingCentralMoments, leadingRawMoments, lowerIncompleteGammaEstimator, mean, modifiedBesselFirstKindEstimator, momentGeneratingFunction, nonCentralMoment, parameters, skewness, Standard, support, varianceMethods inherited from class org.drip.measure.continuous.R1Distribution
bPOE, centralMoment, cvar, differentialEntropy, expectedShortfall, fisherInformation, histogram, incremental, iqr, kullbackLeiblerDivergence, median, mode, populationCentralMeasures, probabilityGeneratingFunction, quantile, random, randomArray, supported, tukeyAnomaly, tukeyCriterionMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
R1NonCentralCumulantInvariant
public R1NonCentralCumulantInvariant(R1NonCentralParameters r1NonCentralParameters, R1ToR1 gammaEstimator, R1ToR1 digammaEstimator, R2ToR1 lowerIncompleteGammaEstimator, ModifiedBesselFirstKindEstimator modifiedBesselFirstKindEstimator, double sankaranB) throws java.lang.ExceptionR1NonCentralCumulantInvariant Constructor- Parameters:
r1NonCentralParameters- R1 Non-central ParametersgammaEstimator- Gamma EstimatordigammaEstimator- Digamma EstimatorlowerIncompleteGammaEstimator- Lower Incomplete Gamma EstimatormodifiedBesselFirstKindEstimator- Modified Bessel First Kind EstimatorsankaranB- Sankaran (1963) "B"- Throws:
java.lang.Exception- Thrown if the Inputs are Invalid
-
-
Method Details
-
SecondCumulant
public static final R1NonCentralCumulantInvariant SecondCumulant(int degreesOfFreedom, double nonCentralityParameter, R1ToR1 gammaEstimator, R1ToR1 digammaEstimator, R2ToR1 lowerIncompleteGammaEstimator, ModifiedBesselFirstKindEstimator modifiedBesselFirstKindEstimator)Construct the Second Cumulant Invariant Instance of R1NonCentralCumulantInvariant- Parameters:
degreesOfFreedom- Degrees of FreedomnonCentralityParameter- Non-centrality ParametergammaEstimator- Gamma EstimatordigammaEstimator- Digamma EstimatorlowerIncompleteGammaEstimator- Lower Incomplete Gamma EstimatormodifiedBesselFirstKindEstimator- Modified Bessel First Kind Estimator- Returns:
- The Second Cumulant Invariant Instance of R1NonCentralCumulantInvariant
-
ThirdCumulant
public static final R1NonCentralCumulantInvariant ThirdCumulant(int degreesOfFreedom, double nonCentralityParameter, R1ToR1 gammaEstimator, R1ToR1 digammaEstimator, R2ToR1 lowerIncompleteGammaEstimator, ModifiedBesselFirstKindEstimator modifiedBesselFirstKindEstimator)Construct the Third Cumulant Invariant Instance of R1NonCentralCumulantInvariant- Parameters:
degreesOfFreedom- Degrees of FreedomnonCentralityParameter- Non-centrality ParametergammaEstimator- Gamma EstimatordigammaEstimator- Digamma EstimatorlowerIncompleteGammaEstimator- Lower Incomplete Gamma EstimatormodifiedBesselFirstKindEstimator- Modified Bessel First Kind Estimator- Returns:
- The Third Cumulant Invariant Instance of R1NonCentralCumulantInvariant
-
FourthCumulant
public static final R1NonCentralCumulantInvariant FourthCumulant(int degreesOfFreedom, double nonCentralityParameter, R1ToR1 gammaEstimator, R1ToR1 digammaEstimator, R2ToR1 lowerIncompleteGammaEstimator, ModifiedBesselFirstKindEstimator modifiedBesselFirstKindEstimator)Construct the Fourth Cumulant Invariant Instance of R1NonCentralCumulantInvariant- Parameters:
degreesOfFreedom- Degrees of FreedomnonCentralityParameter- Non-centrality ParametergammaEstimator- Gamma EstimatordigammaEstimator- Digamma EstimatorlowerIncompleteGammaEstimator- Lower Incomplete Gamma EstimatormodifiedBesselFirstKindEstimator- Modified Bessel First Kind Estimator- Returns:
- The Fourth Cumulant Invariant Instance of R1NonCentralCumulantInvariant
-
sankaranB
public double sankaranB()Retrieve the Sankaran (1963) "B"- Returns:
- Sankaran (1963) "B"
-
density
public double density(double x) throws java.lang.ExceptionCompute the Density under the Distribution at the given Variate- Overrides:
densityin classR1NonCentral- Parameters:
x- Variate at which the Density needs to be computed- Returns:
- The Density
- Throws:
java.lang.Exception- Thrown if the input is invalid
-
cumulative
public double cumulative(double x) throws java.lang.ExceptionTransform x into the Wilson-Hilferty Variate- Overrides:
cumulativein classR1NonCentral- Parameters:
x- X- Returns:
- The Wilson-Hilferty Variate
- Throws:
java.lang.Exception- Thrown if the inputs are invalid
-
invCumulative
public double invCumulative(double y) throws java.lang.ExceptionTransform the Wilson-Hilferty Variate into x- Overrides:
invCumulativein classR1Distribution- Parameters:
y- The Wilson-Hilferty Variate- Returns:
- The Wilson-Hilferty Variate transformed back to x
- Throws:
java.lang.Exception- Thrown if the Input is invalid
-