Multilevel Analysis/Hierarchical Linear Modeling
Edpsych/Psych/Stat 587
C.J. Anderson
Spring 2011
Last revised: May 3, 2011
General Information
Announcements
Lecture notes
Computer Lab
Homework
Example analyses
Handy program and links
Questions or problems regarding this site should be sent to
cja@illinois.edu.
General Information (MSword
format):
Announcements:
- April 22: The final and data are available below.
- April 18:
- Homework 4 is due Thursday April 28
- The sas code from computer lab on Tuesday April 18 is linked under computer lab 4
- April 6: The finals (or projects) are due Tuesday May 10.
- March 29: Typo in the homework 3. On problem 1, part e, use Model p. Also the due date
was changed to April 7.
- March 15:
- The example of using hlmrsq works under the lecture notes on inference for marginal model.
- The next computer lab instructions and homework are posted.
- There is a computer lab on Thursday...don't forget your laptop.
- Jan 30: On Feb 10 (10am), Anne Roberston will visit class to discuss IRB requirements. Although
this is important for all, it will be espeically important to those doing projects. Below are two
related links:
- Jan 19: Optional: introduction to SAS will be given Thursday Jan 27, 9-10am. The material covered is
the Handout under "Computers Lab 0". If you have used SAS before, there is no need to attend this session.
- Lecture meeting time: Most days lectures will be from 10:00-11:50am, including the
first one.
- Computing: We will be running statistical software (SAS) using
remote
desktop connection. We will connect to a server that has the software.
There are 2 things that you need before you can do this:
- Your computer must be hooked up to the internet (campus, home, hotel, Espresso Royal,
elsewhere).
- You must be registered for the class. If you reccently registered, you may not yet have
permission to login.
Lectures Notes:
Computer Lab Sessions: Bring laptop
- Computer Lab Session 0 (optional): Introduction to SAS
- Computer Lab Session 1: (bring laptop)
- Computer Lab Session 2: (bring laptop)
- Computer Lab Session 3: bring laptop....March 17
- Computer Lab Session 4: April 14 & 18
Homework
Homework Number 2
Homework Number 3:
Homework Number 4:
Final Exam and Projects are due Tuesday May 10, 2011 by 5pm.
Example SAS Programs (ascii/text format):
Examples from Snijders & Bosker using SAS
- MLbook.sas.
Create SAS data for examples in Chapters 4 and 5.
- Ch4_examples.sas.
Example 2-level analyses from Chapter 4 (random intercept models).
- Ch5_examples.sas.
Example 2-level analyses from Chapter 5 (random intercept and
slopes).
- Ch12_examples.sas.
Examples analyses from Chapter 12 (longitudinal data analysis),
including creating sas dataset.
Examples from Chapter 4 of Kreft & de Leeuw (provided and written
by Carol Nickerson):
-
School23.sas.
SAS code that creates data set and fits models reported in Kreft &
de Leeuw.
-
school23.dat.
Raw data file that is used as input to school23.sas.
Handy Programs and Links:
-
Ones specific to multilevel modeling:
-
General ones:
-
CIforP.f:
A FORTRAN program that computes large sample confidence intervals for a
proportion.
-
pvalue.f:
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,
pvalue.exe
is an executable (i.e. already compiled) program.