Answer:
The types of cookies purchased by the customers depends on where the scouts sell them.
Explanation:
The data provided is:
Sales Type of Cookie Sold
Method
Thin Mints Tagalongs Do-si-dos Trefoils Samoas
At
parents’ 472 641 350 223 401
workplace
Door
-to- 840 1092 673 511 542
Door
Community 683 742 491 420 374
Events
A Chi-square test for goodness of fit will be used to determine whether the types of cookies purchased by the customers depends on where the scouts sell them.
The hypothesis can be defined as:
H₀: The observed frequencies are same as the expected frequencies.
Hₐ: The observed frequencies are not same as the expected frequencies.
The test statistic is given as follows:

The formula to compute the expected frequency is:

Consider the Excel output for the expected frequency values.
The Chi-square test statistic value is:

The degrees of freedom is:
df = (r - 1)(c - 1)
= (3 - 1)(5 - 1)
= 2 × 4
= 8
The p-value is:

*Use a Chi-square table.
The p-value of the test is very small.
The null hypothesis will be rejected at 1% level of significance.
Conclusion:
There is enough evidence to support the claim that the types of cookies purchased by the customers depends on where the scouts sell them.