Home Â» Chi-Square Goodness of Fit Test on a TI-84 Calculator

# Chi-Square Goodness of Fit Test on a TI-84 Calculator

AÂ Chi-Square Goodness of Fit TestÂ is used to determineÂ whether or not a categorical variable follows a hypothesized distribution.

This tutorial explains how to perform a Chi-Square Goodness of Fit Test on a TI-84 calculator.

### Example: Chi-Square Goodness of Fit Test on a TI-84 Calculator

A shop owner claims that an equal number of customers come into his shop during each weekday. To test this hypothesis, an independent researcher records the number of customers that come into the shop on a given week and finds the following:

• Monday:Â 50 customers
• Tuesday: 60 customers
• Wednesday:Â 40 customers
• Thursday:Â 47Â customers
• Friday:Â 53 customers

We will use the following steps to perform a Chi-Square goodness of fit test to determine if the data is consistent with the shop ownerâ€™s claim.

Step 1: Input the data.

First, we will input the data values for the expected number of customers each day and the observed number of customers each day.Â Press StatÂ  and then pressÂ EDITÂ . Enter the following values for the observed number of customers in column L1 and the values for the expected number of customers in column L2:

Note:Â There were 250 customers total. Thus, if the shop owner expects an equal number to come into the shop each day then that would be 50 customers per day.

Step 2: Perform the Chi-Square goodness of fit test.

Next, we will perform the Chi-Square goodness of fit test. PressÂ StatÂ and then scroll over to TESTS.Â Then scroll down to X2GOF-Test and pressÂ Enter.

ForÂ Observed, choose list L1. ForÂ Expected, choose list L2. For df (degrees of freedom), enter # categories â€“ 1. In our case, we have 5-1 = 4. Then highlightÂ CalculateÂ and pressÂ Enter.

The following output will automatically appear:

Step 3: Interpret the results.

The X2 test statistic for the test isÂ 4.36Â and the corresponding p-value isÂ 0.3595. Since this p-value is not less than 0.05, we fail to reject the null hypothesis. This means we do not have sufficient evidence to say that the true distribution of customers is different from the distribution that the shop owner claimed.