Page 1 of 1

Factor codings in linear mixed models (GAMLj3)

Posted: Sat Jul 27, 2024 8:26 am
by lenaheffner
Hi everyone,

I´d like to calculate a linear mixed model.
Mine contains several factors and I am asked to choose their coding.

I did dummy-code them manually before I imported the dataset into Jamovi, as I was not aware this is possible in Jamovi.

How can I specify that I do not want them to be coded in any additional way?
I found "custom" in the dropdown menu, but what do I need to write there? Just leave it blank?


It would be a pity to need to start again from scratch...

Thanks a lot! :-)

Re: Factor codings in linear mixed models (GAMLj3)

Posted: Sun Jul 28, 2024 12:23 pm
by mcfanda@gmail.com
In "factors coding" panel you find all the coding available, including "dummy", although I doubt that you really need dummy coding.

If you want to use the exact coding in data, simply put your dummy variables in "covariates". However, in this way you loose the omnibus tests for factors with more than 2 levels (and a lot of other facilities offered by the module for categorical independent variables).

The recommended method is to define categorical variables as factors and choose the coding system that better suites you

The coding systems are described here https://gamlj.github.io/rosetta_contrasts.html