Q.1.3

Question

Calculate the chi-square statistic for Joey’s sample. Show your work 

Step-by-Step Solution

Verified
Answer

The expected counts are 10.58,10.59,6.9,6.9,5.52 and 5.52 respectively.

1Step 1: Given Information

The number of blue, orange, green, yellow, red and brown candies are 12,7,13,4,8 and 2 respectively. The proportions are 23%,15% and 12% respectively.

2Step 2: Explanation

The formula to compute the test statistic is

χ2=(O-E)2/E

The calculation for test statistics could be done as:

 Observed value  Expected value (O-E)(O-E)2(O-E)2/E1210.581.422.01640.191710.58-3.5812.8161.211136.96.137.215.39345.9-2.98.411.21985.522.486.15041.11420325.52-3.5212.39042.244638

The test statistic is:

χ2=(O-E)2E

    =11.3724