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?
help with 3 or more level of multilevel analysis
- mcfanda@gmail.com
- Posts: 462
- Joined: Thu Mar 23, 2017 9:24 pm
Re: help with 3 or more level of multilevel analysis
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
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
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