We want to test the relative efficacy of a new cholesterol lowerin drug A versus existing drug B. We randomize na subjects with high cholesterol to tal treatment A and nB subjects to take treatment B. After a 1-month followup, we measur cholesterol levels in both groups. Suppose the data in the two groups are independent an iid iid YA, YA,..., YA N(4, 02) and Y", YP,. YB N(uB,o²), where o? = 9 is know: ...,

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

Solve both parts 3 and 4 of the question below using a two-sample z test.

Show all work and steps.

 

We want to test the relative efficacy of a new cholesterol lowering
drug A versus existing drug B. We randomize na subjects with high cholesterol to take
treatment A and ng subjects to take treatment B. After a 1-month followup, we measure
cholesterol levels in both groups. Suppose the data in the two groups are independent and
iid
iid
YA N(u4, o²) and Y³,Y;",...,
YB N(uB,o²), where o?
9 is known.
2
пв
Let Y4 and YB be the sample average cholesterol level in group A and B.
3. Suppose YA
20 and YB = 26 with na = nB = 36. Conduct an a = .05 significance
level test of Họ : A
= 0 versus Ha : A 7 0. Do you reject or fail to reject the null at
the .05 significance level? Be su
to find the distribution under the null, compute the
critical value, find the rejection region, and the compute the p-value.
4. Interpret the p-value you computed in the previous part.
Transcribed Image Text:We want to test the relative efficacy of a new cholesterol lowering drug A versus existing drug B. We randomize na subjects with high cholesterol to take treatment A and ng subjects to take treatment B. After a 1-month followup, we measure cholesterol levels in both groups. Suppose the data in the two groups are independent and iid iid YA N(u4, o²) and Y³,Y;",..., YB N(uB,o²), where o? 9 is known. 2 пв Let Y4 and YB be the sample average cholesterol level in group A and B. 3. Suppose YA 20 and YB = 26 with na = nB = 36. Conduct an a = .05 significance level test of Họ : A = 0 versus Ha : A 7 0. Do you reject or fail to reject the null at the .05 significance level? Be su to find the distribution under the null, compute the critical value, find the rejection region, and the compute the p-value. 4. Interpret the p-value you computed in the previous part.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 2 images

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