Generalized Difference In Difference