GLM Mediation with 3 level categorical factor

General help and assistance with jamovi. Bug reports can be made at our issues page: https://github.com/jamovi/jamovi/issues . (If you're unsure feel free to discuss it here)
Post Reply
pjuke001
Posts: 2
Joined: Fri Apr 19, 2024 11:34 am

GLM Mediation with 3 level categorical factor

Post by pjuke001 »

Hello,

I am running a GLM mediation model with a factor that is 3 experimental conditions.

The output only gives me the results for condition 1 and condition 2, I have tried setting it up in a few different ways with no success.

Can anyone think of how I can get the results of all 3 conditions please?

Best,

Pete.
pjuke001
Posts: 2
Joined: Fri Apr 19, 2024 11:34 am

Re: GLM Mediation with 3 level categorical factor

Post by pjuke001 »

I have also just noticed in the diagram notes that it says "for Condition contrasts: Condition1 = Control - Success, Condition2 = Failure - Success. However I an unable to set the reference as control. Any ideas?
User avatar
mcfanda@gmail.com
Posts: 464
Joined: Thu Mar 23, 2017 9:24 pm

Re: GLM Mediation with 3 level categorical factor

Post by mcfanda@gmail.com »

As for any other genaral linear model, also in mediation the effect of a categorical variable is represented by K-1 contrast variables, where K is the number of levels. If you want to change the reference level, go to the data tab, variable properties, and set your reference level as the first level of the variable (uee the arrows on the right to move the level ip)
Post Reply