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

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

Introduction

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

The text is from its open source code.

Field

doubleDEFAULT_INVERSE_ABSOLUTE_ACCURACY
Default inverse cumulative probability accuracy.

Constructor

TDistribution(double degreesOfFreedom)
Create a t distribution using the given degrees of freedom.
TDistribution(double degreesOfFreedom, double inverseCumAccuracy)
Create a t distribution using the given degrees of freedom and the specified inverse cumulative probability absolute accuracy.

Method

doublecumulativeProbability(double x)
doubleinverseCumulativeProbability(final double p)
The default implementation returns
  • #getSupportLowerBound() for p = 0 ,
  • #getSupportUpperBound() for p = 1 .
doubleprobability(double x0, double x1)
For a random variable X whose values are distributed according to this distribution, this method returns P(x0 < X <= x1) .
doublesample()
The default implementation uses the inversion method.