EconPapers    
Economics at your fingertips  
 

CSPMED: Stata module to perform causal mediation analysis for cross-sectional and complex-survey data with one or more mediators: weighted OLS, logit, probit, 2SLS and DML

Yusuf Yusuf and Francis Baidoo ()
Additional contact information
Francis Baidoo: Koforidua Technical University

Statistical Software Components from Boston College Department of Economics

Abstract: cspmed is Stata command for causal mediation analysis using cross-sectional and complex-survey data. It accommodates one or more mediators and supports weighted OLS, logit, probit, 2SLS and double/debiased machine learning (DML), with design-based (Taylor-linearised) inference and diagnostic procedures.

Language: Stata
Requires: Stata version 14
Keywords: causal mediation; cross-section (search for similar items in EconPapers)
Date: 2026-11-14, Revised 2026-11-15
Note: This module should be installed from within Stata by typing "ssc install cspmed". The module is made available under terms of the MIT license (https://opensource.org/licenses/MIT).
References: Add references at CitEc
Citations:

Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/c/cspmed.ado
http://fmwww.bc.edu/repec/bocode/c/cspmed.sthlp
http://fmwww.bc.edu/repec/bocode/c/cspmed_example.do
http://fmwww.bc.edu/repec/bocode/m/mediation_survey.dta

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:bocode:s460026

Ordering information: This software item can be ordered from
http://repec.org/docs/ssc.php

Access Statistics for this software item

More software in Statistical Software Components from Boston College Department of Economics Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA. Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().

 
Page updated 2026-11-23
Handle: RePEc:boc:bocode:s460026