Step 1 :The question is asking us to test the claim that giving candy results in greater tips. This means we are comparing the mean tip percentage of the group that received no candy to the group that received two candies.
Step 2 :The null hypothesis is typically a statement of no effect or no difference. In this case, it would be that the mean tip percentage is the same for both groups, or \(\mu_{1} = \mu_{2}\).
Step 3 :The alternative hypothesis is what we are testing for. In this case, we are testing for the claim that giving candy results in greater tips. This would mean that the mean tip percentage for the group that received two candies is greater than the group that received no candy, or \(\mu_{1} < \mu_{2}\).
Step 4 :So, the null and alternative hypotheses are: \(H_{0}: \mu_{1}=\mu_{2}\) and \(H_{1}: \mu_{1}<\mu_{2}\).
Step 5 :This corresponds to option B in the given choices.
Step 6 :Final Answer: The correct choice is \(\boxed{B}\).