Calculates the right-tailed chi-squared distribution, which is commonly used in hypothesis testing.
x- The input to the chi-squared probability distribution function. The value at which to evaluate the function.
Must be a positive number.
degrees_freedom- The number of degrees of freedom of the distribution.
degrees_freedomis truncated to an integer if a non-integer is provided.
degrees_freedommust be at least
1and may not exceed
All arguments must be numeric.
CHISQ.DIST.RTis synonymous with
CHIDIST: Calculates the right-tailed chi-squared distribution, often used in hypothesis testing.
CHIINV: Calculates the inverse of the right-tailed chi-squared distribution.
CHISQ.DIST: Calculates the left-tailed chi-squared distribution, often used in hypothesis testing.
CHITEST: Returns the probability associated with a Pearson's chi-squared test on the two ranges of data. Determines the likelihood that the observed categorical data is drawn from an expected distribution.
Suppose you want to test the fairness of a 6-sided die:
From several rolls, you obtain a chi-squared statistic of
The number of degrees of freedom is
6 - 1 = 5.
We will evaluate the chi-squared distribution with
5degrees of freedom when x equals