You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dag {
B [adjusted]
D [outcome]
E [exposure]
B -> D
E -> B
E -> D
}
the tool informs me about incorrect adjustments:
However, dagitty::adjustmentSets() just returns an empty list for the total effect, not indicating that B should not be adjusted:
dag<-dagitty::dagitty("dag {B [adjusted]D [outcome]E [exposure]B -> DE -> BE -> D}")
# empty list - what does this mean?dagitty::adjustmentSets(dag)
dagitty::adjustmentSets(dag, effect="direct")
#> { B }
Current workaround is to check for adjusted node lengths:
When using this Model code in https://www.dagitty.net/dags.html,
the tool informs me about incorrect adjustments:
However,
dagitty::adjustmentSets()
just returns an empty list for the total effect, not indicating thatB
should not be adjusted:Current workaround is to check for adjusted node lengths:
It would be great if
dagitty::adjustmentSets()
would directly yield a warning about incorrect adjustments, instead of returning an empty list.The text was updated successfully, but these errors were encountered: