Chi-Square Formula:
From: | To: |
The Chi-Square (χ²) test is a statistical method used to determine if there is a significant difference between the expected and observed frequencies in categorical data. It's commonly used for goodness-of-fit tests and tests of independence.
The calculator uses the Chi-Square formula:
Where:
Explanation: The test compares the observed frequencies with the expected frequencies under the null hypothesis. A large chi-square value indicates a significant difference.
Details: Use the Chi-Square test when:
Tips:
Q1: What's the difference between goodness-of-fit and test of independence?
A: Goodness-of-fit compares observed to theoretical distribution, while test of independence examines relationship between two categorical variables.
Q2: What are degrees of freedom in Chi-Square test?
A: For goodness-of-fit: df = (number of categories - 1). For test of independence: df = (rows - 1) × (columns - 1).
Q3: When is Chi-Square test not appropriate?
A: When expected frequencies are too small (<5), or when dealing with continuous data or paired samples.
Q4: How to interpret the Chi-Square value?
A: Compare your calculated χ² to critical values from Chi-Square distribution table based on your degrees of freedom and significance level.
Q5: What are alternatives when expected frequencies are too small?
A: Fisher's exact test is often used when sample sizes are small.