Causal Modeling Under Complex Dependency in Clustered and Longitudinal Observations