Clin: Made-up data to illustrate Simpson's paradox.

Description Usage Format Source Examples

Description

These made-up data illustrate the discrete form (contingency table form) of Simpson's paradox.

Usage

1

Format

A three-dimensional array of frequencies with:

rows indicating "outcome" (either "death" or "cured"),

columns indicating "male" (either "Yes" or "No"), and

layers indicating "clinic" (either "A" or "B").

Source

van Hulst, R. 2018. Evaluating Scientific Evidence. ms.

Examples

1
2
3
data(Clin)
Clin[1,,]
prop.table(Clin[1,,], 2)

evidence documentation built on May 2, 2019, 2:14 p.m.