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
Colaborați cu noi pe GitHub
Sursa pentru acest conținut poate fi găsită pe GitHub, unde puteți, de asemenea, să creați și să consultați probleme și solicitări de tragere. Pentru mai multe informații, consultați ghidul nostru pentru colaboratori.