EconPapers    
Economics at your fingertips  
 

XTPMED: Stata module to perform causal mediation analysis for balanced or unbalanced panel data with one or more mediators

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

Statistical Software Components from Boston College Department of Economics

Abstract: xtpmed is a Stata command for panel causal mediation analysis using the Dynamic Fixed Effects (DFE) estimator within an ARDL(1,1)-ECM framework. It estimates direct, indirect and total effects while accounting for long-run relationships and dynamic adjustment mechanisms.

Language: Stata
Requires: Stata version 14
Keywords: causal mediation; panel data; ARDL (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 xtpmed". 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/x/xtpmed.ado
http://fmwww.bc.edu/repec/bocode/x/xtpmed.sthlp
http://fmwww.bc.edu/repec/bocode/x/xtpmed_example.do
http://fmwww.bc.edu/repec/bocode/m/mediation_panel.dta
http://fmwww.bc.edu/repec/bocode/m/mediation_dynpanel.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:s460028

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:s460028