Title: Unified Methods for Censored Longitudinal Data and Causality