Problem with workaround cross-classified models bug in 2.24
Posted: Fri Jan 06, 2012 8:11 am
I am trying to fit a three-level cross-classified model. In version 2.21 the models run smoothly without problems. When using version 2.24 (because I want to use runmlwin) I receive wrong estimates, i.e. the variance components at the three levels are wrong. More specifically, almost the complete variance is attributed to the lowest level only, although I know that the variance should be distributed across the levels.
I saw the notice about the bug in version 2.24 on the MLwiN bugs page:
“…This has the unexpected effect that if a cross-classified model has 0s in the identifier column for a classification it will assume that these data points are not associated with a higher level unit in that classification.
….
We have fixed this bug and version 2.25 of MLwiN will only treat 0 as a special value for multiple membership models and not cross-classified. As a workaround until version 2.25 appears the user can add 1 to the id column in question via the calculate window to fix the problem”
I assume that I am dealing exactly with this bug and wonder how to implement the workaround. I have tried adding 1 to the id column in question but that does not work (open the calculate window, choose variable in questions, choose +1 and calculate). I guess I am doing something wrong here.
I would very much appreciate any advice on how to correctly implement the workaround.
Thank you very much in advance!
I saw the notice about the bug in version 2.24 on the MLwiN bugs page:
“…This has the unexpected effect that if a cross-classified model has 0s in the identifier column for a classification it will assume that these data points are not associated with a higher level unit in that classification.
….
We have fixed this bug and version 2.25 of MLwiN will only treat 0 as a special value for multiple membership models and not cross-classified. As a workaround until version 2.25 appears the user can add 1 to the id column in question via the calculate window to fix the problem”
I assume that I am dealing exactly with this bug and wonder how to implement the workaround. I have tried adding 1 to the id column in question but that does not work (open the calculate window, choose variable in questions, choose +1 and calculate). I guess I am doing something wrong here.
I would very much appreciate any advice on how to correctly implement the workaround.
Thank you very much in advance!