I'd like to illustrate my objective with an example:
Imagine we have collected data on the height, weight, and level of sports activity (represented as either a continuous or categorical variable) from a sample of approximately 100 individuals.
It's expected that weight and height will show some correlation. However, my goal is to comprehend the extent to which sports activity influences this correlation. My hypothesis is that highly active individuals might exhibit a different correlation compared to those who are less active, or vice versa.
While the example is straightforward, it aptly conveys the essence of what I aim to achieve.
I suspect that structured equation models, moderation analysis, or even graph theory might provide insights into addressing these questions.
I came across this link: link to Stack Exchange question, but I'm uncertain if this is the most suitable approach for my specific problem.
Any recommendations would be greatly appreciated.
Thank you in advance for your valuable insights.