We want to see the effect of sample size and the probabilities of type I and type II errors on each other. We are testing the hypotheses H0: µ ≤ 6 against H1: µ > 6. The data is from a normal population and we can assume that σ = 1.8.  The null hypothesis will be rejected if the sample mean is more than 6.6.  Part A) Using the sample sizes 20, 40, 50, 70, 80, 100 find α for this test at each sample size and plot the results with sample size as the x-axis and α values as the y-axis.

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
Topic Video
Question

We want to see the effect of sample size and the probabilities of type I and type II errors on each other. We are testing the hypotheses H0: µ ≤ 6 against H1: µ > 6. The data is from a normal population and we can assume that σ = 1.8.  The null hypothesis will be rejected if the sample mean is more than 6.6. 

Part A) Using the sample sizes 20, 40, 50, 70, 80, 100 find α for this test at each sample size and plot the results with sample size as the x-axis and α values as the y-axis.

Part B) If the true mean us actually 7.0, use the same sample sizes as in part a to find β and plot a graph of sample size versus β

Part C) Fix the sample size at 40, and find the power of the test for values of  α = 0.01, 0.02, 0.05, 0.10, 0.15 and 0.20. Create a graph with the α on the x-axis and power on the y-axis; add another series with the type II error on the y-axis (you can do another graph with α and β if you need to).

Thank you for your help!!

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 5 steps with 1 images

Blurred answer
Knowledge Booster
Hypothesis Tests and Confidence Intervals for Means
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.
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