T 分数到 p 值计算器
单边假设还是双边假设?
显着性水平
P 值: 0.08088
p < 0.05时结果不显着
function getPVALUE(){
var df=document.getElementById('df').value*1;var t_input=document.getElementById('t').value*1;var t=Math.abs(t_input);
var p_value=1-jStat.studentt.cdf(t,df);
if(document.getElementById('two_tailed').checked){p_value=p_value*2;}
var sig_level='';if(document.getElementById('one').checked){sig_level=0.01;}else if(document.getElementById('five').checked){sig_level=0.05;}else{sig_level=0.10;}
var sig_verdict='';if(p_value