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

StudentTPValue

StudentTPValue[x, df]
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
Needs["HypothesisTesting`"]
The p-value for -2 in a t distribution with 5 degrees of freedom:
In[2]:=
Click for copyable input
Out[2]=