i. If we use a right-tailed test, what is our alternative hypothesis: p1 # p2 ? p1 < p2 ? or p1 > P2 ? ii. Explain what we would conclude if we rejected the null hypothesis with a right-tailed test. iii. Can we reject the null hypothesis at level of significance a = 0.05, using a right-tailed test? iv. Can we reject the null hypothesis at level of significance a = 0.01, using a right-tailed test?

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 questions 1 through 4 please
2. To test the null hypothesis p1 = p2 with two independent samples of sizes nį and n2, we require that nį < N1/20,
that n2 < N2/20, that nị * p1 * (1 – î1) > 10, and that n2 * p2 * (1 – p2) > 10. Our test statistic TS is
p) *
+
where p is the pooled estimate p = (x1 + x2)/(nị + n2).
%3D
(b) For a right-tailed test, we may compute za = -InvNorm(a, 0, 1) and check that the test-statistic falls in
the tail. Or we may instead compute P = normalcdf (|T S| , ∞, , 0, 1), then check that P< a and TS > 0.
Suppose our null hypothesis is pi = p2, that our sample sizes are ni = 170 and n2 = 225, and that we
find r1 = 64 and x2 = 105. Assume that N1 and N2 are very large.
i. If we use a right-tailed test, what is our alternative hypothesis: p1 # p2 ? p1 < p2 ? or pi > p2 ?
ii. Explain what we would conclude if we rejected the null hypothesis with a right-tailed test.
iii. Can we reject the null hypothesis at level of significance a = 0.05, using a right-tailed test?
iv. Can we reject the null hypothesis at level of significance a = 0.01, using a right-tailed test?
Transcribed Image Text:2. To test the null hypothesis p1 = p2 with two independent samples of sizes nį and n2, we require that nį < N1/20, that n2 < N2/20, that nị * p1 * (1 – î1) > 10, and that n2 * p2 * (1 – p2) > 10. Our test statistic TS is p) * + where p is the pooled estimate p = (x1 + x2)/(nị + n2). %3D (b) For a right-tailed test, we may compute za = -InvNorm(a, 0, 1) and check that the test-statistic falls in the tail. Or we may instead compute P = normalcdf (|T S| , ∞, , 0, 1), then check that P< a and TS > 0. Suppose our null hypothesis is pi = p2, that our sample sizes are ni = 170 and n2 = 225, and that we find r1 = 64 and x2 = 105. Assume that N1 and N2 are very large. i. If we use a right-tailed test, what is our alternative hypothesis: p1 # p2 ? p1 < p2 ? or pi > p2 ? ii. Explain what we would conclude if we rejected the null hypothesis with a right-tailed test. iii. Can we reject the null hypothesis at level of significance a = 0.05, using a right-tailed test? iv. Can we reject the null hypothesis at level of significance a = 0.01, using a right-tailed test?
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Truth Tables
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, statistics and related others by exploring similar questions and additional content below.
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