# TDensity 脚本和图表功能

`TDensity()` 返回学生的 `t` 密度函数的值，其中数值是要对其计算概率的 `t`的计算值。

语法：

TDensity(value, degrees\_freedom)

返回数据类型： 数字

参数

| 参数 | 说明 |
| --- | --- |
| `value` | 您想要用于评估分布的值。值必须不能为负数。 |
| `degrees_freedom` | 表示自由度数的正整数。 |