NB: some movers may end up in the same place by chance, so the diagonal will include both movers and stayers. Off the diagonal there are only movers, and there is independence off the diagonal.
compute offdiag = VAR1<>VAR2.where VAR1 and VAR2 are the classifying variables.
genlog VAR1 VAR2 /cstructure=offdiag . . .or Statistics Loglinear General and put offdiag into the Cell Structure box.
genlog VAR1 VAR2 /cstructure=offdiag /design = VAR1 VAR2.
|