Please see the attached file(s).
Please see the attached file(s). You may swap between worksheets in the Excel file by clicking on the relevant tab at the bottom left corner.
a. The survival curves (time spent in the clinic) are plotted below. The blue curve is for Clinic 1, while the magenta curve is for Clinic 2. It seems that the time spent in the clinic is by and large higher for Clinic 2, which is further asserted by the hypothesis test presented after the plot.
H0: μ1 = μ2 vs. HA: μ1 < μ2
Level of significance: α = 5%
Decision Rule: Reject the null hypothesis if p-value < 0.05
Hypothesis Test: Independent Groups (t-test, pooled variance)
Clinic 1 Clinic 2
365.39 471.13 mean
246.13 292.24 std. dev.
163 75 n
-105.747 difference (T - Group 2)
68,362.531 pooled variance
261.462 pooled std. dev.
36.482 standard error of difference
0 hypothesized difference
.0021 p-value (one-tailed, upper)
Conclusion: Since the p-value is less than 0.05, the ...
The solution answers the question regarding the retention of patients.