This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

StudentTPValue


gives the cumulative probability beyond x for Student's t distribution with df degrees of freedom.
  • The two-sided p-value is twice the one-sided p-value.
  • The following option can be given:
TwoSidedFalsewhether to perform a two-sided test
The p-value for -2 in a t distribution with 5 degrees of freedom:
Needs["HypothesisTesting`"]
The p-value for -2 in a t distribution with 5 degrees of freedom:
In[2]:=
Click for copyable input
Out[2]=
A two-sided p-value: