ex1916: Vitamin C and Colds

Description Usage Format Source Examples

Description

Fictitious data set based on results of an experiment where subjects were randomly divided into two groups and given a placebo or vitamin c to take during the cold season. At the end of the cold season, the subjects were interviewed by a physician who determined whether they had or had not suffered a cold during the period. Skeptics interviewed the 800 subjects to determine who knew and who did not know to which group they had been assigned. Vitamin C has a bitter taste and those familiar with it could recognize whether their pills contained it.

Usage

1

Format

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

Knew

a factor with levels "no" and "yes"

Treatment

a factor with levels "placebo" and "vitC"

Cold

number of people who got a cold

NoCold

number of people who did not get a cold

Source

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

Examples

1

Sleuth3 documentation built on May 31, 2017, 1:56 a.m.

Search within the Sleuth3 package
Search all R packages, documentation and source code