StatisticFormula.TDistribution(Double, Int32, Boolean) 方法

定义

t 分布公式计算学生的 t 分布概率。

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

参数

value
Double

t-value,要为其分配。

degreeOfFreedom
Int32

自由程度。

oneTail
Boolean

如果设置为 true,则使用单尾分布。 否则,使用双尾分布。

返回

t 分布函数概率。

示例

以下代码演示如何使用此公式。

Dim result As Double = Chart1.DataManipulator.Statistics.TDistribution(1.96, 30, true)  
double result = Chart1.DataManipulator.Statistics.TDistribution(1.96, 30, true);  

适用于