Use R-studio to answer: The drug Clarinex is used to treat allergic symptoms. In a clinical trial of this drug, 2.1% of the 1,655 treated subjects experienced fatigue. Of the 1,652 subjects who received placebos, 1.2% experienced fatigue (according to data from the Schering Corporation). Use a significance level of 0.05 to test the claim that the incidence of fatigue is higher among individuals who used Clarinex. Should fatigue concern those taking Clarinex?
Solution
> p1=0.021
> n1=1655
> p2=0.012
> n2=1652
> x1=p1*n1
> x1=round(p1*n1)
> x1
[1] 35
> x2=round(p2*n2)
> x2
[1] 20
# H0: P1=P2
#H1 : P1>P2
> test=prop.test(x=c(x1,x2),n=c(n1,n2),alternative =
"greater")
> test
2-sample test for equality of
proportions with continuity correction
data: c(x1, x2) out of c(n1, n2)
X-squared = 3.5981, df = 1, p-value =
0.02892
alternative hypothesis: greater
95 percent confidence interval:
0.001127252 1.000000000
sample estimates:
prop 1 prop 2
0.02114804 0.01210654
> test$p.value
[1] 0.02892238
#Conclusion : Since the p-value = 0.02892238 < 0.05 level of significance so we reject the null hypothesis and conclude that the incidence of fatigue is higher among individuals who used Clarinex.
Yes, fatigue concern those taking Clarinex
Get Answers For Free
Most questions answered within 1 hours.