Page 1 of 1

var level 2 stays zero

Posted: Tue Jan 16, 2018 1:47 pm
by vpettens
I work with the tutorial database.
I want to do a 2 level model.
I have done following steps:
- open worksheet
- toggle cat
- sort data
- model equations
- y: 2 levels (school = 2, student = 1)
- add cons (also 2 levels)
- estimates
- start


But my variation on level 2 stays at 0. Can anyone help me please...?

Re: var level 2 stays zero

Posted: Wed Jan 17, 2018 10:13 am
by ChrisCharlton
I think that your sorting may be incorrect (the tutorial dataset as provided is sorted, so you can compare with that). If I set up the model as in your screenshot, but with the levels the wrong ways around, I get the same parameter estimates as in your screenshot except the e_0 and u_0 are swapped around.

Re: var level 2 stays zero

Posted: Thu Jan 18, 2018 2:18 pm
by vpettens
Indeed! Thx!