登录

The test of independence is a chi-square-based test used to determine whether two variables or factors are independent or dependent. This hypothesis test is used to examine the independence of the variables. One can construct two qualitative survey questions or experiments based on the variables in a contingency table. The goal is to see if the two variables are unrelated (independent) or related (dependent). The null and alternative hypotheses for this test are:

H0: The two variables (factors) are independent.

H1: The two variables (factors) are dependent

First, one identifies the observed frequencies and calculates the expected frequencies. The expected frequency of each entry is obtained by multiplying the row total and column total and dividing it by the sum of all the frequencies. Then the test statistic is calculated using observed frequency values from the contingency tables and the calculated expected frequencies. Then with the help of the chi-square table, the critical values in a one-tailed test with suitable confidence levels are calculated. If the test statistic is larger than the critical value and falls in the critical region, the null hypothesis is rejected; otherwise, it is accepted.

This text is adapted from Openstax, Introductory Statistics, Section 11.5, Comparison of the Chi-Square Tests.

Tags

Hypothesis TestTest Of IndependenceChi square TestQualitative Survey QuestionsContingency TableNull HypothesisAlternative HypothesisObserved FrequenciesExpected FrequenciesTest StatisticCritical ValuesOne tailed Test

来自章节 8:

article

Now Playing

8.12 : Hypothesis Test for Test of Independence

Distributions

3.4K Views

article

8.1 : 用于估计总体的分布参数

Distributions

3.9K Views

article

8.2 : 自由度

Distributions

2.9K Views

article

8.3 : 学生 t 分布

Distributions

5.7K Views

article

8.4 : 在 z 分布和 t 分布之间进行选择

Distributions

2.7K Views

article

8.5 : 卡方分布

Distributions

3.4K Views

article

8.6 : 求卡方的临界值

Distributions

2.8K Views

article

8.7 : 估计总体标准差

Distributions

2.9K Views

article

8.8 : 拟合优度检验

Distributions

3.2K Views

article

8.9 : 拟合优度检验中的预期频率

Distributions

2.5K Views

article

8.10 : 列联表

Distributions

2.4K Views

article

8.11 : 独立性测试简介

Distributions

2.0K Views

article

8.13 : 确定预期频率

Distributions

2.1K Views

article

8.14 : 均匀性检验

Distributions

1.9K Views

article

8.15 : F 分布

Distributions

3.6K Views

JoVE Logo

政策

使用条款

隐私

科研

教育

关于 JoVE

版权所属 © 2025 MyJoVE 公司版权所有,本公司不涉及任何医疗业务和医疗服务。