date: 2023-12-30
title: Probability-Theory
status: DONE
author:
  - AllenYGY
tags:
  - Chi-Square
  - Lec5
  - ProbabilityStatics
  - NOTE
created: 2023-12-30T09:21
updated: 2024-04-08T20:13
publish: TrueProbability-Theory
Chi-Square Tests
The chi-square 

Marital status




Support calls





Chi-square test of independence is used to determine if there is a significant relationship between two qualitative (categorical) variables.
A contingency table is used to investigate whether two traits or characteristics are related.
H0: X and Y are independent
Ha: X and Y are dependent
Assumption: The excepted cell frequencies are > 5
Set the level of significance
where:
6. Reject H0 if 
 
 
 
 
 

Chi-squared test of goodness of fit:
d.f. = k - 1
Chi-squared test of independence in a contingency table:
d.f. = (r - 1)(c - 1)
These formulas and degrees of freedom calculations are fundamental to performing chi-squared tests in statistics.