de.lmu.ifi.dbs.elki.math.statistics
Class StudentDistribution

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.math.statistics.StudentDistribution

public class StudentDistribution
extends Object

Tabelarizes the values for student distribution.


Field Summary
static double _0005
          Available alpha values.
static double _0010
          Available alpha values.
static double _0050
          Available alpha values.
static double _0100
          Available alpha values.
static double _0250
          Available alpha values.
static double _0500
          Available alpha values.
static double _1000
          Available alpha values.
static double _2000
          Available alpha values.
static double _4000
          Available alpha values.
static double _6000
          Available alpha values.
static double _8000
          Available alpha values.
static double _9000
          Available alpha values.
static double _9500
          Available alpha values.
static double _9750
          Available alpha values.
static double _9900
          Available alpha values.
static double _9950
          Available alpha values.
static double _9990
          Available alpha values.
static double _9995
          Available alpha values.
private static Map<Integer,Map<Double,Double>> tValues
          Holds the t-values.
 
Constructor Summary
StudentDistribution()
           
 
Method Summary
private static void put(int n, double[] values)
          Stores the specified t-values for the given degree of freedom.
static double tValue(double alpha, int n)
          Returns the t-value for the given alpha-value and degree of freedom.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_6000

public static double _6000
Available alpha values.


_8000

public static double _8000
Available alpha values.


_9000

public static double _9000
Available alpha values.


_9500

public static double _9500
Available alpha values.


_9750

public static double _9750
Available alpha values.


_9900

public static double _9900
Available alpha values.


_9950

public static double _9950
Available alpha values.


_9990

public static double _9990
Available alpha values.


_9995

public static double _9995
Available alpha values.


_4000

public static double _4000
Available alpha values.


_2000

public static double _2000
Available alpha values.


_1000

public static double _1000
Available alpha values.


_0500

public static double _0500
Available alpha values.


_0250

public static double _0250
Available alpha values.


_0100

public static double _0100
Available alpha values.


_0050

public static double _0050
Available alpha values.


_0010

public static double _0010
Available alpha values.


_0005

public static double _0005
Available alpha values.


tValues

private static Map<Integer,Map<Double,Double>> tValues
Holds the t-values.

Constructor Detail

StudentDistribution

public StudentDistribution()
Method Detail

tValue

public static double tValue(double alpha,
                            int n)
Returns the t-value for the given alpha-value and degree of freedom.

Parameters:
alpha - the alpha value
n - the degree of freedom
Returns:
the t-value for the given alpha-value and degree of freedom

put

private static void put(int n,
                        double[] values)
Stores the specified t-values for the given degree of freedom.

Parameters:
n - the degree of freedom
values - the t-values

Release 0.4.0 (2011-09-20_1324)