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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈