The data in NutritionStudy include information on nutrition and health habits of a sample of 315 people. One of the variables is Smoke, indicating whether a person smokes or not (yes or no). Use technology to test whether the data provide evidence that the proportion of smokers is different from 20% given that 43 identify themselves as smokers.
Clearly state the null and alternative hypotheses.
Calculate the test statistic and P -value.
Can we conclude that the proportion of smokers is different from 20%?