In: Statistics and Probability
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 | 21 | 10 | 31 | 
| No | 7 | 18 | 25 | |
| 28 | 28 | N = 56 | ||
(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.
Retain the null hypothesis.Reject the null hypothesis.
(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 | = |