JavaScript 中的 TINV函数

首页 / JavaScript入门教程 / JavaScript 中的 TINV函数

TINV函数取代了Excel 2010中的T.INV.2T函数。

描述

该函数返回学生t分布的两尾逆。

语法

TINV (probability,deg_freedom)

争论

Argument 描述 Required/Optional
Probability The probability associated with the two-tailed Student's t-distribution. Required
Deg_freedom The number of degrees of freedom with which to characterize the distribution. Required

Notes

  • TINV returns the value t, such that P(|X| > t)=probability where X is a random variable that follows the t-distribution and P(|X| > t)=P(X < -t or X > t)

  • 如果deg_freedom不是整数,则将其截断。

  • 通过将概率替换为2 *概率,可以返回单尾t值。对于0.05的概率和10的自由度,使用TINV(0.05,10)计算两尾值,返回2.28139。可以使用TINV(2 * 0.05,10)计算具有相同概率和自由度的单尾值,该值将返回1.812462

  • 在某些表格中,概率描述为(1-p)

  • 如果任何一个参数都是非数值的,TINV将返回#VALUE!错误值。

    无涯教程网

  • If probability <= 0 or if probability > 1, TINV returns the #NUM! error value.

  • If deg_freedom < 1, TINV returns the #NUM! error value.

  • 给定一个概率值,TINV求该值x使得TDIST(x,deg_freedom,2)=概率。因此,TINV的精度取决于TDIST的精度。 TINV使用迭代搜索技术。如果搜索在100次迭代后仍未收敛,则该函数返回错误值#N/A。

Example

TINV Function

祝学习愉快!(内容编辑有误?请选中要编辑内容 -> 右键 -> 修改 -> 提交!)

技术教程推荐

微服务架构核心20讲 -〔杨波〕

Nginx核心知识150讲 -〔陶辉〕

深入拆解Tomcat & Jetty -〔李号双〕

网络编程实战 -〔盛延敏〕

现代C++编程实战 -〔吴咏炜〕

Kubernetes入门实战课 -〔罗剑锋〕

计算机基础实战课 -〔彭东〕

云计算的必修小课 -〔吕蕴偲〕

结构执行力 -〔李忠秋〕

好记忆不如烂笔头。留下您的足迹吧 :)