Varying Treatment Effects in Subgroups: A Unified Framework for Longitudinal Data Analysis | Synapse