R6 Class for Structural Causal Models


[Up] [Top]

Documentation for package ‘R6causal’ version 0.8.3

Help Pages

analytic_linear_gaussian Simulate data from a conditional linear Gaussian SCM
analytic_linear_gaussian_conditining Return the mean and the covariance matrix of the conditional distribution of a linear Gaussian SCM
backdoor SCM "backdoor" used in the examples.
backdoor_md SCM "backdoor_md" used in the examples.
counterfactual Counterfactual inference via simulation
credit SCM "credit" used in the credit scoring example.
fairness Checking fairness of a prediction via counterfactual simulation
frontdoor SCM "frontdoor" used in the examples.
generate_condprob Define structural function by a conditional probability table
LinearGaussianSCM R6 Class for linear structural causal models where background variables have Gaussian distribution
ParallelWorld R6 Class for parallel world models
R6causalimport R6causal: R6 class for structural causal models
run_experiment Conduct a sequence of interventions and collect the simulated data.
SCM R6 Class for structural causal models
trapdoor SCM "trapdoor" used in the examples.