8.9:

Expected Frequencies in Goodness-of-Fit Tests

JoVE Core
Statistics
A subscription to JoVE is required to view this content.  Sign in or start your free trial.
JoVE Core Statistics
Expected Frequencies in Goodness-of-Fit Tests

1,866 Views

00:00 min

April 30, 2023

A goodness-of-fit test is conducted to determine whether the observed frequency values are statistically similar to the frequencies expected for the dataset. Suppose the expected frequencies for a dataset are equal such as when predicting the frequency of any number appearing when casting a die. In that case, the expected frequency is the ratio of the total number of observations (n)  to the number of categories (k).

Equation1

Hence, the expected frequency of any number appearing when casting a die will be 1/6.

However, suppose the expected frequencies of the dataset are unequal; the expected frequency is obtained by multiplying the total number of observations n and the probability p for the category.

Equation2