Two popular drugs used for the treatment of depression are R
Solution
Formulating the hypotheses
Ho: p1 - p2 >= 0 [ANSWER]
H1: p1 - p2 < 0 [ANSWER]
******************************
We use Z STATISTIC here. [ANSWER]
*****************************
Here, we see that pdo = 0 , the hypothesized population proportion difference.
Getting p1^ and p2^,
p1^ = x1/n1 = 0.386100386
p2^ = x2/n2 = 0.450643777
Also, the standard error of the difference is
sd = sqrt[ p1 (1 - p1) / n1 + p2 (1 - p2) / n2] = 0.031445731
Thus,
z = [p1 - p2 - pdo]/sd = -2.052532699 [ANSWER, VALUE OF TEST STATISTIC]
*********************
Also, the p value is, as this is one tailed,
P = 0.02005896 [ANSWER, P VALUE]
***********************
As P < 0.1, YES. [ANSWR, CAN WE CONCLUDE...]
