Two students went to a local supermarket and collected data


Two students went to a local supermarket and collected data on cereals; they classified cereals by their target consumer (children versus adults) and the placement of the cereal on the shelf (bottom, middle, and top). The data are given in Cereals.

(a) Create a table to summarize the relationship between age of target consumer and shelf location.

(b) Conduct a chi-square test using R's chisq.test command.

(c) R returns a warning message. Compute the expected counts for each cell to see why.

(d) Conduct a permutation test for independence, adapting the code

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Two students went to a local supermarket and collected data
Reference No:- TGS02226172

Expected delivery within 24 Hours