Fiveable

📈Intro to Probability for Business Unit 13 Review

QR code for Intro to Probability for Business practice questions

13.1 Chi-Square Goodness-of-Fit Test

13.1 Chi-Square Goodness-of-Fit Test

Written by the Fiveable Content Team • Last updated August 2025
Written by the Fiveable Content Team • Last updated August 2025
📈Intro to Probability for Business
Unit & Topic Study Guides

The chi-square goodness-of-fit test helps determine if categorical data matches a specific distribution. It compares observed frequencies to expected ones, calculating a test statistic to assess the fit between sample data and hypothesized population distribution.

Interpreting results involves comparing the test statistic to a critical value or using the p-value. This helps decide whether to reject or fail to reject the null hypothesis, indicating if the sample data significantly differs from the expected distribution.

Chi-Square Goodness-of-Fit Test

Purpose of chi-square goodness-of-fit test

  • Determines if a sample of categorical data (colors, types) comes from a population with a specific distribution
  • Compares observed frequencies of categories in the sample to expected frequencies based on the hypothesized distribution
  • Applicable when data is categorical or nominal, sample is randomly selected, and expected frequency of each category is at least 5
Purpose of chi-square goodness-of-fit test, Chi-square Goodness of Fit test

Calculation of chi-square test statistic

  • Calculate expected frequencies for each category by multiplying hypothesized probability of each category by total sample size
  • Chi-square test statistic calculated using formula χ2=i=1k(OiEi)2Ei\chi^2 = \sum_{i=1}^{k} \frac{(O_i - E_i)^2}{E_i}
    • OiO_i represents observed frequency for category ii (actual count)
    • EiE_i represents expected frequency for category ii (calculated based on hypothesized distribution)
    • kk represents number of categories (options, choices)
Purpose of chi-square goodness-of-fit test, 1.7 Conducting a Chi Squared Goodness of Fit test using R - BSCI 1511L Statistics Manual ...

Degrees of freedom for chi-square tests

  • Degrees of freedom for chi-square goodness-of-fit test calculated as df=k1df = k - 1
    • kk represents number of categories
  • Critical value determined by significance level (α\alpha), degrees of freedom
    • Found using chi-square distribution table or statistical software (Excel, R)

Interpretation of chi-square test results

  • Compare calculated chi-square test statistic to critical value
    1. If test statistic greater than critical value, reject null hypothesis
      • Suggests sample data does not follow hypothesized distribution (significantly different)
    2. If test statistic less than or equal to critical value, fail to reject null hypothesis
      • Suggests sample data consistent with hypothesized distribution (not significantly different)
  • P-value also used to make decision
    • If p-value less than significance level (α\alpha), reject null hypothesis
    • If p-value greater than or equal to significance level (α\alpha), fail to reject null hypothesis
Pep mascot
Upgrade your Fiveable account to print any study guide

Download study guides as beautiful PDFs See example

Print or share PDFs with your students

Always prints our latest, updated content

Mark up and annotate as you study

Click below to go to billing portal → update your plan → choose Yearly → and select "Fiveable Share Plan". Only pay the difference

Plan is open to all students, teachers, parents, etc
Pep mascot
Upgrade your Fiveable account to export vocabulary

Download study guides as beautiful PDFs See example

Print or share PDFs with your students

Always prints our latest, updated content

Mark up and annotate as you study

Plan is open to all students, teachers, parents, etc
report an error
description

screenshots help us find and fix the issue faster (optional)

add screenshot

2,589 studying →