pgmpy icon indicating copy to clipboard operation
pgmpy copied to clipboard

Adjustment sets for sets of variables

Open zzzrbx opened this issue 1 year ago • 1 comments

According to the documentation, get_all_backdoor_adjustment_sets accept a string variable for X and Y, but not a list of variables. Is there any reason a list of variables cannot be supplied for X and Y, since the method is_valid_adjustment_set supports sets of variables?

zzzrbx avatar Jan 07 '24 16:01 zzzrbx

@zzzrbx No, it should be straightforward to modify it to accept list of variables. The methods were initially written for single source and outcome variables, that's why some of them haven't been updated yet.

ankurankan avatar Jan 19 '24 04:01 ankurankan