error running model in runmlwin

Welcome to the forum for runmlwin users. Feel free to post your question about runmlwin here. The Centre for Multilevel Modelling take no responsibility for the accuracy of these posts, we are unable to monitor them closely. Do go ahead and post your question and thank you in advance if you find the time to post any answers!

Go to runmlwin: Running MLwiN from within Stata >> http://www.bristol.ac.uk/cmm/software/runmlwin/
Post Reply
russellecob
Posts: 1
Joined: Wed Oct 03, 2012 3:05 pm

error running model in runmlwin

Post 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.
GeorgeLeckie
Site Admin
Posts: 432
Joined: Fri Apr 01, 2011 2:14 pm

Re: error running model in runmlwin

Post 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
Post Reply