Index exceeds matrix dimensions query
Posted: Tue Mar 13, 2012 3:36 pm
Hello All,
I have been trying to conduct multiple imputation with a two level (occasion nested within individual) model that contains several continuous and categorical variables. However, when I click 'Start MCMC Run', I get the following error message:
??? Index exceeds matrix dimensions.
Error in ==> sampleymiss at 77
Error in ==> mcmcdriver at 889
Error in ==> gui_2levmixresp>pushbutton16_RunMCMC_Callback at 264
Error in ==> gui_mainfcn at 96
Error in ==> gui_2levmixresp at 46
Error in ==>
@(hObject,eventdata)gui_2levmixresp('pushbutton16_RunMCMC_Callback',hObject,even
tdata,guidata(hObject))
??? Error while evaluating uicontrol Callback
I've re-downloaded and installed the latest versions of both MLWIN and Realcom-Impute, tried moving all of my auxiliary variables except the constant to the response variables column and tried calling my categorical variables 'ordered' and 'unordered' and still get the same message. I also used a separate dataset I'm working with (that includes the same 2 levels (occasions nested within individuals) and got the same error message.
If anyone can provide any suggestions as to what I might be doing wrong and how it might be handled, I would really appreciate it.
Many thanks,
Ryan
I have been trying to conduct multiple imputation with a two level (occasion nested within individual) model that contains several continuous and categorical variables. However, when I click 'Start MCMC Run', I get the following error message:
??? Index exceeds matrix dimensions.
Error in ==> sampleymiss at 77
Error in ==> mcmcdriver at 889
Error in ==> gui_2levmixresp>pushbutton16_RunMCMC_Callback at 264
Error in ==> gui_mainfcn at 96
Error in ==> gui_2levmixresp at 46
Error in ==>
@(hObject,eventdata)gui_2levmixresp('pushbutton16_RunMCMC_Callback',hObject,even
tdata,guidata(hObject))
??? Error while evaluating uicontrol Callback
I've re-downloaded and installed the latest versions of both MLWIN and Realcom-Impute, tried moving all of my auxiliary variables except the constant to the response variables column and tried calling my categorical variables 'ordered' and 'unordered' and still get the same message. I also used a separate dataset I'm working with (that includes the same 2 levels (occasions nested within individuals) and got the same error message.
If anyone can provide any suggestions as to what I might be doing wrong and how it might be handled, I would really appreciate it.
Many thanks,
Ryan