Skip to main content
. 2017 Mar 7;12(3):e0173218. doi: 10.1371/journal.pone.0173218

Table 2. Simulated example of a multilevel dataset with one row per test score.

study indicates study number; ID indicates participant number; age, gender and education are background variables; z(1), z(2) and z(3) are indicator variables; test indicates test number and score indicates the score on the test with that number.

study ID age gender education z(1) z(2) z(3) test score
1 1 −2.21 −1 3.68 1 0 0 1 0.08
1 1 −2.21 −1 3.68 0 1 0 2 1.59
1 2 22.79 1 −0.32 1 0 0 1 0.72
1 2 22.79 1 −0.32 0 1 0 2 2.06
2 1 −25.21 1 0.68 0 1 0 2 0.19
2 1 −25.21 1 0.68 0 0 1 3 1.26
2 2 −11.21 1 1.68 0 1 0 2 0.04
2 2 −11.21 1 1.68 0 0 1 3 −0.29
2 3 3.79 −1 0.68 0 1 0 2 −0.65
2 3 3.79 −1 0.68 0 0 1 3 −0.51