Page 1 of 1

error running model in runmlwin

Posted: Tue Nov 20, 2012 12:00 pm
by russellecob
* I am new to runmlwin - initial models give the following errors (in asterisks below).
Any help very much appreciated.
BW
Russell Ecob.

** initial model
runmlwin lams cons dv21-dv210 revmscreendvv2 revmscreendvv3 revmscreendvv4 , ///
level2(scn: cons , residuals(u)) ///
level1(caseid: cons , residuals(e)) ///
mlwinpath(C:\Program Files (x86)\MLwiN v2.26\MLwiN.chm)
*The model did not run properly in MLwiN. You most likely clicked the Abort not found


** I then ran the following model following a note for George's response on the forum to isolleagier nov 6th 2011
runmlwin lams cons dv21-dv210 revmscreendvv2 revmscreendvv3 revmscreendvv4 , ///
level2(scn: cons , residuals(u)) ///
level1(caseid: cons , residuals(e)) ///
mlwinpath(C:\Program Files (x86)\MLwiN v2.26\MLwiN.chm) nopause
*The model did not run properly in MLwiN. Re-run the model without the nopause option to debug the model in MLwiN.

Re: error running model in runmlwin

Posted: Tue Nov 20, 2012 3:10 pm
by GeorgeLeckie
Hi Russel,

You appear to be pointing to the MLwiN help file!

Code: Select all

mlwinpath(C:\Program Files (x86)\MLwiN v2.26\MLwiN.chm)
Rather than the MLwiN software itself

Code: Select all

mlwinpath(C:\Program Files (x86)\MLwiN v2.26\i386\MLwiN.exe)
So change your syntax to

Code: Select all

runmlwin lams cons, ///
    level2(scn: cons) ///
    level1(caseid: cons) ///
    mlwinpath(C:\Program Files (x86)\MLwiN v2.26\i386\MLwiN.exe) ///
    nopause
Best wishes

George