Description Usage Format Source See Also Examples

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?

1 |

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
weight at the end of the 24 month study minus initial weight, in kg

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

1 2 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.