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
I tripped myself up today because I expected paths() to be aware of the variables already adjusted in a DAG just like how it is aware of the exposure and outcome.
I suggest that adjustedNodes(x) is a better default argument for Z. Happy to make a PR if you agree (as well as check for other locations where this is a sensible default)
The text was updated successfully, but these errors were encountered:
Hi Malcolm, this could make sense but I am indeed not sure whether someone relies on the current default. There is also now a new node attribute "selected" that refers to conditioning as opposed to adjustment, so I think then the default should at least be something like union( adjustedNodes( x ), selectedNodes( x ) ) ?
I tripped myself up today because I expected
paths()
to be aware of the variables already adjusted in a DAG just like how it is aware of the exposure and outcome.Created on 2024-08-27 with reprex v2.1.1
I suggest that
adjustedNodes(x)
is a better default argument forZ
. Happy to make a PR if you agree (as well as check for other locations where this is a sensible default)The text was updated successfully, but these errors were encountered: