Java org.apache.commons.math3.distribution ChiSquaredDistribution fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.math3.distribution ChiSquaredDistribution fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.math3.distribution ChiSquaredDistribution.

The text is from its open source code.

Field

doubleDEFAULT_INVERSE_ABSOLUTE_ACCURACY
Default inverse cumulative probability accuracy

Constructor

ChiSquaredDistribution(double degreesOfFreedom)
Create a Chi-Squared distribution with the given degrees of freedom.
ChiSquaredDistribution(double degreesOfFreedom, double inverseCumAccuracy)
Create a Chi-Squared distribution with the given degrees of freedom and inverse cumulative probability accuracy.

Method

doublecumulativeProbability(double x)
doubleinverseCumulativeProbability(final double p)
The default implementation returns
  • #getSupportLowerBound() for p = 0 ,
  • #getSupportUpperBound() for p = 1 .
doublesample()
The default implementation uses the inversion method.