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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om