35 Citations (Scopus)
347 Downloads (Pure)

Abstract

R2MLwiN is a new package designed to run the multilevel modeling software program MLwiN from within the R environment. It allows for a large range of models to be specified which take account of a multilevel structure, including continuous, binary, proportion, count, ordinal and nominal responses for data structures which are nested, cross-classified and/or exhibit multiple membership. Estimation is available via iterative generalised least squares (IGLS), which yields maximum likelihood estimates, and also via Markov chain Monte Carlo (MCMC) estimation for Bayesian inference. As well as employing MLwiN's own MCMC engine, users can request that MLwiN write BUGS model, data and initial values statements for use with WinBUGS or OpenBUGS (which R2MLwiN automatically calls via rbugs), employing IGLS starting values from MLwiN. Users can also take advantage of MLwiN's graphical user interface: for example to specify models and inspect plots via its interactive equations and graphics windows. R2MLwiN is supported by a large number of examples, reproducing all the analyses conducted in MLwiN's IGLS and MCMC manuals.
Original languageEnglish
Number of pages43
JournalJournal of Statistical Software
Volume72
Issue number10
DOIs
Publication statusPublished - 8 Sep 2016

Structured keywords

  • Jean Golding

Keywords

  • R2MLwiN
  • MLwiN
  • R
  • WinBUGS
  • OpenBUGS
  • multilevel model
  • random effects model
  • mixed model
  • hierarchical linear model
  • clustered data
  • maximum likelihood estimation
  • Markov chain Monte Carlo estimation

Fingerprint

Dive into the research topics of 'R2MLwiN: A program to run the MLwiN multilevel modelling software from within R'. Together they form a unique fingerprint.

Cite this