Generate y using existed X, coefficients of X, variance of random effect and variance of noise
Useful links