createRandomEffectsModel function

Create a RandomEffectsModel object