Page 1 of 1

A question about batch file

Posted: Tue Feb 28, 2017 7:03 am
by auctor21
I would like to ask a question about creating a batch file.
I'm analyzing the data through MLwiN, and it's a simulation study, so I have to analyze a lot of data.
So I want to create a batch file for analysis.
What is required for MLwiN to do this?
For example, in the HLM program, I create and analyze mdmt and mdm files for analysis. What files should be created in MLwiN?
Or is there a command script?
Thank you for your help.

Re: A question about batch file

Posted: Tue Feb 28, 2017 12:09 pm
by ChrisCharlton
There are a number of ways to generate and run the commands required (see viewtopic.php?f=1&t=1989).

If you wish to run the file directly with MLwiN then you will just need a simple text file containing the sequence of commands that you wish to run. You would then either open this within MLwiN via the File->Open Macro menu and press the Execute button, or you would pass the file name via the /run switch to mlwin.exe or mlnscript.exe.

You might also want to take a look at chapter 8 of the MCMC guide (see http://www.bristol.ac.uk/cmm/media/soft ... mc-web.pdf) as this covers running a simulation study using MLwiN.

Re: A question about batch file

Posted: Thu Mar 02, 2017 3:43 pm
by auctor21
Thank you so much Sir
Take a closer look at how you show it