0

In my survey, participants evaluated a set of paintings on liking (my dependent variable), object recognition (my independent variable 1) and colour (my independent variable 2). Each participant evaluated 10 paintings which belong to 10 different types (e.g., cubism, classic, abstract, etc.).

Firstly, I conducted a regression to see how my independent variables explain my dependent variable, taking into account the nested data: participants (as factor 1, or ID) and painting type (as factor 2, or Type). I used lmer function in R.

However, I suspect that the relations between Liking and independent variables vary as a function of paintings' type. That is, var1 and var2 can be positively related to liking of abstract paintings, negatively - to liking of cubism paintings, and unrelated - to liking of classic paintings, etc. To test this on a full scale analysis, I need to calculate the moderation effect of paintings' type on the link between liking and my independent variables. The question is: how can I do that? The paintings' type is not a continuous variable, it's categorical - in involves 10 different categories of paintings.

Thanks for your advice!

  • Please read [(1)](https://stackoverflow.com/help/how-to-ask) how do I ask a good question, [(2)](https://stackoverflow.com/help/mcve) how to create a MCVE as well as [(3)](https://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example#answer-5963610) how to provide a minimal reproducible example in R. Then edit and improve your question accordingly. I.e., abstract from your real problem... – Christoph Nov 17 '21 at 17:01

0 Answers0