Variable¶
- class pqp.variable.Variable(name, domain=None)¶
- Bases: - AbstractMath- A variable in the causal model - Dunder methods allow for convenient syntax for creating causal graphs. - Example - >>> x = Variable("x") >>> y = Variable("y") >>> x <= y DirectedEdge(Variable("x"), Variable("y")) >>> x & y BidirectedEdge(Variable("x"), Variable("y")) - Parameters:
- name (str) – the name of the variable 
 - Methods Summary - to_latex()- Methods Documentation - to_latex()¶