Skip to content

Incorrect adjustment sets #4

@futtetennista

Description

@futtetennista

Minimal examples

dag = CausalGraphicalModel(
    nodes=["E", "U", "W"],
    edges=[("E", "W"), ("U", "W")],
)
dag.get_all_backdoor_adjustment_sets("E", "W")
# expected: {frozenset()}
# actual: {frozenset(), frozenset({'U'})}

I double checked this in R using daggity and this is the result

> dag <- dagitty( "dag{ e -> w ; u -> w }" ) ;  adjustmentSets(dag,exposure="e",outcome="w")
{}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions