R6causal

From MaRDI portal
Software:1350574



swMATH43670CRANR6causalMaRDI QIDQ1350574FDOQ1350574

R6 Class for Structural Causal Models

Juha Karvanen

Last update: 19 December 2023

Copyright license: GNU Affero General Public License, version 3.0

Software version identifier: 0.7.0, 0.6.0, 0.6.1, 0.8.0, 0.8.1, 0.8.2

Source code repository: https://github.com/cran/R6causal

The implemented R6 class 'SCM' aims to simplify working with structural causal models. The missing data mechanism can be defined as a part of the structural model. The class contains methods for 1) defining a structural causal model via functions, text or conditional probability tables, 2) printing basic information on the model, 3) plotting the graph for the model using packages 'igraph' or 'qgraph', 4) simulating data from the model, 5) applying an intervention, 6) checking the identifiability of a query using the R packages 'causaleffect' and 'dosearch', 7) defining the missing data mechanism, 8) simulating incomplete data from the model according to the specified missing data mechanism and 9) checking the identifiability in a missing data problem using the R package 'dosearch'. In addition, there are functions for running experiments and doing counterfactual inference using simulation.





This page was built for software: R6causal