Under the header 20.3.1 Observed data, the problem states: "The weight variable represents the weights of the newborns and the smoke variable describes which mothers smoked during pregnancy." However, the variable name that indicates smoker vs nonsmoker, as shown in Table 20.3 and in the actual dataset in the openintro package is named habit.
Under the header 20.3.1 Observed data, the problem states: "The
weightvariable represents the weights of the newborns and thesmokevariable describes which mothers smoked during pregnancy." However, the variable name that indicates smoker vs nonsmoker, as shown in Table 20.3 and in the actual dataset in the openintro package is namedhabit.