Py-Tetrad and RPy-Tetrad: A New Python Interface with R Support for Tetrad Causal Search.
Authors:
- 1 August 2023
- journal article
- Vol. 223, 40-51
Abstract
We give novel Python and R interfaces for the (Java) Tetrad project for causal modeling, search, and estimation. The Tetrad project is a mainstay in the literature, having been under consistent development for over 30 years. Some of its algorithms are now classics, like PC and FCI; others are recent developments. It is increasingly the case, however, that researchers need to access the underlying Java code from Python or R. Existing methods for doing this are inadequate. We provide new, up-to-date methods using the JPype Python-Java interface and the Reticulate Python-R interface, directly solving these issues. With the addition of some simple tools and the provision of working examples for both Python and R, using JPype and Reticulate to interface Python and R with Tetrad is straightforward and intuitive.Keywords
All Related Versions
This publication has 3 references indexed in Scilit:
- Learning High-dimensional Directed Acyclic Graphs with Mixed Data-types.2019
- A million variables and more: the Fast Greedy Equivalence Search algorithm for learning high-dimensional graphical causal models, with an application to functional magnetic resonance imagesInternational Journal of Data Science and Analytics, 2016
- A Hybrid Causal Search Algorithm for Latent Variable Models.2016