global path
-
- Posts: 3
- Joined: Tue Sep 17, 2013 1:08 pm
global path
Good day
I need to fit a 2 level variance components logit model using runmlwin. I have MLWIN 2.24 installed in my computer. I was wondering if I need to specify the global MLwiN_path and how do I specify it? Thanks and I look forward to your assistance.
Best
Olly
I need to fit a 2 level variance components logit model using runmlwin. I have MLWIN 2.24 installed in my computer. I was wondering if I need to specify the global MLwiN_path and how do I specify it? Thanks and I look forward to your assistance.
Best
Olly
-
- Site Admin
- Posts: 432
- Joined: Fri Apr 01, 2011 2:14 pm
Re: global path
Dear Olly,
Yes, to use runmlwin you must tell Stata where MLwiN is installed on your computer
The easiest way to do this is via specifying a global macro.
To do this, you simply need to add the following line of code to your do-file
You will need to adapt the above code to match the location of MLwiN on your computer
Best wishes
George
Yes, to use runmlwin you must tell Stata where MLwiN is installed on your computer
The easiest way to do this is via specifying a global macro.
To do this, you simply need to add the following line of code to your do-file
Code: Select all
. global MLwiN_path "C:\Program Files\MLwiN v2.24\i386\mlwin.exe"
Best wishes
George
-
- Posts: 1384
- Joined: Mon Oct 19, 2009 10:34 am
Re: global path
The current version of runmlwin also requires a minimum MLwiN version of 2.26, so you will also need to install the update available from http://www.bris.ac.uk/cmm/software/mlwi ... rades.html.
-
- Posts: 3
- Joined: Tue Sep 17, 2013 1:08 pm
Re: global path
Dear George
Thank you for your assistance. I managed to specify the path for mLwiN. I however get an error that the mlwin does not exist.I will try to update it to version 2.26
Olly
Thank you for your assistance. I managed to specify the path for mLwiN. I however get an error that the mlwin does not exist.I will try to update it to version 2.26
Olly
-
- Posts: 3
- Joined: Tue Sep 17, 2013 1:08 pm
Re: global path
Dear Chris
Thank you for your suggestion to update my mlwin to 2.26.
Olly
Thank you for your suggestion to update my mlwin to 2.26.
Olly
Re: global path
Dear runmlwin users,
I am struggling to get runlmwin to work because I am unable to specify the global path where my MLWiN programme (2.26) is installed. It seems that the location is hidden, which means that I (and IT support) can't identify a path to enter in Stata. The only paths we find are shortcuts, none of which work when entering them in Stata.
I suspect this must have happened when it was installed. I tried installing the 2.28 trial version, but encounter the problem.
Any advice on this matter would be very much appreciated.
Kind regards,
Lisa
I am struggling to get runlmwin to work because I am unable to specify the global path where my MLWiN programme (2.26) is installed. It seems that the location is hidden, which means that I (and IT support) can't identify a path to enter in Stata. The only paths we find are shortcuts, none of which work when entering them in Stata.
I suspect this must have happened when it was installed. I tried installing the 2.28 trial version, but encounter the problem.
Any advice on this matter would be very much appreciated.
Kind regards,
Lisa
-
- Posts: 1384
- Joined: Mon Oct 19, 2009 10:34 am
Re: global path
I'm not sure why these directories would be hidden on your computer, however assuming that you are running a 64-bit operating system the default path for MLwiN 2.26 is:
C:\Program Files (x86)\MLwiN v2.26\i386\mlwin.exe
and the default for the trial version is:
C:\Program Files (x86)\MLwiN trial\i386\mlwin.exe
so you could see whether you have any luck trying these.
If this doesn't work you could try reinstalling MLwiN and selecting "advanced" in the first set-up screen. This will allow you to specify your own installation location, which you can then refer to from Stata.
C:\Program Files (x86)\MLwiN v2.26\i386\mlwin.exe
and the default for the trial version is:
C:\Program Files (x86)\MLwiN trial\i386\mlwin.exe
so you could see whether you have any luck trying these.
If this doesn't work you could try reinstalling MLwiN and selecting "advanced" in the first set-up screen. This will allow you to specify your own installation location, which you can then refer to from Stata.
Re: global path
Hi Olly,
I had similar problem and same error message when I tried declaring the global MLwiN path for the first time on my computer due to wrong specification of my Mlwin path.
So in my second attempt, I open my drive C where my program files are, then open program files and located Mlwin, I then open it and saw i386. After this, I simply copied the whole of this path from the menu bar at the top and I simply just added mlwin.exe with backslash as seen below and I was successful in that second attempt.
global MLwiN_path "C:\Program Files (x86)\MLwiN v2.28\i386\mlwin.exe"
So, try to first locate the location of your mlwin software on your computer and try my steps above and see how it goes.
Hope this helps.
Thanks.
-Jascalla
I had similar problem and same error message when I tried declaring the global MLwiN path for the first time on my computer due to wrong specification of my Mlwin path.
So in my second attempt, I open my drive C where my program files are, then open program files and located Mlwin, I then open it and saw i386. After this, I simply copied the whole of this path from the menu bar at the top and I simply just added mlwin.exe with backslash as seen below and I was successful in that second attempt.
global MLwiN_path "C:\Program Files (x86)\MLwiN v2.28\i386\mlwin.exe"
So, try to first locate the location of your mlwin software on your computer and try my steps above and see how it goes.
Hope this helps.
Thanks.
-Jascalla
Re: global path
Thank you Chris.
For some reason it really was not possible to locate where on the computer the actual program had been installed.
It was finally resolved by re-installing MLWiN using the "Advanced" option like you suggested.
Many thanks,
Lisa
For some reason it really was not possible to locate where on the computer the actual program had been installed.
It was finally resolved by re-installing MLWiN using the "Advanced" option like you suggested.
Many thanks,
Lisa