random-effects function

Structure of random effects