https://theeffectbook.net>, first and second edition, Cunningham, Scott (2021 and 2025, ISBN-13: 978-0-300-25168-5) "Causal Inference: The Mixtape", and Hernán, Miguel and James Robins (2020) "Causal Inference: What If" <https://www.hsph.harvard.edu/miguel-hernan/causal-inference-book/>.">

causaldata: Example Data Sets for Causal Inference Textbooks (original) (raw)

Example data sets to run the example problems from causal inference textbooks. Currently, contains data sets for Huntington-Klein, Nick (2021 and 2025) "The Effect" <https://theeffectbook.net>, first and second edition, Cunningham, Scott (2021 and 2025, ISBN-13: 978-0-300-25168-5) "Causal Inference: The Mixtape", and Hernán, Miguel and James Robins (2020) "Causal Inference: What If" <https://www.hsph.harvard.edu/miguel-hernan/causal-inference-book/>.

Version: 0.1.4
Depends: R (≥ 2.10)
Imports: tibble
Published: 2024-10-24
DOI: 10.32614/CRAN.package.causaldata
Author: Nick Huntington-KleinORCID iD [aut, cre], Malcolm Barrett ORCID iD [aut]
Maintainer: Nick Huntington-Klein
BugReports: https://github.com/NickCH-K/causaldata/issues
License: MIT + file
URL: https://github.com/NickCH-K/causaldata
NeedsCompilation: no
Materials: README, NEWS
In views: CausalInference
CRAN checks: causaldata results

Documentation:

Downloads:

Reverse dependencies:

Linking:

Please use the canonical formhttps://CRAN.R-project.org/package=causaldatato link to this page.