0
$\begingroup$

Sorry for this poor title.

Let's say 50 subjects each did 20 trials of an experiment, and I recorded 4 variables from each trial, W, X, Y, Z. For each subject, I want to measure the correlation between W with X and between Y with Z. This will give me two correlation/regression values for each subject (let's call them A and B). So I have 50 values of A and 50 of B, one of each for every subject. I then want to measure whether A is correlated with B.

Is there any approach to this, which uses "better math?" This approach feels crude.

Another way of framing this (B_i is the random slopes coefficient from the top equation, and I am measuring whether it can be used to predict Z from Y):

I think I can't just do an interaction model because it would only let me test whether the relationship between W and X is modulated by Y or Z. It wouldn't account for a relationship between Y and Z

Thanks

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.