-
Book Overview & Buying
-
Table Of Contents
Causal Inference with Bayesian Networks
By :
In this chapter, causal survival analysis in epidemiology was introduced. We first learned about survival analysis and its core concepts like survival probability, risk, and hazard. We saw how to use a Kaplan-Meier curve to visualize the survival probabilities over time. Then we analyzed the NHEFS dataset, a benchmark dataset in survival causal inference. The NHEFS dataset can be used to estimate the causal effect of quitting smoking on mortality.
An EDA analysis was performed on this dataset, and the surprising observation was that 76% of the participants who quit smoking survived after 10 years, while 82% of non-quitters survived. Hence, we had to apply causal inference methods to estimate the true causal effect of quitting smoking on mortality.
We used two different methods to estimate the survival curve of quitters and non-quitters: IPTW and standardization. We used the causallib package to calculate the propensity scores using a logistic regression model and then...