I would like to know whether it is possible to do multilevel modelling with variables that have different number of trials. To be more specific, let's say we have x(a), y(a), x(b), y(b) variables. x(a) and y(a) have 100 trials, and x(b) and y(b) have 200 trials. So it's like having two different tasks that were solved by the same participants.
Now I want to build a model where y(a) is predicted by x(a), and y(b) is predicted by x(b), and where subject random effects from both are extracted (for a and b) as latent variables and used for further modelling.
How to prepare a dataset for such modeling, e.g. in MPlus? One idea was to leave the 100 trials per person for a simply empty, but I don't know where to start from...