In: Statistics and Probability
6. A local brewery produces three premium lagers named Half Pint, XXX, and Dark Night. Of its premium lagers, they bottle 40% Half Pint, 40% XXX, and 20% Dark Night lagers. In a marketing test of a sample of consumers, 38 preferred the Half Pint lager, 32 preferred the XXX lager, and 10 preferred the Dark Night lager. Using a chi-square goodness-of-fit test, decide to retain or reject the null hypothesis that the production of the premium lagers matches these consumer preferences using a 0.05 level of significance.
- State the value of the test statistic. (Round your answer to two decimal places.)
- State the decision to retain or reject the null hypothesis.
7. A psychologist studying addiction tests whether cravings for cocaine and relapse are independent. The following table lists the observed frequencies in the small sample of people who use drugs.
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.05 level of significance. (Round your answer to two decimal places.)
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 decimal places. Round your answers to two decimal places.)
ϕ | = | |
V | = |