Learn R Programming

Sleuth3 (version 1.0-3)

ex1420: 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

Arguments

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

weight at the end of the 24 month study minus initial weight, in kg

See Also

ex0623, ex1921, ex1922

Examples

Run this code
# NOT RUN {
str(ex1420)
# }

Run the code above in your browser using DataLab