(PART A): In a nationwide study directed by UMUC Teaching Hospital, 780 persons with stable heart disease were treated. Half of the subjects were treated with drugs and half underwent bypass surgery. After 6 years,351 of those treated with drugs and 359 of those who underwent bypass surgery were still alive.
At the 0.05 significance level, is there sufficient evidence to support the claim that surgery is more effective than drugs? show all work and justify your work.
(PART B): The UMUC Daily News report that the color distribution for plain M&M's was: 40% brown, 20% yellow, 20% orange, 10 green, and 10% tan. Each piece of candy in a random sample of 100 plain M & M's was classified according to color, and the results are listed below:
In this case use a 0.05 significance level to test the claim that the published color distribution is correct. (show all work and justify your answer).
this is a one tailed z test.
at 0.05 significant level, the critical z value is -1.645
test value ...
The sufficient evidence to support the claim that surgery is more effective than drugs is determined.