用于Google电子表格的学生在JavaScript中的分发 [英] Student's t distribution in JavaScript for Google Spreadsheet

查看:98
本文介绍了用于Google电子表格的学生在JavaScript中的分发的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Google Spreadsheets目前不支持标准功能 TDIST - 即学生的t分配。此函数对于计算p值至关重要。

Google Spreadsheets currently does not support the standard function TDIST - i.e. the Student's t-distribution. This function is critical for calculating p-values.

这似乎与没有使用积分使用函数(AFAICT)这一事实有关。

It seems that this is related to the fact that no integral-using functions (AFAICT) are implemented either.

但是,Google Docs允许人们用JavaScript添加和发布自己的脚本。

However, Google Docs allows people to add and publish their own scripts, in JavaScript.

理想情况下,我们应该有一些东西喜欢:

So ideally we should have something like:

function tdist(t_value, degrees_of_freedom, two_tailed [defaults true]) {...}

任何人都知道现有的实现(我的google-fu没有出现,但可能比你的弱)或者是一个如何做的好主意?

Anyone know of either an extant implementation of this (my google-fu has not turned up one, but may be weaker than yours) or a good idea for how to do it?

我想将这个与其他一些有用的函数一起发布,这些函数目前可以计算但有点痛苦(比如学生的t-测试本身)。

I'd like to publish this together with some other useful functions that are currently calculable but a bit of a pain (like Student's t-test itself).

谢谢!

推荐答案

< a href =http://www.math.ucla.edu/~tom/distributions/tDist.html =nofollow noreferrer>在这里你走了。

这篇关于用于Google电子表格的学生在JavaScript中的分发的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆