Skip to content

Add Find Front-Door Functionality#114

Open
arinb123 wants to merge 2 commits into
jtextor:masterfrom
arinb123:master
Open

Add Find Front-Door Functionality#114
arinb123 wants to merge 2 commits into
jtextor:masterfrom
arinb123:master

Conversation

@arinb123
Copy link
Copy Markdown

Created a function frontDoorSets to identify Pearl-style front-door mediators (unconditional). Also added some internal functions (.removeOutEdges, .findDirectedPaths, .subsetPaths) used in the main function, and testthat test cases.

Main functionality:

  • Pearl's three criteria: (1) a mediator set intercepts all directed paths from X to Y, (2) there are no backdoor paths from X to any node in M, (3) there are no backdoor paths from any node in M to Y given X.
  • Jeong et al. I/R criterion: given sets I, R: I \subseteq M \subseteq R. This allows researchers to limit nodes to look at and provide nodes that must be in the front door.

References to relevant papers are in Roxygen docs. My original repo with the same functionality is arinb123/findFD (not to be confused with /conditionalFD), which has a README if you want more info. Worked with Felix Thoemmes and Jiwoo Kim on this function.

- Main function in dagitty.R
- Some internal helpers
- Documentation
- Tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant