i) Test, at the 3% level of significance, whether the proportion of adults who experience an adverse reaction when taking ibuprofen is greater than the proportion of adults who experience an adverse reaction when taking acetaminophen.

MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
icon
Related questions
Question
a. What is the test statistic and its distribution for the hypothesis test stated in the preamble?
X¡ – X2 – (µ1 - H2)
O T
T
t1463
V
n2
O Z =
Z ~ N (0, 1)
P(1–P)
P(1-P)
n1
n2
P - P2 – (P1 – P2)
|
Z - N (0,1)
P(1–P)
P,(1–P.)
n2
P - P
O Z
Z ~ N (0, 1)
p(1-p)
Transcribed Image Text:a. What is the test statistic and its distribution for the hypothesis test stated in the preamble? X¡ – X2 – (µ1 - H2) O T T t1463 V n2 O Z = Z ~ N (0, 1) P(1–P) P(1-P) n1 n2 P - P2 – (P1 – P2) | Z - N (0,1) P(1–P) P,(1–P.) n2 P - P O Z Z ~ N (0, 1) p(1-p)
2. A study for adverse reactions assigned adults at random to one of two common pain relievers (ibuprofen and
acetaminophen). It was found that out of 733 adults who were administered ibuprofen, 103 of them experienced an
adverse reaction, and out of 732 adults who were administered acetaminophen, 85 of them experienced an adverse
reaction. Let p1 denote the proportion of adults who experience an adverse reaction when taking ibuprofen and let p2
denote the proportion of adults who experience an adverse reaction when taking acetaminophen. Suppose we want to
answer the following questions.
i) Test, at the 3% level of significance, whether the proportion of adults who experience an adverse reaction when taking
ibuprofen is greater than the proportion of adults who experience an adverse reaction when taking acetaminophen.
ii) Calculate the 97% confidence interval for p1
- P2.
The table below provides the information needed to perform the hypothesis test:
Value
x1
103.0000
85.0000
733.0000
732.0000
0.1405
0.1161
0.1283
1.3961
0.0813
x2
n1
n2
p.hat.1
p. hat.2
pooled.p.hat
p.value
Transcribed Image Text:2. A study for adverse reactions assigned adults at random to one of two common pain relievers (ibuprofen and acetaminophen). It was found that out of 733 adults who were administered ibuprofen, 103 of them experienced an adverse reaction, and out of 732 adults who were administered acetaminophen, 85 of them experienced an adverse reaction. Let p1 denote the proportion of adults who experience an adverse reaction when taking ibuprofen and let p2 denote the proportion of adults who experience an adverse reaction when taking acetaminophen. Suppose we want to answer the following questions. i) Test, at the 3% level of significance, whether the proportion of adults who experience an adverse reaction when taking ibuprofen is greater than the proportion of adults who experience an adverse reaction when taking acetaminophen. ii) Calculate the 97% confidence interval for p1 - P2. The table below provides the information needed to perform the hypothesis test: Value x1 103.0000 85.0000 733.0000 732.0000 0.1405 0.1161 0.1283 1.3961 0.0813 x2 n1 n2 p.hat.1 p. hat.2 pooled.p.hat p.value
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Similar questions
Recommended textbooks for you
MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman