ri {causaldata}R Documentation

A simple simulated data set for calculating p-values

Description

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

Usage

ri

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.


[Package causaldata version 0.1.3 Index]