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.
observed_range- The counts associated with each category of data.
expected_range- The expected counts for each category under the null hypothesis.
expected_rangemust both be ranges with the same number of rows and columns.
If any cell in either range is non-numeric, it and the corresponding cell in the other range do not count toward the calculation.
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.
CHISQ.DIST.RT: Calculates the right-tailed chi-squared distribution, which is commonly used in hypothesis testing.
FTEST: Returns the probability associated with an F-test for equality of variances. Determines whether two samples are likely to have come from populations with the same variance.
TTEST: Returns the probability associated with t-test. Determines whether two samples are likely to have come from the same two underlying populations that have the same mean.
Suppose you want to test the fairness of a 6-sided die. You count the number of times each side is rolled for 60 trials, and compare it to an expected distribution where each side is rolled 10 times. There is only a 5.1% chance that the die is actually fair.
|1||Observed data||Expected data|