什么是jStat函数来计算具有预定义置信水平的 t 分布?
jStat.???(1, 0.99) # == 63.67
jStat.???(10, 0.99) # == 3.17
jStat.???(1, 0.95) # == 12.69
什么是jStat函数来计算具有预定义置信水平的 t 分布?
jStat.???(1, 0.99) # == 63.67
jStat.???(10, 0.99) # == 3.17
jStat.???(1, 0.95) # == 12.69
您可以像这样使用jStat.studentt.inv( p, dof ):
function tdist(df, conf_lvl) {
return jStat.studentt.inv((1 - (1 - conf_lvl) / 2), df)
}
.inv(p, dof)
返回给定p = (1 - alpha ) 的所需值,其中alpha值是一条路径中的面积量,而置信度为 (1 - 2 * alpha ) [它不包括两条路径中的面积]