登录

The goodness-of-fit test is a type of hypothesis test which determines whether the data "fits" a particular distribution. For example, one may suspect that some anonymous data may fit a binomial distribution. A chi-square test (meaning the distribution for the hypothesis test is chi-square) can be used to determine if there is a fit. The null and alternative hypotheses may be written in sentences or stated as equations or inequalities. The test statistic for a goodness-of-fit test is given as follows:

Equation1

where:

O = observed values (data), and E = expected values (from theory)

The observed values are the data values, and the expected values are the values you would expect to get if the null hypothesis were true. It is important to note that each cell’s expected needs to be at least five to use this test. The number of degrees of freedom is Equation2, where k = the number of different data cells or categories.

The goodness-of-fit test is almost always right-tailed. If the observed and the corresponding expected values are not close, the test statistic will be significant and located at the extreme right tail of the chi-square curve.

This text is adapted from Openstax, Introductory Statistics, 11.2 Goodness-of-Fit Test.

Tags
Goodness of fit TestHypothesis TestChi square TestNull HypothesisAlternative HypothesisObserved ValuesExpected ValuesTest StatisticDegrees Of FreedomRight tailed TestData DistributionStatistical Significance

来自章节 8:

article

Now Playing

8.8 : Goodness-of-Fit Test

Distributions

3.2K 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.9 : 拟合优度检验中的预期频率

Distributions

2.5K Views

article

8.10 : 列联表

Distributions

2.4K Views

article

8.11 : 独立性测试简介

Distributions

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