Probability of a type I error and type II error:
In a large experiment to determine the success of a new drug, 400 patients with a certain disease are to be given the drug. If more than 300 and less than 340 patients are cured. We shall conclude that drug is over 80% effective. Find the probability of committing a type I error. What is the probability of a type II error (β) error If the new drug is only 70% effective.