Suppose X1, ..., X20 is a random sample from Bernoulli(p) distribution. Test Hop = 0.7 vs H₁ : p 0.7 at a 0.05. Under the null hypothesis, p T* = ~ N(0, 1). 0.7*(1-0.7) n Use a Monte Carlo method to compute an empirical probability of Type I error and check that it is approx- imately equal to α = 0.05. (Note: You can use the prop.test function in R.)
Suppose X1, ..., X20 is a random sample from Bernoulli(p) distribution. Test Hop = 0.7 vs H₁ : p 0.7 at a 0.05. Under the null hypothesis, p T* = ~ N(0, 1). 0.7*(1-0.7) n Use a Monte Carlo method to compute an empirical probability of Type I error and check that it is approx- imately equal to α = 0.05. (Note: You can use the prop.test function in R.)
Operations Research : Applications and Algorithms
4th Edition
ISBN:9780534380588
Author:Wayne L. Winston
Publisher:Wayne L. Winston
Chapter12: Review Of Calculus And Probability
Section12.7: Z-transforms
Problem 3P
Related questions
Question
using r language

Transcribed Image Text:Suppose X1, ..., X20 is a random sample from Bernoulli(p) distribution. Test Hop = 0.7 vs H₁ : p 0.7
at a 0.05. Under the null hypothesis,
p
T* =
~
N(0, 1).
0.7*(1-0.7)
n
Use a Monte Carlo method to compute an empirical probability of Type I error and check that it is approx-
imately equal to α = 0.05. (Note: You can use the prop.test function in R.)
AI-Generated Solution
Unlock instant AI solutions
Tap the button
to generate a solution
Recommended textbooks for you

Operations Research : Applications and Algorithms
Computer Science
ISBN:
9780534380588
Author:
Wayne L. Winston
Publisher:
Brooks Cole

C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage

Operations Research : Applications and Algorithms
Computer Science
ISBN:
9780534380588
Author:
Wayne L. Winston
Publisher:
Brooks Cole

C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage

C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr