Hi,
I have a dataset where individuals are in the second level and the measurement occasions are in the first level.
I want to add age, gender, height and weight of the individuals as level-2 variables to the model.
Age - Numeric variable
Gender - Binary variable
Height - Numeric variable
Weight - Numeric variable
My question is "Should the level-2 variables always be nominal/binary variables?"
Can I add height and weight of the individuals as level 2 predictors?
Thanks in advance!
Menaka
I want to add age, gender, height and weight of the individuals as level-2 variables to the model.
-
- Posts: 1
- Joined: Tue Feb 20, 2024 6:27 am
-
- Posts: 1386
- Joined: Mon Oct 19, 2009 10:34 am
Re: I want to add age, gender, height and weight of the individuals as level-2 variables to the model.
Higher level predictors can be continuous, so there is no reason that you couldn't add those variables too.
Re: I want to add age, gender, height and weight of the individuals as level-2 variables to the model.
Level-2 variables don’t have to be nominal or binary — you can absolutely include continuous variables like height and weight as level-2 predictors. Just make sure they’re centered if needed, depending on your model’s structure.Feavainnince wrote: Tue Feb 20, 2024 6:33 am Hi ,
I have a dataset where individuals are in the second level and the measurement occasions are in the first level.
I want to add age, gender, height and weight of the individuals as level-2 variables to the model.
Age - Numeric variable
Gender - Binary variable
Height - Numeric variable
Weight - Numeric variable
My question is "Should the level-2 variables always be nominal/binary variables?"
Can I add height and weight of the individuals as level 2 predictors?
Thanks in advance!
Menaka