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

riR 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.


causaldata documentation built on Oct. 25, 2024, 1:07 a.m.