登录

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

Tags

Test Of IndependenceChi square TestContingency TableObserved ValuesExpected ValuesTest StatisticGoodness of fit TestDegrees Of FreedomProbabilityStatistical Independence

来自章节 8:

article

Now Playing

8.11 : Introduction to Test of Independence

Distributions

2.1K Views

article

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

Distributions

4.0K Views

article

8.2 : 自由度

Distributions

3.0K Views

article

8.3 : 学生 t 分布

Distributions

5.8K 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

3.0K Views

article

8.8 : 拟合优度检验

Distributions

3.2K Views

article

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

Distributions

2.5K Views

article

8.10 : 列联表

Distributions

2.4K Views

article

8.12 : 独立性检验的假设检验

Distributions

3.4K 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 公司版权所有,本公司不涉及任何医疗业务和医疗服务。