Step 1

Chi-square test of independence:

A single simple random sampling is done with each individual being classified based on the two categorical variables. The relation among categorical variable is determined using Chi-square test of independence. The test is helps to analyze the variables that are independent or associated. This test is called as chi-square test of independence.

Step 2

Condition of chi-square independence:

-The samples are selected at random.

-The variables dependent and independent under study are each categorical

-Expected cell counts must be at least 5.

Explanation:

The researchers test whether the income level of the consumers (middle, upper middle and upper class) and types of costumes (funny costumes, scary costumes, clever costumes and boring costumes). For the analysis of categorical data with more than one variable, here, contingency tables are used. The chi square test of independence is used to test the association between variables in a contingency table.

Thus, the correct answer is chi-square of independence.

Thus, the correct answer is option d.

Chi-square test of independence:

A single simple random sampling is done with each individual being classified based on the two categorical variables. The relation among categorical variable is determined using Chi-square test of independence. The test is helps to analyze the variables that are independent or associated. This test is called as chi-square test of independence.

Step 2

Condition of chi-square independence:

-The samples are selected at random.

-The variables dependent and independent under study are each categorical

-Expected cell counts must be at least 5.

Explanation:

The researchers test whether the income level of the consumers (middle, upper middle and upper class) and types of costumes (funny costumes, scary costumes, clever costumes and boring costumes). For the analysis of categorical data with more than one variable, here, contingency tables are used. The chi square test of independence is used to test the association between variables in a contingency table.

Thus, the correct answer is chi-square of independence.

Thus, the correct answer is option d.