Επεξεργασία

Κοινή χρήση μέσω


StatisticFormula.TDistribution(Double, Int32, Boolean) Method

Definition

The t-distribution formula calculates the probability for the Student's t-distribution.

public:
 double TDistribution(double value, int degreeOfFreedom, bool oneTail);
public double TDistribution (double value, int degreeOfFreedom, bool oneTail);
member this.TDistribution : double * int * bool -> double
Public Function TDistribution (value As Double, degreeOfFreedom As Integer, oneTail As Boolean) As Double

Parameters

value
Double

t-value for which you want the distribution.

degreeOfFreedom
Int32

Degree of freedom.

oneTail
Boolean

If set to true, one-tailed distribution is used. Otherwise, two-tailed distribution is used.

Returns

t-distribution function probability.

Examples

The following code demonstrates how to use this formula.

Dim result As Double = Chart1.DataManipulator.Statistics.TDistribution(1.96, 30, true)  
double result = Chart1.DataManipulator.Statistics.TDistribution(1.96, 30, true);  

Applies to