This method returns the probability for the T distribution (student's distribution).
Returns the Percentage Points (probability) for the Student t-distribution where a numeric value (x) is a calculated value of t for which the Percentage Points are to be computed. The t-distribution is used in the hypothesis testing of small sample data sets. Use this function in place of a table of critical values for the t-distribution.
Visual Basic (Declaration) | |
---|---|
Public Function TDistribution( _ ByVal tValue As Double, _ ByVal degreeOfFreedom As Integer, _ ByVal oneTail As Boolean _ ) As Double |
Visual Basic (Usage) | Copy Code |
---|---|
|
Parameters
- tValue
- The T value for which the distribution probability is required.
T value - degreeOfFreedom
- The degree of freedom.
Degree of Freedom - oneTail
- If true the probability is one-tailed, if not it is two-tailed.
Returns the one-tailed distribution
Return Value
Returns T Distribution cumulative functionThe following sample calculates the T distribution probability.
Visual Basic | Copy Code |
---|---|
Imports Dundas.Charting.WinControl |
C# | Copy Code |
---|---|
using Dundas.Charting.WinControl; |
This method returns the probability for the T distribution, which is otherwise known as the student's distribution.
Use this function in place of a table of critical values for the t-distribution.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family