Clin {evidence} | R Documentation |
Made-up data to illustrate Simpson's paradox.
Description
These made-up data illustrate the discrete form (contingency table form) of Simpson's paradox.
Usage
data(Clin)
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
data(Clin)
Clin[1,,]
prop.table(Clin[1,,], 2)
[Package evidence version 0.8.10 Index]