Skip to content
Этот калькулятор сейчас показан на английском, пока готовится его перевод.

Статистика и вероятность

Проверенный калькулятор с прозрачной формулой

Статистика и вероятность

Chi-Square Statistic Calculator.

Calculates the chi-square statistic for a contingency table or goodness-of-fit test based on observed and expected frequencies.

Результаты обновляются в реальном времени по мере ввода.
ƒ

Ваши данные

Как это работает

  1. 1

    Enter the observed frequency for a category.

  2. 2

    Enter the expected frequency for that category.

  3. 3

    The calculator computes (observed - expected) squared divided by expected.

  4. 4

    The result is the chi-square contribution for that cell.

((observed - expected)^2) / expected

Часто задаваемые вопросы

What does the chi-square statistic measure?

It measures the discrepancy between observed and expected frequencies. A larger value indicates a bigger difference.

Can I use this for multiple categories?

This calculator handles one cell at a time. For a full test, sum the contributions from all cells.

What if the expected frequency is zero?

Expected frequencies should be greater than zero. The calculator uses a minimum of 0.0001 to avoid division by zero.

Изучить эту категорию калькуляторов

Результаты

Формула проверена

Chi-square statistic

2,5

Спросить что угодно

Оценка только для общего руководства — проверяйте важные решения с соответствующим специалистом.

Как это работает

Calculates the chi-square statistic for a contingency table or goodness-of-fit test based on observed and expected frequencies.

  1. Enter the observed frequency for a category.
  2. Enter the expected frequency for that category.
  3. The calculator computes (observed - expected) squared divided by expected.
  4. The result is the chi-square contribution for that cell.

Формулы

Математика, лежащая в основе этого калькулятора, изложена так, чтобы вы могли проверить результат.

Chi-square contribution

χ² = (O - E)² / E

For each category, subtract the expected frequency from the observed, square the difference, and divide by the expected frequency.

Example:

Input: O = 50, E = 40

Calculation: (50 - 40)² / 40 = 100 / 40

Result: 2.5

Примеры из реальной жизни

Где этот расчет встречается в повседневной жизни.

Goodness-of-fit test

Compare observed counts to expected counts from a theoretical distribution.

Example: Testing if a die is fair.

Test of independence

Assess whether two categorical variables are related in a contingency table.

Example: Checking if gender affects product preference.

Homogeneity test

Compare the distribution of a categorical variable across different populations.

Example: Comparing survey responses across age groups.

Советы и частые ошибки

Tips

  • Ensure expected frequencies are at least 5 for validity in many tests.
  • Sum the contributions from all cells to get the total chi-square statistic.
  • Use the degrees of freedom to determine the p-value from a chi-square distribution table.

Common Mistakes to Avoid

  • Using percentages instead of raw frequencies.
  • Forgetting to square the difference between observed and expected.
  • Dividing by observed instead of expected.

Допущения и ограничения

  • Use the stated inputs and units.
  • Results are estimates for planning and education.
  • Check measurements and source data before making an important decision.