1. Consider a population with proportion p. Let X be the number of successes in a random sample of size n, and X~ Bin(n, p). Consider the hypotheses, Ho: p = 0.15 versus H₁ : p=0.6. (a) A researcher decides to reject Ho if, in n = 7 trials, there are 4 or more successes (X > 4) and accept otherwise. Find the power of this test. (b) A researcher decides to reject Ho if, in n = 7 trials, there are 5 or more successes (X ≥ 5) and accept otherwise. Find the power of this test. (c) For each of the tests in Parts (a) and (b), find the probability of a type II error and compare them.

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

Any help with this one will help. This is just a practice problem. Thanks

 

1. Consider a population with proportion p. Let X be the number of successes in a random sample
of size n, and X~ Bin(n, p). Consider the hypotheses, Ho : p = 0.15 versus H₁ : p = 0.6.
(a) A researcher decides to reject Hỏ if, in n = 7 trials, there are 4 or more successes (X > 4)
and accept otherwise. Find the power of this test.
(b) A researcher decides to reject Ho if, in n = 7 trials, there are 5 or more successes (X ≥ 5)
and accept otherwise. Find the power of this test.
(c) For each of the tests in Parts (a) and (b), find the probability of a type II error and
compare them.
Transcribed Image Text:1. Consider a population with proportion p. Let X be the number of successes in a random sample of size n, and X~ Bin(n, p). Consider the hypotheses, Ho : p = 0.15 versus H₁ : p = 0.6. (a) A researcher decides to reject Hỏ if, in n = 7 trials, there are 4 or more successes (X > 4) and accept otherwise. Find the power of this test. (b) A researcher decides to reject Ho if, in n = 7 trials, there are 5 or more successes (X ≥ 5) and accept otherwise. Find the power of this test. (c) For each of the tests in Parts (a) and (b), find the probability of a type II error and compare them.
Expert Solution
Step 1: Given information:

1. 

The X is a random variable representing the number of successes in a random sample size n such that,

X tilde B left parenthesis n comma p right parenthesis

Sample size, n equals 7

The hypothesis is,

Null hypothesis, H subscript 0 colon p equals 0.15

Alternative hypothesis, H subscript 1 colon p equals 0.6


steps

Step by step

Solved in 5 steps with 34 images

Blurred answer
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