I am trying to create a simulation for a power analysis with a mixed effect model.
Each participant will be tested on four different variables. The data for these variables should be related, i.e. if they do well in A, they will probably do well in B, C and D and the same if they do badly.
How can I generate random effects in the simulation - subject-level variance in the randomly-generated scores?