A question about batch file

Welcome to the forum for MLwiN users. Feel free to post your question about MLwiN software 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!

Remember to check out our extensive software FAQs which may answer your question: http://www.bristol.ac.uk/cmm/software/s ... port-faqs/
Post Reply
auctor21
Posts: 13
Joined: Wed Nov 16, 2016 6:36 am

A question about batch file

Post 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.
ChrisCharlton
Posts: 1354
Joined: Mon Oct 19, 2009 10:34 am

Re: A question about batch file

Post 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.
auctor21
Posts: 13
Joined: Wed Nov 16, 2016 6:36 am

Re: A question about batch file

Post by auctor21 »

Thank you so much Sir
Take a closer look at how you show it
Post Reply