Skip to content

Intervened endogenous variables are considered as exogenous #15

@rcabanasdepaz

Description

@rcabanasdepaz
        StructuralCausalModel causalModel = Party.buildModel();
        SparseModel vcredal = causalModel.toVCredal(causalModel.getEmpiricalProbs());
        int[] U = CausalInfo.of((SparseModel) vcredal.counterfactual_do(1,0)).getExogenousVars();
        System.out.println(Arrays.toString(U)); // [1, 4, 5, 6, 7] while should be [4, 5, 6, 7]

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions