EconPapers    
Economics at your fingertips  
 

Causal mediation

Kristin MacDonald ()
Additional contact information
Kristin MacDonald: StataCorp

Canadian Stata Users' Group Meetings 2025 from Stata Users Group

Abstract: Causal inference aims to identify and quantify a causal effect. With traditional causal inference methods, we can estimate the overall effect of a treatment on an outcome. When we want to better understand a causal effect, we can use causal mediation analysis to decompose the effect into a direct effect of the treatment on the outcome and an indirect effect through another variable, the mediator. Causal mediation analysis can be performed in many situations—the outcome and mediator variables may be continuous, binary, or count, and the treatment variable may be binary, multivalued, or continuous. In this presentation, I will introduce the framework for causal mediation analysis and demonstrate how to perform this analysis with the mediate command. Examples will include various combinations of outcome, mediator, and treatment types.

Date: 2025-10-05
References: Add references at CitEc
Citations:

Downloads: (external link)
http://repec.org/cand2025/

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:boc:cand25:04

Access Statistics for this paper

More papers in Canadian Stata Users' Group Meetings 2025 from Stata Users Group Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().

 
Page updated 2025-10-05
Handle: RePEc:boc:cand25:04