Question: 2. We can simulate a classifier with error probability p by drawing samples from a Bernoulli distribution. Doing this, implement the binomial, approximate, and t
2. We can simulate a classifier with error probability p by drawing samples from a Bernoulli distribution. Doing this, implement the binomial, approximate, and t tests for p0 ∈ (0, 1). Repeat these tests at least 1,000 times for several values of p and calculate the probability of rejecting the null hypothesis.
What do you expect the probability of reject to be when p0 = p?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
