ex1922: Diet Wars III

Description Usage Format Source See Also Examples

Description

For the study of different diets for losing weight (ex0623, ex1420 and ex1921), it is desired to see whether women were more or less likely to drop out of the study than men (after accounting for the apparent differential drop out rates associated with diet). This data set includes the numbers that dropped out and completed the study for each combination of Sex and Diet.

Usage

1

Format

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

Diet

a factor with levels "LowCarb", "LowFat", and "Medit"

Gender

a factor with levels "Men" and "Women"

DroppedOut

the number of subjects who dropped out of the study

Completed

the number of subjects who completed the study

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, ex1420, ex1921

Examples

1

Example output

'data.frame':	6 obs. of  4 variables:
 $ Diet      : Factor w/ 3 levels "LowCarb","LowFat",..: 2 2 3 3 1 1
 $ Gender    : Factor w/ 2 levels "Men","Women": 2 1 2 1 2 1
 $ DroppedOut: int  0 10 0 16 1 23
 $ Completed : int  15 79 15 78 14 71

Sleuth3 documentation built on May 2, 2019, 6:41 a.m.