28 November 2022 6 3K Report

I am measuring two continuous variables over time in four groups. Firstly, I want to determine if the two variables correlate in each group. I then want to determine if there is significant differences in these correlations between groups.

For context, one variable is weight, and one is a behaviour score. The groups are receiving various treatment and I want to test if weight change influences the behaviour score differently in each group.

I have found the r package rmcorr (Bakdash & Marusich, 2017) to calculate correlation coefficients for each group, but am struggling to determine how to correctly compare correlations between more than two groups. The package diffcorr allows comparing between two groups only.

I came across this article describing a different method in SPSS:

https://www.ibm.com/support/pages/testing-group-difference-correlation-glm-approach

However, I don't have access to SPSS so am wondering if anyone has any suggestions on how to do this analysis in r (or even Graphpad Prism).

Or I could the diffcorr package to calculate differences for each combination of groups, but then would I need to apply a multiple comparison correction?

Alternatively, Mohr & Marcon 2005 describe a different method using spearman correlation that seems like it might be more relevant, however I wonder why their method doesn’t seem to have been used by other researches? It also looks difficult to implement so I’m unsure if it’s the right choice.

Any advice would be much appreciated!

More Jake Harris's questions See All
Similar questions and discussions