Setting up a THREE-LEVEL 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
drddtorres
Posts: 27
Joined: Thu May 30, 2013 7:19 pm

Setting up a THREE-LEVEL MODEL

Post by drddtorres »

Hi,

I just want to make sure I'm setting up my three-level growth model correctly. I'm familiar with time-varying variables like age and age-squared being at level 1 and time-invariant individual-level variables being at level 2; individuals are nested in level 3. Is this the same convention that MLwiN uses? How should the following variables be labeled?

1. Year (time-varying variable denoting year)
2. Mom ID
3. Child ID

Also, when ticking the ijk, is it only necessary to do that for the constant?

Diego
joneskel
Posts: 26
Joined: Thu Nov 15, 2012 3:09 pm

Re: Setting up a THREE-LEVEL MODEL

Post by joneskel »

I am guessing a bit from what you have asked, but I think you are fitting a three level model in which measurement occasion is nested within child within mother. If this is correct, then you must sort on these so that all children of the same mother are next to each other in the worksheet and similarly occasion variables for the same child are also next to each other. Remember in Mlwin you have to carry all other relevant variables when you sort. You then specify i to be the occasion index of the response, j to to be the child and k to be the mother indicator. Ticking on i, j and k for the constant gives you the random intercepts at each level. You can evaluate that all is well by looking at the hierarchy viewer once you have specified this model.

Variables at each level can then be simply added to the model and if all is well they should automatically show up with the correct subscript. Thus for example mothers education would be subscripted k.

Kelvyn Jones
Post Reply