📚 What is the Goodness-of-Fit Test?
The Goodness-of-Fit test is a statistical hypothesis test used to determine how well a sample data fits with a theoretical distribution. In simpler terms, it checks if your observed data matches what you'd expect to see based on a specific model or assumption. Here’s a quick rundown:
Quick Study Guide
- 💡 Purpose: To assess if observed data is consistent with a hypothesized distribution.
- 📊 Hypotheses:
- $H_0$: The data follows the specified distribution.
- $H_1$: The data does not follow the specified distribution.
- 🧪 Common Tests: Chi-Square Goodness-of-Fit test is the most common.
- 🔢 Test Statistic (Chi-Square):
$$\chi^2 = \sum \frac{(O_i - E_i)^2}{E_i}$$
- $O_i$ = Observed frequency
- $E_i$ = Expected frequency
- 📈 Degrees of Freedom: $df = k - p - 1$, where:
- $k$ = Number of categories
- $p$ = Number of estimated parameters from the data
- ✅ Decision Rule: Reject $H_0$ if the calculated $\chi^2$ value is greater than the critical value from the Chi-Square distribution table at a chosen significance level ($\alpha$).
Practice Quiz
-
Question 1: What is the primary purpose of the Goodness-of-Fit test?
- A. To estimate population parameters.
- B. To determine how well sample data fits a theoretical distribution.
- C. To calculate the mean of a dataset.
- D. To compare two different datasets.
-
Question 2: Which of the following is the null hypothesis ($H_0$) in a Goodness-of-Fit test?
- A. The data does not follow any distribution.
- B. The data follows the specified distribution.
- C. The data is normally distributed.
- D. The data is uniformly distributed.
-
Question 3: What is the most commonly used test for assessing Goodness-of-Fit?
- A. T-test
- B. Z-test
- C. Chi-Square test
- D. ANOVA
-
Question 4: In the Chi-Square Goodness-of-Fit test, what does $O_i$ represent?
- A. Expected frequency
- B. Observed frequency
- C. Total frequency
- D. Relative frequency
-
Question 5: In the Chi-Square Goodness-of-Fit test, what does $E_i$ represent?
- A. Observed frequency
- B. Expected frequency
- C. Total frequency
- D. Relative frequency
-
Question 6: What is the formula for calculating the degrees of freedom ($df$) in a Chi-Square Goodness-of-Fit test, where $k$ is the number of categories and $p$ is the number of estimated parameters?
- A. $df = k + p - 1$
- B. $df = k - p + 1$
- C. $df = k - p - 1$
- D. $df = k + p + 1$
-
Question 7: If the calculated Chi-Square value is greater than the critical value at a chosen significance level, what decision should be made?
- A. Accept the null hypothesis.
- B. Fail to reject the null hypothesis.
- C. Reject the null hypothesis.
- D. Increase the significance level.
Click to see Answers
- B
- B
- C
- B
- B
- C
- C