Environment for
DeveLoping
KDD-Applications
Supported by Index-Structures

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.

Author:
Elke Achtert

Field Summary
static double _0005
           
static double _0010
           
static double _0050
           
static double _0100
           
static double _0250
           
static double _0500
           
static double _1000
           
static double _2000
           
static double _4000
           
static double _6000
          Available alpha values.
static double _8000
           
static double _9000
           
static double _9500
           
static double _9750
           
static double _9900
           
static double _9950
           
static double _9990
           
static double _9995
           
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

_9000

public static double _9000

_9500

public static double _9500

_9750

public static double _9750

_9900

public static double _9900

_9950

public static double _9950

_9990

public static double _9990

_9995

public static double _9995

_4000

public static double _4000

_2000

public static double _2000

_1000

public static double _1000

_0500

public static double _0500

_0250

public static double _0250

_0100

public static double _0100

_0050

public static double _0050

_0010

public static double _0010

_0005

public static double _0005

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 - thre 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.1 (2008-07-10_1838)