3. Evaluate tne p-value from your nypothesis test thát you ran evel, would you reject or fail to reject the null hypothesis? In addition to your decision, write the mayor a conclusion for the hypothesis test (within the context of the problem). Try It 5. Using a 5% significi

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
icon
Concept explainers
Topic Video
Question

Use the following answers to try it number 5 to give an answer for question number 3

5. The mayor of Ann Arbor believes that a majority of Ann Arbor residents plan on reading a book
next month. Use the popPropHT( function to run a hypothesis test of the following hypotheses -
HO: p = 0.5, Ha: p> 0.5, where p represents the population proportion of Ann Arbor residents who
plan on reading a book next month. Use the sample data from Try lt 1. Note: the mayor would like
you to use a significance level of 5% (but you do not need this value to run the popPropHT( )
function).
оpPropHT(x
= 24, n = 40, p0 = 0.5, alt =
"greater")
phat
[1] 0.6
null.sd
[1] 0.07905694
z.test.stat
[1] 1.264911
p.value
[1] 0.1029516
Transcribed Image Text:5. The mayor of Ann Arbor believes that a majority of Ann Arbor residents plan on reading a book next month. Use the popPropHT( function to run a hypothesis test of the following hypotheses - HO: p = 0.5, Ha: p> 0.5, where p represents the population proportion of Ann Arbor residents who plan on reading a book next month. Use the sample data from Try lt 1. Note: the mayor would like you to use a significance level of 5% (but you do not need this value to run the popPropHT( ) function). оpPropHT(x = 24, n = 40, p0 = 0.5, alt = "greater") phat [1] 0.6 null.sd [1] 0.07905694 z.test.stat [1] 1.264911 p.value [1] 0.1029516
3. Evaluate the p-value from your hypothesis test that you ran in Try It 5. Using a 5% significance
level, would you reject or fail to reject the null hypothesis? In addition to your decision, write the
mayor a conclusion for the hypothesis test (within the context of the problem).
Transcribed Image Text:3. Evaluate the p-value from your hypothesis test that you ran in Try It 5. Using a 5% significance level, would you reject or fail to reject the null hypothesis? In addition to your decision, write the mayor a conclusion for the hypothesis test (within the context of the problem).
Expert Solution
Introduction

Given data is appropriate for z-test for single proportion because it is a large sample test.

steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
Sample space, Events, and Basic Rules of Probability
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