Question

In a comparative double-blind randomized study of single dose fosfomycin trometamol with trimethoprim in the treatment...

In a comparative double-blind randomized study of single dose fosfomycin trometamol with trimethoprim in the treatment of uncomplicated urinary infections, 26 of 35 were cured with fosfomycin trometamol and 12 of 24 were cured with the reference drug trimethoprim.

Denote the eradication rates for fosfomycin trometamol and the reference drug trimethoprim by p1 and p2 respectively.

(a) Evaluate the test statistic
Z=p^1−p^2p^(1−p^)(1n1+1n2)−−−−−−−−−−−−−−−−√.

(b) Use the R function pnorm() and the value of the test statistic from (a) to find the p-value for the test H0:p1=p2 versus HA:p1≠p2.

(d) Find the p-value for the test H0:p1=p2 versus HA:p1≠p2 using the R function prop.test()

(f) Calculate a 97% two-sided confidence interval for the difference p1−p2 using the R function prop.test(). The interval ranges from _____
to _____.
.

Homework Answers

Answer #1

p1 = 26/35 #p1(hat)
p2 = 12/24 #p2(hat)
p = 0.6441 #p(hat)
n1 = 35
n2 = 24
z = (p1-p2)/sqrt(p*(1-p)*((1/n1)+(1/n2)))
z   

OUTPUT Z= 1.91392

-----------------------------------------------------------------------------------------------------------

b) pnorm(-z)
2*pnorm(-z) #p-value for two tailed test


Output =  0.05563033​​​​​​​

-----------------------------------------------------------------------------------------------------------

d)  prop.test(38,59, p = NULL,alternative = c("two.sided"),conf.level = 0.97, correct = TRUE)

p-value = 0.03725

-----------------------------------------------------------------------------------------------------------

f)  97 percent confidence interval:
0.4943414 0.7712156

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
A researcher is conducting a randomized, placebo-controlled experiment to test the hypotheses H0:p1=p2 versus Ha:p1>p2H_a: p_1...
A researcher is conducting a randomized, placebo-controlled experiment to test the hypotheses H0:p1=p2 versus Ha:p1>p2H_a: p_1 > p_2Ha​:p1​>p2​ where p1= the population proportion of all patients given the new drug who are cured and p2=the population proportion of all patients given the placebo who are cured. The patients were randomly assigned to the two treatment groups in a 2 to 1 ratio, that is, twice as many patients were randomized to the new treatment as were to the placebo group....
Researchers conducted a randomized, double-blind study to measure the effects of the drug olanzapine on patients...
Researchers conducted a randomized, double-blind study to measure the effects of the drug olanzapine on patients diagnosed with bipolar disorder. A total of 115 patients with a DSM-IV diagnosis of bipolar disorder were randomly divided into two groups. Group 1 (n1 = 55) received 5 to 20 mg per day of olanzapine, while group 2 (n2 = 60) received a placebo. The effectiveness of the drug was measured using the Young–Mania rating scale total score with the net improvement in...
An experiment was conducted to test the effect of a new drug on a viral infection....
An experiment was conducted to test the effect of a new drug on a viral infection. After the infection was induced in 100 mice, the mice were randomly split into two groups of 50. The first group, the control group, received no treatment for the infection, and the second group received the drug. After a 30-day period, the proportions of survivors, p?1 and p?2, in the two groups were found to be 0.38 and 0.66, respectively. (a) Is there sufficient...
In a randomized​ double-blind, placebo-controlled trial of​ children, an herb was tested as a treatment for...
In a randomized​ double-blind, placebo-controlled trial of​ children, an herb was tested as a treatment for upper respiratory infections in children.​ "Days of​ fever" was one criterion used to measure effects. Among 320 children treated with the​ herb, the mean number of days with fever was 0.81 with a standard deviation of 1.42 days. Among 372 children given a​ placebo, the mean number of days with fever was 0.62 with a standard deviation of 1.15 days. Use a 0.05 significance...
Zoloft is a drug used to treat obsessive-compulsive disorder (OCD). In randomized, double-blind clinical trials, 926...
Zoloft is a drug used to treat obsessive-compulsive disorder (OCD). In randomized, double-blind clinical trials, 926 patients diagnosed with OCD were randomly divided into two groups. Subjects in group 1 (experimental group) received 200 milligrams per day (mg/day) of Zoloft, while subjects n group 2 (control group) received a placebo. Of the 553 subjects in the experimental group, 77 experienced dry mouth as a side effect. Of the 373 subjects in the control group, 34 experienced dry mouth as a...
Zoloft is a drug used to treat obsessive-compulsive disorder (OCD). In randomized, double-blind clinical trials, 926...
Zoloft is a drug used to treat obsessive-compulsive disorder (OCD). In randomized, double-blind clinical trials, 926 patients diagnosed with OCD were randomly divided into two groups. Subjects in group 1 (experimental group) received 200 milligrams per day (mg/day) of Zoloft, while subjects n group 2 (control group) received a placebo. Of the 553 subjects in the experimental group, 77 experienced dry mouth as a side effect. Of the 373 subjects in the control group, 34 experienced dry mouth as a...
Does the use of sweetener xylitol reduce the incidence of ear infections? Some children are randomly...
Does the use of sweetener xylitol reduce the incidence of ear infections? Some children are randomly allocated t xylitol treatment group and other children to the control group (who are treated with placebo). Of 285 children on xylitol, 72 got ear infection, while of 229 children on placebo, 57 got ear infection. Suppose p1p1 and p2p2 represent population proportions with ear infections on xylitol and placebo, respectively. Again p^1p^1 and p^2p^2 represent sample proportions with ear infections on xylitol and...
Does the use of sweetener xylitol reduce the incidence of ear infections? Some children are randomly...
Does the use of sweetener xylitol reduce the incidence of ear infections? Some children are randomly allocated t xylitol treatment group and other children to the control group (who are treated with placebo). Of 210 children on xylitol, 53 got ear infection, while of 292 children on placebo, 73 got ear infection. Suppose p1p1 and p2p2 represent population proportions with ear infections on xylitol and placebo, respectively. Again p̂ 1p^1 and p̂ 2p^2 represent sample proportions with ear infections on...
In a​ randomized, double-blind​ experiment, 120 babies were randomly divided into a treatment group (n1 =60)...
In a​ randomized, double-blind​ experiment, 120 babies were randomly divided into a treatment group (n1 =60) and a control group ( n2= 60 right). After the​ study, the treatment group had a mean serum retinol concentration of 47.35 micrograms per deciliter (ug/ dL) with a standard deviation of 17.26 ug/dL​, while the control group had a mean serum retinol concentration of 14.72 ug/dL with a standard deviation of 14.21 ug/ dL. Does the treatment group have a higher standard deviation...
It's flu season on campus. A study reported that 10% of students suffered some flu-like symptoms...
It's flu season on campus. A study reported that 10% of students suffered some flu-like symptoms during the first week of finals, versus 7% of faculty & staff suffering flu-like symptoms. Suppose 200 students and 200 faculty & staff responded to the study. Let "students" and "faculty & staff" represent population 1 and population 2, respectively. Use Table 1. (Note: the automated question following this one will ask you confidence interval questions for this same data, so jot down your...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT