HypothesisTesting`
HypothesisTesting`
ChiSquarePValue
ChiSquarePValue[x,df]
gives the cumulative probability beyond x for the distribution with df degrees of freedom.
Details and Options
- To use ChiSquarePValue, you first need to load the Hypothesis Testing Package using Needs["HypothesisTesting`"].
- The one-sided
‐value is CDF[ChiSquareDistribution[df],x] if x is less than the median of the
distribution with df degrees of freedom, and 1-CDF[ChiSquareDistribution[df],x] otherwise.
- The two-sided
‐value is twice the one-sided
‐value.
- The following option can be given:
-
TwoSided False whether to perform a two-sided test
Examples
open allclose allBasic Examples (1)Summary of the most common use cases
Wolfram Research (2007), ChiSquarePValue, Wolfram Language function, https://reference.wolfram.com/language/HypothesisTesting/ref/ChiSquarePValue.html.
✖
Wolfram Research (2007), ChiSquarePValue, Wolfram Language function, https://reference.wolfram.com/language/HypothesisTesting/ref/ChiSquarePValue.html.
Text
Wolfram Research (2007), ChiSquarePValue, Wolfram Language function, https://reference.wolfram.com/language/HypothesisTesting/ref/ChiSquarePValue.html.
✖
Wolfram Research (2007), ChiSquarePValue, Wolfram Language function, https://reference.wolfram.com/language/HypothesisTesting/ref/ChiSquarePValue.html.
CMS
Wolfram Language. 2007. "ChiSquarePValue." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/HypothesisTesting/ref/ChiSquarePValue.html.
✖
Wolfram Language. 2007. "ChiSquarePValue." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/HypothesisTesting/ref/ChiSquarePValue.html.
APA
Wolfram Language. (2007). ChiSquarePValue. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/HypothesisTesting/ref/ChiSquarePValue.html
✖
Wolfram Language. (2007). ChiSquarePValue. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/HypothesisTesting/ref/ChiSquarePValue.html
BibTeX
✖
@misc{reference.wolfram_2025_chisquarepvalue, author="Wolfram Research", title="{ChiSquarePValue}", year="2007", howpublished="\url{https://reference.wolfram.com/language/HypothesisTesting/ref/ChiSquarePValue.html}", note=[Accessed: 02-April-2025
]}
BibLaTeX
✖
@online{reference.wolfram_2025_chisquarepvalue, organization={Wolfram Research}, title={ChiSquarePValue}, year={2007}, url={https://reference.wolfram.com/language/HypothesisTesting/ref/ChiSquarePValue.html}, note=[Accessed: 02-April-2025
]}