Recent Advances in Causal Inference and Mediation Anyalysis and their Applications