multivariate multiple membership models
Posted: Thu Apr 10, 2014 10:39 pm
Hello:
I am attempting to fit a multivariate multiple membership models. I am following the same procedures as for a univariate multiple membership model with weights and higher level id's in consecutive columns. The weights are weight1, weight2 and the ids are picx1 picx2 where the picx's indicate teacher id's. I have two responses - a mathscore and a reading score. After fitting the 3 level model with the responses at level 1, the student ids at level 2 and the teacher id picx1 at level 3, I switch to MCMC estimation and estimate the three level model. Then I go the Model/MCMC/Classifications and indicate multiple classification at level 3. For number of columns I indicate 2; for weights start column I indicate weight1; and for ID start column I indicate picx1. When I hit done I get a pop-up box 'Error detected by MLN' 'multiple membership column wrong length(XCLA)'. I realize that MLwiN sets up a picx1_long column whereas I do not have a picx2_long column. However, if I hit OK in the error box and proceed by hitting the start button the MCMC estimation seems to proceed normally with the 3rd level variance/covariance matrix estimates becoming slightly larger as I would expect.
Am I OK here or do I need to set up long versions of the ID's and weights? I notice that MLwiN does not set them up after the estimation is finished.
Steve
I am attempting to fit a multivariate multiple membership models. I am following the same procedures as for a univariate multiple membership model with weights and higher level id's in consecutive columns. The weights are weight1, weight2 and the ids are picx1 picx2 where the picx's indicate teacher id's. I have two responses - a mathscore and a reading score. After fitting the 3 level model with the responses at level 1, the student ids at level 2 and the teacher id picx1 at level 3, I switch to MCMC estimation and estimate the three level model. Then I go the Model/MCMC/Classifications and indicate multiple classification at level 3. For number of columns I indicate 2; for weights start column I indicate weight1; and for ID start column I indicate picx1. When I hit done I get a pop-up box 'Error detected by MLN' 'multiple membership column wrong length(XCLA)'. I realize that MLwiN sets up a picx1_long column whereas I do not have a picx2_long column. However, if I hit OK in the error box and proceed by hitting the start button the MCMC estimation seems to proceed normally with the 3rd level variance/covariance matrix estimates becoming slightly larger as I would expect.
Am I OK here or do I need to set up long versions of the ID's and weights? I notice that MLwiN does not set them up after the estimation is finished.
Steve