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 Function TDistribution (
	value As Double,
	degreeOfFreedom As Integer,
	oneTail As Boolean
) As Double

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.

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

.NET Framework
Available since 4.0
Return to top
Show: