This documentation is archived and is not being maintained.

StatisticFormula::TDistribution Method

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.

No code example is currently available or this language may not be supported.

.NET Framework

Supported in: 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: