is an option to hypothesis test functions that specifies whether the test should be two-sided.


  • To use , you first need to load the Hypothesis Testing Package using Needs["HypothesisTesting`"].
  • With default setting TwoSided->False, the -value is associated with the smaller tail of the distribution of the test statistics.
  • With TwoSided->True, the -value is split between the two tails of the distribution of the test statistic.
New to Mathematica? Find your learning path »
Have a question? Ask support »