StatisticFormula.TDistribution Method (Double, Int32, Boolean)

.NET Framework (current version)
 

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

Namespace:   System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)

public double TDistribution(
	double value,
	int degreeOfFreedom,
	bool oneTail
)

Parameters

value
Type: System.Double

t-value for which you want the distribution.

degreeOfFreedom
Type: System.Int32

Degree of freedom

oneTail
Type: System.Boolean

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

Return Value

Type: System.Double

t-distribution function probability.

The following code demonstrates how to use this formula.

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

.NET Framework
Available since 4.0
Return to top
Show: