EconPapers    
Economics at your fingertips  
 

TVPC: Stata module to implement Time-variant Peter-Clark (TV-PC) causal discovery for time series

Merwan Roudane

Statistical Software Components from Boston College Department of Economics

Abstract: tvpc implements the time-variant Peter-Clark (TV-PC) causal discovery algorithm of Aung, Zhu, Lee, Guo and Li (2026, Computational Economics, doi:10.1007/s10614-026-11411-x). Each series is expanded into time-lagged nodes. Edges between lagged nodes, and edges pointing back in time, are forbidden. The PC algorithm then prunes the graph with Fisher z conditional-independence tests and orients it with v-structures and Meek's rules. The skeleton search, the order of the conditioning sets and the orientation reproduce the authors' gCastle implementation step for step; the estimated graphs are identical to gCastle's on the paper's benchmark and on 24 simulated problems of the paper's size.

Language: Stata
Requires: Stata version 15
Keywords: Peter-Clark elements; causal discovery (search for similar items in EconPapers)
Date: 2026-11-22
Note: This module should be installed from within Stata by typing "ssc install tvpc". The module is made available under terms of the GPL v3 (https://www.gnu.org/licenses/gpl-3.0.txt). Windows users should not attempt to download these files with a web browser.
References: Add references at CitEc
Citations:

Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/t/tvpc.ado
http://fmwww.bc.edu/repec/bocode/t/tvpc.sthlp
http://fmwww.bc.edu/repec/bocode/t/tvpc_a1.dta
http://fmwww.bc.edu/repec/bocode/t/tvpc_example.do
http://fmwww.bc.edu/repec/bocode/t/tvpc_macro.dta
http://fmwww.bc.edu/repec/bocode/t/tvpc_methods.sthlp
http://fmwww.bc.edu/repec/bocode/t/tvpcgraph.ado
http://fmwww.bc.edu/repec/bocode/t/tvpcgraph.sthlp
http://fmwww.bc.edu/repec/bocode/t/tvpcmci.ado
http://fmwww.bc.edu/repec/bocode/t/tvpcmci.sthlp
http://fmwww.bc.edu/repec/bocode/t/tvpcsens.ado
http://fmwww.bc.edu/repec/bocode/t/tvpcsens.sthlp
http://fmwww.bc.edu/repec/bocode/_/_tvpc_display.ado
http://fmwww.bc.edu/repec/bocode/_/_tvpc_score.ado

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

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-25
Handle: RePEc:boc:bocode:s460041