John one of the owners of Mi Casa Front Porch Restaurant and
John, one of the owners of Mi Casa Front Porch Restaurant and Maria, the Chef were interested in customer preferences as they looked to expand the menu. There are four different types of meat, beef, chicken, pork and seafood and three different presentations, tacos, enchiladas and fajitas. Based upon data from items sold from the menu in the past week, the following was observed. John and Maria want to determine if there is a difference between the types of meats and types of presentations and they also wanted to know if there was a dependency between the types of meats and types of presentations, with the potential dependency being most important.
Solution
Observed data is as follows:
Set up hypotheses as:
H0: The types of meats are independent of types of presentations
Ha:The types of meats are not independent of types of presentations
(Two tailed chi square test)
Prepare contingency table:
chi-square = 346.
df = 2x3 =6
p value = 0.000
As p < 0.01, reject null hypothesis.
The types of meats are not independent of types of presentations
| Types of meat | Beef | Chicken | Pork | Seafood | Total |
| Tacos | 1255 | 625 | 576 | 922 | 3378 |
| Ecnchiladas | 637 | 965 | 623 | 722 | 2947 |
| Fajitas | 603 | 746 | 425 | 421 | 2195 |
| Total | 2495 | 2336 | 1624 | 2065 | 8520 |
