Skip to content

felixthoemmes/gesis_causal_mediation_2023

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GESIS Causal Mediation Workshop 2023

This repository contains all datasets for the 2023 Causal Mediation workshop

List of exercises

Exercise R code file Data file
1 - Statistical mediation exercise1.R exercise1.csv
exercise1b.csv
2 - Potential outcomes exercise2.R exercise2.csv
3 - DAGs exercise3.R N/A
4 - Assumptions exercise4.R N/A
5 - Causal mediation exercise5.R exercise5.csv

List of examples

Example R code file Data file
1 - Statistical mediation example1.R example1.csv
example1b.csv
2 - Potential outcomes example2.R example2.csv
3 - DAGs example3.R N/A
4 - Assumptions example4.R N/A
5 - Causal mediation example5.R example5.csv
6 - Design-based mediation example6.R example6.csv

Useful references

Andrea Bellavia, Linda Valeri, Decomposition of the Total Effect in the Presence of Multiple Mediators and Interactions, American Journal of Epidemiology, Volume 187, Issue 6, June 2018, Pages 1311–1318.

MacKinnon DP, Valente MJ, Gonzalez O. The Correspondence Between Causal and Traditional Mediation Analysis: the Link Is the Mediator by Treatment Interaction. Prev Sci. 2020 Feb;21(2):147-157.

Imai, K., Keele, L., and Tingley, D. (2010a). A general approach to causal mediation analysis. Psychological Methods, 15(4), 309–334.

Imai, K., Keele, L., and Yamamoto, T. (2010c). Identification, inference and sensitivity analysis for causal mediation effects. Statistical Science, 25(1), 51–71.

Pearl, J. (2014). Interpretation and identification of causal mediation. Psychological methods, 19(4), 459.

Pearl, J. (2012). The causal mediation formula—a guide to the assessment of pathways and mechanisms. Prevention science, 13(4), 426-436.

Rijnhart, J.J.M., Valente, M.J., Smyth, H.L. et al. Statistical Mediation Analysis for Models with a Binary Mediator and a Binary Outcome: the Differences Between Causal and Traditional Mediation Analysis. Prev Sci (2021).

Steiner, P. M., Cook, T. D., Shadish, W. R., & Clark, M. H. (2010). The importance of covariate selection in controlling for selection bias in observational studies. Psychological methods, 15(3), 250.

Tingley, D., Yamamoto, T., Hirose, K., Keele, L., and Imai, K. (2014). mediation: R package for causal mediation analysis. Journal of Statistical Software, 59(5), 1–38.

Valeri, L. and VanderWeele, T. J. (2013). Mediation analysis allowing for exposure-mediator interactions and causal interpretation: Theoretical assumptions and implementation with SAS and SPSS Macros. Psychological Methods, 18(2), 137–150.

VanderWeele, T. J. (2015). Explanation in Causal Inference: Methods for Mediation and Interaction. Oxford University Press, New York.

Wang A, Arah OA. G-computation demonstration in causal mediation analysis. Eur J Epidemiol. 2015 Oct;30(10):1119-27. doi: 10.1007/s10654-015-0100-z. Epub 2015 Nov 4. PMID: 26537707; PMCID: PMC4674449.

About

GESIS Workshop Files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages