- | 1 | 2 | 3 | 4 | 5 |
1 | - | 6 | 7 | 8 | 9 |
2 | 6 | - | 10 | 11 | 12 |
3 | 7 | 10 | - | 13 | 14 |
4 | 8 | 11 | 13 | - | 15 |
5 | 9 | 12 | 14 | 15 | - |
tabu VAR1 VAR2 symm .This will lay it out as in the table above.
compute #c=1. loop #i = 1 to 5. . loop #j = #i+1 to 5. . if var1=#i and var2=#j sym = #c. . if var1=#j and var2=#i sym = #c. . compute #c=#c+1. . end loop. end loop. if var1=var2 sym=1.
compute offdiag = avote<>evote. makesym avote evote 4 symm . factor symm s 6. genlog avote evote with s2 s3 s4 s5 s6 /cstructure = offdiag /print=est/plot=none /design= s2 s3 s4 s5 s6 /save=adjresid.
tabu avote evote adj_1.
|