MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
6th Edition
ISBN: 9781119256830
Author: Amos Gilat
Publisher: John Wiley & Sons Inc
Bartleby Related Questions Icon

Related questions

Question

A researcher wanted to test the mean of the binomial distribution as H0 : λ = 2 vs H1 : λ = 1. He decided to take two samples and he will reject the null hypothesis if both of the samples are less than 2.

a) Find the type 1 error of the test

b) Find the type 2 error of the test

 

I want you to use this example to answer the question:

A researcher wanted to test the mean of the Poisson distribution as H0 : λ = 2 vs H1 :
λ = 1. He  decided to take two samples and he will reject the null hypothesis if both of the samples
are less than 2.
(a) Find the type one error of the test.
Solution: The null hypothesis is rejected if both the samples are less than 2.
So RR = {Y1 < 2 ∩ Y2 < 2} where Yi ∼ P oi(λ)
Now Type-I error = α = P (Y1 < 2 ∩ Y2 < 2 | λ = 2)
= P (Y1 < 2) × P (Y2 < 2) = 0.406 × 0.406 = 0.1648
P (Y1 < 2|λ = 1) = ppois(1,2) = 0.406 (R-Code)
(b) Find the type-II error of the test. As Type-II error = 1 - Power, we will find power first.
Given the above rejection region
Power = = P (Y1 < 2 ∩ Y2 < 2 | λ = 1)
= P (Y1 < 2) × P (Y2 < 2) = 0.736 × 0.736 = 0.5417
P (Y1 < 2|λ = 1) = ppois(1,2) = 0.7357 (R-Code)
Hence Type-II error = 1 - Power = 1 - 0.5417 = 0.4583

Expert Solution
Check Mark
Knowledge Booster
Background pattern image
Similar questions
Recommended textbooks for you
Text book image
MATLAB: An Introduction with Applications
Statistics
ISBN:9781119256830
Author:Amos Gilat
Publisher:John Wiley & Sons Inc
Text book image
Probability and Statistics for Engineering and th...
Statistics
ISBN:9781305251809
Author:Jay L. Devore
Publisher:Cengage Learning
Text book image
Statistics for The Behavioral Sciences (MindTap C...
Statistics
ISBN:9781305504912
Author:Frederick J Gravetter, Larry B. Wallnau
Publisher:Cengage Learning
Text book image
Elementary Statistics: Picturing the World (7th E...
Statistics
ISBN:9780134683416
Author:Ron Larson, Betsy Farber
Publisher:PEARSON
Text book image
The Basic Practice of Statistics
Statistics
ISBN:9781319042578
Author:David S. Moore, William I. Notz, Michael A. Fligner
Publisher:W. H. Freeman
Text book image
Introduction to the Practice of Statistics
Statistics
ISBN:9781319013387
Author:David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:W. H. Freeman