8.56 Identify the key elements. For each of the following scenarios, identify the populations, the counts, and the sample sizes; compute the two proportions and find their difference.
(a) A study of tipping behaviors examined the relationship between the color of the shirt worn by the server and whether or not the customer left a tip.19 There were 418 male customers in the study; 40 of the 69 who were served by a server wearing a red shirt left a tip. Of the 349 who were served by a server wearing a different colored shirt, 130 left a tip.
(b) A sample of 40 runners will be used to compare two new routines for stretching. The runners will be randomly assigned to one of the routines which they will follow for two weeks. Satisfaction with the routines will be measured using a questionnaire at the end of the two-week period. For the first routine, nine runners said that they were satisfied or very satisfied. For the second routine, six runners said that they were satisfied or very satisfied.