8.11:

Introduction to Test of Independence

JoVE 핵심
통계학
JoVE 비디오를 활용하시려면 도서관을 통한 기관 구독이 필요합니다.  전체 비디오를 보시려면 로그인하거나 무료 트라이얼을 시작하세요.
JoVE 핵심 통계학
Introduction to Test of Independence

1,817 Views

00:00 min

April 30, 2023

In statistics, the term independence means that one can directly obtain the probability of any event involving both variables by multiplying their individual probabilities. Tests of independence are chi-square tests involving the use of a contingency table of observed (data) values.

The test statistic for a test of independence is similar to that of a goodness-of-fit test:

Equation1

where:

  • O = observed values
  • E = expected values (which should be at least 5)

A test of independence determines whether two factors are independent or not. The test of independence is always right-tailed because of the calculation of the test statistic. If the expected and observed values are not close together, then the test statistic is very large and way out in the right tail of the chi-square curve, as it is in a goodness-of-fit.

The number of degrees of freedom for the test of independence is:

Equation2

The following formula calculates the expected number (E):

Equation3

This text is adapted from Openstax, Introductory Statistics, Section 11.3 Test of Independence