https://github.com/BIDData/BIDMach/wiki/Causal-Inference
it is how it is shown
IPTW
BIDMach has several basic causal estimators. IPTW stands for Inverse Probability of Treatment Weighting and is a widely used method technique for causal inference with binary treatments. We start with some data features X, a response Y, and a "treatment" Z. In causal inference we are interested in the effects of directly changing Z on Y. This is different from the conditional probability of Y given Z which depends on joint probability distribution of the system "as is".