3-level models
Posted: Fri Mar 11, 2016 2:52 pm
Hi there - I’ve been using runmlwin successfully to run 2-level MLMs but when I try to run 3-level models I receive an error message. The syntax and error messages are outlined below. Can anyone advise please?
Many thanks
Vanessa
My successful 2-level models
• xi: runmlwin wtval cons if sex==1, level2(hserialVH: cons) level1(id: cons, weightvar(wt_intFINAL)) nopause mlwinpath(C:\Program Files (x86)\MLwiN v2.30\i386\MLwiN.exe)
• xi: runmlwin wtval cons if sex==1, level2(msoaid: cons) level1(id: cons, weightvar(wt_intFINAL)) nopause mlwinpath(C:\Program Files (x86)\MLwiN v2.30\i386\MLwiN.exe)
My unsuccessful 3-level model
• xi: runmlwin wtval cons if sex==1, level3(msoaid: cons) level2(hserialVH: cons) level1(id: cons, weightvar(wt_intFINAL)) nopause mlwinpath(C:\Program Files (x86)\MLwiN v2.30\i386\MLwiN.exe)
Error message:
The model did not run properly in MLwiN. Re-run the model without the nopause option to debug the model in MLwiN.
r(198);
Many thanks
Vanessa
My successful 2-level models
• xi: runmlwin wtval cons if sex==1, level2(hserialVH: cons) level1(id: cons, weightvar(wt_intFINAL)) nopause mlwinpath(C:\Program Files (x86)\MLwiN v2.30\i386\MLwiN.exe)
• xi: runmlwin wtval cons if sex==1, level2(msoaid: cons) level1(id: cons, weightvar(wt_intFINAL)) nopause mlwinpath(C:\Program Files (x86)\MLwiN v2.30\i386\MLwiN.exe)
My unsuccessful 3-level model
• xi: runmlwin wtval cons if sex==1, level3(msoaid: cons) level2(hserialVH: cons) level1(id: cons, weightvar(wt_intFINAL)) nopause mlwinpath(C:\Program Files (x86)\MLwiN v2.30\i386\MLwiN.exe)
Error message:
The model did not run properly in MLwiN. Re-run the model without the nopause option to debug the model in MLwiN.
r(198);