Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
var t = beta / _sqrt;
console.log("degrees", degrees);
console.log("beta", beta, "sqrt", _sqrt);
console.log("t=", t, "tprob=", statDist.tprob(degrees, t));
var pvalue = 2 * (1 - statDist.tprob(degrees, t));
console.log("pvalue=", pvalue);
Tulosteet ylläolevasta:
degrees 82 (program):64
beta 1.0097334538696747 sqrt 0.015688694906613447 (program):65
t= 64.36057682809738 tprob= 0 (program):66
pvalue= 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment