ri: A simple simulated data set for calculating p-values

Description Usage Format Details Source References

Description

This simulated data allows for a quick and easy calculation of a p-value using randomization inference.

Usage

1

Format

A data frame with 8 rows and 5 variables

name

Fictional Name

d

Treatment

y

Outcome

y0

Outcome if untreated

y1

Outcome if treated

Details

This data is used in the Potential Outcomes Causal Model chapter of Causal Inference: The Mixtape by Cunningham.

Source

Cunningham. 2021. Causal Inference: The Mixtape. Yale Press. https://mixtape.scunning.com/index.html.

References

Cunningham. 2021. Causal Inference: The Mixtape. Yale Press. https://mixtape.scunning.com/index.html.


causaldata documentation built on Dec. 11, 2021, 9:20 a.m.