Back to the multilevel page of Tom Snijders

A textbook,
Multilevel Analysis: An introduction to basic and advanced multilevel modeling,
written by myself and Roel Bosker, appeared October 1999 at Sage Publishers.

You can go the Sage announcement of this book by clicking here.

A second revised edition was published November 2011, and has a separate website.

This web page contains materials for this book:


Data sets and software setups.

By clicking here you can download a zipped file MLBOOK.ZIP (latest version March 19, 2007; size 1.1 MB) containing the following files:

  1. WEXAMPLE20.PDF, a 35-page introduction (in a pdf file, to be read by Acrobat Reader, current version March 19, 2007) to MLwiN 2.0 that uses the data set MLBOOK1.DAT also used in Chapters 4, 5, 8, and 9 in this textbook, and the data set IS9412.DAT used in Examples 14.1-14.3 of Chapter 14;
  2. WEXAMPLE.PDF, a 20-page introduction (in a pdf file, to be read by Acrobat Reader, current version July 2003) to MLwiN 1.10 that uses the data set MLBOOK1.DAT also used in Chapters 4, 5, 8, and 9 in this textbook, and the data set IS9412.DAT used in Examples 14.1-14.3 of Chapter 14;
  3. MLBOOK1.DAT, a MLwiN macro that contains the data and definition of variable names for most of the examples in Chapters 4, 5, 8, 9, and 13, and which is used in several of the following files:
  4. CH458.OBE, a macro that can be used for MLwiN to produce most of the examples of Chapters 4, 5, and 8; this macro uses the data set MLBOOK1.DAT;
    to run it, please take care that you are acquainted with the use of the macro facility in MLwiN, and first use a text editor to have a look at this macro to know approximately what it does;
  5. CH9.OBE, a macro that can be used for MLwiN to produce most of the examples of Sections 9.4 and 9.5; this macro can be run after running MLBOOK1.OBE and the same advice applies as given for the latter macro;
    this macro uses various macros for checking model assumptions that can be downloaded separately;
  6. CH9_6.OBE, a macro that is like CH9.OBE but now for section 9.6, and which also requires the model checking macros.
  7. CH12_1.DAT, a MLwiN macro that contains the data and definition of variable names for the examples in Section 12.1, and that is used in the next file:
  8. CH12_1.OBE, a macro that can be used for MLwiN to produce the examples of Section 12.1; this macro uses the data set CH12_1.DAT;
  9. CH13.OBE, a MLwiN macro that is like CH9.OBE but now for Chapter 13; this macro uses the data set MLBOOK1.DAT;
  10. MLB_HLM.ZIP, itself a zipped file that contains data and setups for producing the examples of Chapters 4 and 5 with HLM version 4;
  11. IS9412.DAT, a MLwiN macro for input of the data set used in Examples 14.1-14.3;
  12. IS12TRANS.MAC, aMLwiN macro for transformation of these data as required for Example 14.3;
  13. IS12.MAC, a MLwiN macro for calculating some results presented in Example 14.1;
  14. T14_3.txt, a text file explaining how to use MIXOR to produce the results presented in Table 14.3 in Example 14.4;
  15. BEATE1.DAT, BEATE1.DEF, and BEATE2.DEF, a data file and two MIXOR definition files used to produce Table 14.3.
The file MLBOOK.ZIP can be unzipped by using PKUNZIP or WINZIP.

Note that data sets used in this book can be downloaded in other formats (including SAS, STATA, and SPSS) from the UCLA webpages on multilevel analysis.


Remarks and corrections.

(with kind gratitude to all the people who point out these errors to me - not that finding out the errors makes me happy....)

Back to the multilevel page of Tom Snijders