Eric J Ma's Website

d-separation in causal inference

written by Eric J. Ma on 2018-08-06 | tags: causal inference bayesian data science


Yesterday evening, I had an empty block of time during which I finally did a worked example of finding whether two nodes are "d-separated" in a causal graph. It was pretty instructive to implement the algorithm. It also reminded me yet again: there's this weird thing about me where I need programming to learn math!

Anyways, if you're interested in seeing the implementation, it's available at GitHub.


Cite this blog post:
@article{
    ericmjl-2018-d-inference,
    author = {Eric J. Ma},
    title = {d-separation in causal inference},
    year = {2018},
    month = {08},
    day = {06},
    howpublished = {\url{https://ericmjl.github.io}},
    journal = {Eric J. Ma's Blog},
    url = {https://ericmjl.github.io/blog/2018/8/6/d-separation-in-causal-inference},
}
  

I send out a newsletter with tips and tools for data scientists. Come check it out at Substack.

If you would like to sponsor the coffee that goes into making my posts, please consider GitHub Sponsors!

Finally, I do free 30-minute GenAI strategy calls for teams that are looking to leverage GenAI for maximum impact. Consider booking a call on Calendly if you're interested!