Generalized Mixed Effect Model