8.8:

Goodness-of-Fit Test

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

2,628 Views

00:00 min

April 30, 2023

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.