Considering a study described by Hernán and Robins in 'Causal Inference: What If'. I had a rough idea of the selection bias that could arise in this study, but I encountered some difficulties when I tried to use causal graphs to represent the relationships between variables.