BookmarkSubscribe
Choose Language Hide Translation Bar
anne_sa
Community Trekker

Ordinal variable used as random effect

Hello everyone,

I was trying to build a model with a random effect which is an ordinal variable.

However I got the following alert:

11312_pastedImage_0.png

Does it mean that it is impossible to choose an ordinal variable for a random effect or is my variable an exception?

Thanks in advance for your answers.

0 Kudos
1 ACCEPTED SOLUTION

Accepted Solutions
jiancao
Staff

Re: Ordinal variable used as random effect

No, it does not take an ordinal variable as an random effect; it only accepts a nominal variable as a random effect.  (The Random Effects tab in Mixed Model personality is used to specify a variance component model or random coefficients model, while Attributes> Random Effect available in Standard Least Squares personality supports variance component models only.)

0 Kudos
2 REPLIES 2
jiancao
Staff

Re: Ordinal variable used as random effect

No, it does not take an ordinal variable as an random effect; it only accepts a nominal variable as a random effect.  (The Random Effects tab in Mixed Model personality is used to specify a variance component model or random coefficients model, while Attributes> Random Effect available in Standard Least Squares personality supports variance component models only.)

0 Kudos
anne_sa
Community Trekker

Re: Ordinal variable used as random effect

Hello jiancao,

Sorry for the delay and thank you for your answer.

So I am gonna transform my variable before use it as a random effect.

Thanks again.

0 Kudos