Hey @eteppo,
Do you happen to be on the Julia Slack? You might get some additional thoughts and insight posting within the #health-and-medicine channel there. I’d post more right now, but am swamped with some work/research recently.
Did you ever come across GitHub - zenna/Omega.jl: Causal, Higher-Order, Probabilistic Programming by @zennatavares or GitHub - TuringLang/Turing.jl: Bayesian inference with probabilistic programming. ?
Cheers!
~ tcp