Instruction: Define direct and indirect effects and provide an example illustrating both in a causal pathway.
Context: This question aims to assess the candidate's understanding of the concepts of direct and indirect effects and their ability to decompose the effects in a causal diagram.
medium
hard
hard
hard
hard