runmlwin is a Stata command which allows Stata users to run the powerful MLwiN multilevel modelling software from within Stata.
The multilevel models fitted by runmlwin are often considerably faster than those fitted by the Stata's xtmixed, xtmelogit and xtmepoisson commands. The range of models which can be fitted by runmlwin is also much wider than those commands. runmlwin also allows fast estimation on large data sets for many of the more complex multilevel models available through the user written gllamm command.
MLwiN has the following features:
We have provided a range of presentations showcasing runmlwin. These presentations provide a quick overview of how the command works and the range of models which can be fitted. More > >
Both MLwiN and Stata are required to use runmlwin. MLwiN is free to UK academics. A fully functional 30-day free version of MLwiN is available to all other users.
To install runmlwin, type the following command in a net aware version of Stata:
. ssc install runmlwin, replace
We have provided Stata do-files which allow you to replicate all the analyses reported in the MLwiN User Manual and the MCMC MLwiN Manual using runmlwin. More > >
If you use runmlwin in your work, please cite runmlwin. We are happy to list all publications that cite runmlwin on this web site. More > >
runmlwin is developed by George Leckie (g.leckie@bristol.ac.uk) and Chris Charlton.
The development of this command was funded under the LEMMA project, a node of the UK Economic and Social Research Council's National Centre for Research Methods (grant number RES-576-25-0003).