StatisticFormula.TDistribution(Double, Int32, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.