Does smoking have an effect on worker accidents? You have collected some data on accidents and are able to use data from a sample of 34 workers who were involved in an accident last year. You also have data from another sample of 32 workers who were not involved in accidents last year. You ask all the workers in your samples if they smoked last year. You found 16 workers who had accidents were smokers while 6 workers who did not have accidents were smokers.
a) State the hypotheses for this problem and test it.
b) What is the probability of a type 1 error?