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 all

## Basic Examples(1)

The value for 10 in a distribution with 5 degrees of freedom:

## Options(1)

### TwoSided(1)

A twosided value:

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.

#### CMS

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

#### BibTeX

@misc{reference.wolfram_2024_chisquarepvalue, author="Wolfram Research", title="{ChiSquarePValue}", year="2007", howpublished="\url{https://reference.wolfram.com/language/HypothesisTesting/ref/ChiSquarePValue.html}", note=[Accessed: 15-June-2024 ]}

#### BibLaTeX

@online{reference.wolfram_2024_chisquarepvalue, organization={Wolfram Research}, title={ChiSquarePValue}, year={2007}, url={https://reference.wolfram.com/language/HypothesisTesting/ref/ChiSquarePValue.html}, note=[Accessed: 15-June-2024 ]}