1. To test the null hypothesis p = Po with a single sample of size n, we require that n * Po * (1 – po) > 10. Our test statistic TS is p – Po po*(1-po) where p is the sample proportion. (a) For a two-tailed test, we may compute ±za/2 = ±InvNorm(a/2,0, 1) and check that the test-statistic falls in a tail. Or we may instead compute P = 2 * normalcdf (|TS|, 0, 0, 1) and check that P< a. Suppose our null hypothesis is p = 0.35, that our sample size n = 1000, and that our sample proportion is p = 0.39. i. If we use a two-tailed test, what is our alternative hypothesis: p + 0.35 ? p< 0.35 ? or p > 0.35 ? ii. What would we conclude if we rejected the null hypothesis with a two-tailed test? iii. Can we reject the null hypothesis at level of significance a = 0.05, using a two-tailed test? iv. Can we reject the null hypothesis at level of significance a 0.01, using a two-tailed test? %3D
1. To test the null hypothesis p = Po with a single sample of size n, we require that n * Po * (1 – po) > 10. Our test statistic TS is p – Po po*(1-po) where p is the sample proportion. (a) For a two-tailed test, we may compute ±za/2 = ±InvNorm(a/2,0, 1) and check that the test-statistic falls in a tail. Or we may instead compute P = 2 * normalcdf (|TS|, 0, 0, 1) and check that P< a. Suppose our null hypothesis is p = 0.35, that our sample size n = 1000, and that our sample proportion is p = 0.39. i. If we use a two-tailed test, what is our alternative hypothesis: p + 0.35 ? p< 0.35 ? or p > 0.35 ? ii. What would we conclude if we rejected the null hypothesis with a two-tailed test? iii. Can we reject the null hypothesis at level of significance a = 0.05, using a two-tailed test? iv. Can we reject the null hypothesis at level of significance a 0.01, using a two-tailed test? %3D
MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
Related questions
Question
Solve questions 1 through 4 please

Transcribed Image Text:1. To test the null hypothesis p = Po with a single sample of size n, we require that n * po * (1 – Po) > 10. Our
test statistic TS is
р— Ро
ро* (1-ро)
V
where p is the sample proportion.
(a) For a two-tailed test, we may compute ±za/2 = ±InvNorm(a/2,0, 1) and check that the test-statistic falls
in a tail. Or we may instead compute P = 2 * normalcdf (|TS|, 00,0, 1) and check that P < a. Suppose
our null hypothesis is p = 0.35, that our sample size n = 1000, and that our sample proportion is p = 0.39.
i. If we use a two-tailed test, what is our alternative hypothesis: p + 0.35 ? p< 0.35 ? or p> 0.35 ?
ii. What would we conclude if we rejected the null hypothesis with a two-tailed test?
iii. Can we reject the null hypothesis at level of significance a = 0.05, using a two-tailed test?
iv. Can we reject the null hypothesis at level of significance a = 0.01, using a two-tailed test?
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 3 steps

Knowledge Booster
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
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc

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
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning

MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc

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
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning

Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON

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
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman