How do I calculate a p-value if I have the t-statistic and d.f. (in Perl)? -
I have written a Perl script which performs several one-sample T-tests. I get thousands of t-figures with my degree of freedom (DF). I need to upgrade the script so that they can return their P-value (there are so many to see themselves in the table) Is there a formula that I would like to get t data and D.F. Can I use for input? I hope someone can help me, thank you very much!
seems quite straightforward to use:
Print Statistics :: Distribution :: tprob ($ dof, $ tstat);
Comments
Post a Comment