Skip to contents

All functions

dhvm()
Create a Discrete Hidden Variables Model (dhvm)
dhvm_c_degree()
Get the c-degree of a dhvm
dhvm_canonical_partition()
Transform a regular dag into canonical partitions and add response function tables
dhvm_cf_tables()
Get table of response patterns matching a set of observables
dhvm_district_params()
Get linear probabilities according to district factorization
dhvm_districts()
Get the districts of a dhvm
dhvm_linear_relations()
Get relations between probabilities and response variables
dhvm_list_independences()
List all conditional independence relations
dhvm_merge_latents()
Merge latent variables within districts
dhvm_relations_to_polytope()
Convert counterfactual relations to the H-representation of a polytope
dhvm_sample_distribution()
Sample a distribution from a causal model
hrep_to_text()
Parse Hrep and remove redundancies
hreps_are_equal()
Check if two Hreps are the same
make_prob_names()
From a probability form as a list create text
meraconstraints()
Get constraints implied by a discrete hidden variables model
print(<meraconstraints>)
Print a meraconstraints object