Multilevel Analysis/Hierarchical Linear Modeling
Examples of Papers that Use Multilevel Models
Handy program and links
Questions or problems regarding this site should be sent to
There are 2 things that you need before you can do this:
General Information (MSword format):
- Friday Aug The introduction to SAS computer lab, which is entirely optional, will be held xxxxx. The materials that we will cover are online
- For those who might want to use Bayesian estimation, I worked up a small example for the empty model, random intercept with one predictor, and a random
intercept and slope model. I also included proc mixed code if you want to compare results. You can change the seed to "-1" and run the mcmc code a few times and
- Draft chapters on GLM, GLMM, and LLM (i.e., HLM).
- Computing: We will be running statistical software (SAS) using remote desktop to a university server. Here are the instructions:
remote desktop connection. Here is the file referred to in the instructions as an RDP file. ---
Use "Save link as" when you download the RDP file and save it to a convient location (e.g., desktop).
When you run the RDP application and it will run remote desktop application and set up configurations such that you will be able to directly open and save files from the remote server to your computer (and visa versa).
If you don't want to do these things, just use your remote desktop program and enter "remote2.webstore.illinois.edu".
- Your computer must be hooked up to the internet. If you access the internet via campus wireless, home, hotel, Espresso Royal, or elsewhere), you will need
to use VPN (Virtual Private Networking) to securely connect to the campus internet.
- You must be registered for the class. If you reccently registered, you may not yet have permission to login yet.
Computer Lab Sessions: Bring laptop
Homework Number 2
Homework Number 3:
Homework Number 4:
Final Exam and Projects are due Thursday Dec 10, 2015 by 5pm. Pentalty for late finals or projects is 10 points (out of 100 points) per weekday
(e.g., turn in Friday, 10 point deduction; turn in Monday 20 point, etc).
Examples of Papers that Use Multilevel Models
- Payne, B.R., Gao, X., Noh, S.R., Anderson, C.J., Stine-Morrow, E.A.L. (2011). The effects of print
exposure on sentence processing and memory in older adulats: Evidence for efficiency and reserve. Aging, Neuropsychology, and Cognition.
Some examples of crossed random effects, skewed responses (i.e., reaction times), and discrete response (i.e., Poisson).
- Segerstrom, S.C. & Sephton, S.E. (2010). Optimistic expectanices and cell-mediated immunity: The role
of positive affect. Psychological Science, 21, 448-455.
Example of where cluster centered level one variable is substantive (theoretical) interest. The response variable is numerical/continuous.
- Allen, N.E., Todd, N.R., Anderson, C.J., Davis, S.M., Javdani, Bruehler, V., & Dorsey, H.
(2013). Council-Based approaches to intimate partner violence: Evidence for distal change in system response. American Journal of Community
Psychology, 52, 1-12.
Example of a longitudinal study with creative centering of time. The response variable was a rate (probability).
- Poteat, V.P. & Anderson, C.J. (2012). Developmental changes in sexual prejudice from early to late
adolescence: The effects of gener, race, and ideology on different patterns of change. Developmental Psychology, 48, 1403-1415.
Example of an accelerated longitudinal design.
- Examples from Tom Snijders course web-page where multilevel models have been used. (click on "info course multilevel" on left and go to
bottom of page. These papers cover a range of topics (e.g., political science, sociology, school psychology, criminology, medicine, and others).
Example SAS Programs (ascii/text format):
Examples from Snijders & Bosker using SAS
Examples from Chapter 4 of Kreft & de Leeuw (provided and written
by Carol Nickerson):
Create SAS data for examples in Chapters 4 and 5.
Example 2-level analyses from Chapter 4 (random intercept models).
Example 2-level analyses from Chapter 5 (random intercept and
Examples analyses from Chapter 12 (longitudinal data analysis),
including creating sas dataset.
Handy Programs and Links:
SAS code that creates data set and fits models reported in Kreft &
Raw data file that is used as input to school23.sas.
Ones specific to multilevel modeling:
A FORTRAN program that computes large sample confidence intervals for a
A FORTRAN program that computes p-values and (bonferroni) critical values
for the standard normal, chi-squared, t, and F distributions (and for correlations).
For users of PC type computers,
is an executable (i.e. already compiled) program.