Goodness-of-Fit Procedure

Calculating the Test Statistic

The Problem

Example #4: Let us have a 6-sided die. Let us, furthermore, hypothesize that the die is fair. To test this hypothesis, we collect data. In this case, that data consists of rolling that die 46 times and recording which face came up each time. Here is the data summarized in tabular form:

Summarized data from rolling the 6-sided die 46 times.
Die Face 123456
Frequency 56108710

With this information, calculate the test statistic corresponding to the null hypothesis that this die is fair. Note that the faces of a fair die are equally likely. Thus, \(p_i = 1/g = 1/ 6 = 0.166667\).

Information given:

To summarize the above, the values of import are:

Summary statistics from the problem
\( x_1 \)=
\( x_2 \)=
\( x_3 \)=
\( x_4 \)=
\( x_5 \)=
\( x_6 \)=
 
\( \mu_1 \)=
\( \mu_2 \)=
\( \mu_3 \)=
\( \mu_4 \)=
\( \mu_5 \)=
\( \mu_6 \)=

It may be helpful if you calculate these values yourself. Once you have, you can check your answers by hovering your mouse over the grey spaces to see if you calculated them correctly.

Your Answer

In the box below, please enter the test statistic for the null hypothesis and the data given above. Once you have done so, click on the “Check your answer!” button. Please round your answer to the ten-thousandths place.

Assistance

Show Formula

Show Solution

Show the R Code

Show the Excel Code

© Ole J. Forsberg, Ph.D. 2024. All rights reserved.   .