Chapter 6
Exercises: 6.35
Also:
energy
contains data on the energy expenditure in groups of lean and obese women. The first column of energy contains the 24 hour energy expenditure of the women and the second categorizes the women as either lean or obese. Is the mean energy expenditure the same between the two groups? Before performing a two-sample t-test, test whether it is safe to assume the variances of the two samples are the same.vitcap
contains data on the vital capacity (a measure of lung capacity) for workers in the cadmium industry. The three rows contain the age of the worker, the vital capacity of the worker, and the category of the worker (1
if the worker has been exposed to cadmium for more than 10 years and 3
otherwise). Test if the mean vital capacity is the same in the two groups (after first performing a test to see if it is reasonable to assume the variances are the same in the two groups).