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


TwoSided
is an option to hypothesis test functions that specifies whether the test should be two‐sided.
Details and Options
- To use TwoSided, 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.
Tech Notes
Text
Wolfram Research (2007), TwoSided, Wolfram Language function, https://reference.wolfram.com/language/HypothesisTesting/ref/TwoSided.html.
CMS
Wolfram Language. 2007. "TwoSided." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/HypothesisTesting/ref/TwoSided.html.
APA
Wolfram Language. (2007). TwoSided. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/HypothesisTesting/ref/TwoSided.html
BibTeX
@misc{reference.wolfram_2025_twosided, author="Wolfram Research", title="{TwoSided}", year="2007", howpublished="\url{https://reference.wolfram.com/language/HypothesisTesting/ref/TwoSided.html}", note=[Accessed: 13-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_twosided, organization={Wolfram Research}, title={TwoSided}, year={2007}, url={https://reference.wolfram.com/language/HypothesisTesting/ref/TwoSided.html}, note=[Accessed: 13-August-2025]}