6. A local brewery produces three premium lagers named HalfPint, XXX, and Dark Night. Of its premium lagers, they bottle 40%Half Pint, 40% XXX, and 20% Dark Night lagers. In a marketing testof a sample of consumers, 38 preferred the Half Pint lager, 32preferred the XXX lager, and 10 preferred the Dark Night lager.Using a chi-square goodness-of-fit test, decide to retain or rejectthe null hypothesis that the production of the premium lagersmatches these consumer preferences using a 0.05 level ofsignificance.
- State the value of the test statistic. (Round your answer totwo decimal places.)
- State the decision to retain or reject the nullhypothesis.
7. A psychologist studying addiction tests whether cravings forcocaine and relapse are independent. The following table lists theobserved frequencies in the small sample of people who usedrugs.
Obs. Freq. | Relapse | |
---|
Yes | No |
---|
Cravings | Yes | 20 | 10 | 30 |
No | 8 | 18 | 26 |
| 28 | 28 | N = 56 |
Part A) Conduct a chi-square test for independence at a 0.05level of significance. (Round your answer to two decimalplaces.)
Decide whether to retain or reject the null hypothesis.
Part B) Compute effect size using Ï• and Cramer's V.Hint: Both should give the same estimate of effect size.(If necessary, round your intermediate steps to two or more decimalplaces. Round your answers to two decimal places.)