Page 1 of 1
help with 3 or more level of multilevel analysis
Posted: Mon Aug 16, 2021 2:18 am
by Tong
hi, there,
I am a newbie of jamovi, trying to do multilevel analysis. There are YouTube tutorials , but only 2 level mixed model. Any examples or more detail steps for 3 or more levels of data?
Re: help with 3 or more level of multilevel analysis
Posted: Fri Aug 27, 2021 10:34 am
by mcfanda@gmail.com
Hi
there's nothing special about 3-level mixed model as compared with 2-level ones. You just want to be sure that your clustering variables are coded in a suitable way. Let assume you have districts, schools, and classes (I know it's the cliché example, but it is useful here). You need each class to have a unique value, each schools its own value, and each district a different value. Something like this
Code: Select all
Di Sch Clas
1 1 1
1 1 2
1 2 3
1 2 4
2 3 5
2 3 6
2 4 7
2 4 8
3 5 9
3 5 10
3 6 11
3 6 12
When you have this coding schema, you simply include districts, schools and classes as cluster variables and decide what coefficients vary across each cluster variable, as you do with 2-level models.
cheers
mc