I want to add age, gender, height and weight of the individuals as level-2 variables to the model.

Welcome to the forum for MLwiN users. Feel free to post your question about MLwiN software here. The Centre for Multilevel Modelling take no responsibility for the accuracy of these posts, we are unable to monitor them closely. Do go ahead and post your question and thank you in advance if you find the time to post any answers!

Remember to check out our extensive software FAQs which may answer your question: http://www.bristol.ac.uk/cmm/software/s ... port-faqs/
Post Reply
Feavainnince
Posts: 1
Joined: Tue Feb 20, 2024 6:27 am

I want to add age, gender, height and weight of the individuals as level-2 variables to the model.

Post by Feavainnince »

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
ChrisCharlton
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.

Post by ChrisCharlton »

Higher level predictors can be continuous, so there is no reason that you couldn't add those variables too.
Tishaunn
Posts: 3
Joined: Mon Jul 28, 2025 3:49 am

Re: I want to add age, gender, height and weight of the individuals as level-2 variables to the model.

Post by Tishaunn »

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
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.
Post Reply