ex1420 {Sleuth3}R Documentation

Diet Wars

Description

These data are the weight losses of subjects randomly assigned to one of three diets, and these additional covariates sex, initial age, and body mass index. Is there any evidence from these data that the mean weight loss differs for the different diets, after accounting for the effect of the covariates? How big are the difference?

Usage

ex1420

Format

A data frame with 272 observations on the following 6 variables.

Subject

a subject identification number

Diet

a factor with levels "Low-Carbohydrate", "Low-Fat"and "Mediterranean"

Sex

a factor with levels "F" and "M"

Age

subject's age in years

BMI

body mass index in kg/squared meter

WtLoss24

the amount of weight lost in 24 months on the diet, in kg

Source

Ramsey, F.L. and Schafer, D.W. (2013). The Statistical Sleuth: A Course in Methods of Data Analysis (3rd ed), Cengage Learning.

See Also

ex0623, ex1921, ex1922

Examples

                 
str(ex1420)

[Package Sleuth3 version 1.0-6 Index]