Multilevel Modeling Using R

David Rogosa Sequoia 224, rag{AT}stat{DOT}stanford{DOT}edu Office hours: Class meeting days, 5:30 - 6:30

Course web page: http://rogosateaching.com/stat196/

To see full course materials from Spring 2018 go here

From explorecourses

STATS 196A (EDUC 401D): Multilevel Modeling Using R Multilevel data analysis examples using R. Topics include: two-level nested data, growth curve modeling, generalized linear models for counts and categorical data, nonlinear models, three-level analyses. For more information, see course website: http://rogosateaching.com/stat196/ Terms: Spr | Units: 1 | Grading: Satisfactory/No Credit Instructors: Rogosa, D. (PI) STATS 196A | 1 units | Class # 29266 | Section 01 | Grading: Satisfactory/No Credit | WKS | Wed 3:30 PM - 5:20 PM at Sequoia Hall 200 with Rogosa, D. (PI) Instructors: Rogosa, D. (PI) Notes: Class meets on April 10, April 17, April 24, May 1, May 15.

For the 1-unit enrollment in this short course, students are expected to engage in the four presentation class sessions, and for the fifth session each student makes a short (~10 min) presentation of a relevant data analysis they have conducted.Course ScheduleFive (2hr) mtgs W 3:30 - 5:20 on April 10, April 17, April 24, May 1, May 15. Sequoia 200 Weeks 1 - 4. a. Introduction: Basic analyses for two-level nested data, normal models (UK Exam data) b. Additional two-level (normal) models: experimental designs (Dyestuff), longitudinal data (growth curves, sleepstudy), observational data (High School and Beyond) c. Generalized linear mixed models for counts and categorical outcomes d. Three-level analyses (nested data and longitudinal data) e. Specialized applications (as time permits): regression diagnostics, power calculations and design, ecological inference, survival analysis, nonlinear functional forms, mediation analysis, propensity scores and matching, imputation, item response theory Week 5. Student presentations of multilevel data analyses

The Registrar does have a form (no-fee) for faculty, staff, post-docs: Application for Auditor or Permit to Attend (PTA) Status

Many of the example presented in this short course are described in Examples from Multilevel Software Comparative Reviews Douglas Bates. Code version of MlmSoftRev

R-package containing mlmRev data examples. Bates talk on mlmRev U Bristol documentation Additional examples in core package lme4

Another set of examples: lmer for SAS PROC MIXED Users Douglas Bates Department of Statistics University of Wisconsin Madison Data sets from SAS System for Mixed Models

Overviews and additional examples from Doug Bates:

lme4: Mixed-effects modeling with R February 17, 2010 Springer (book chapters). An merged version of Bates book:[broken 2/18] lme4: Mixed-effects modeling with R January 11, 2010

R Journal intro Fitting linear mixed models in R Using the lme4 package Douglas Bates (pp.27-30)

Collection of all Doug Bates lme4 talks Fitting linear mixed-effects models using lme4,

HSB and growth curve examples in John Fox lme tutorial

Another nice lmer exposition with life sciences examples: Mixed-effects models, Remko Duursma, Jeff Powell Hawkesbury Institute for the Environment, Western Sydney University. September 2016. HIE Datasets

Current version of R is R version 3.5.3 released on (2019-03-11) -- "Great Truth". For references and software: The R Project for Statistical Computing Closest download mirror is Berkeley

A recent text (potentially) provides more infrastructure for this short course, but sadly it has many shortcomings. This text has free access at Stanford via crcnetbase.com Multilevel Modeling Using R

http://www.crcpress.com/product/isbn/9781466515857 Chapman & Hall/CRC Statistics in the Social and Behavioral Sciences Published:June 23, 2014 by CRC Press

Journal of Statistical Software Book Review

Book website, including data

1. Introductory Example. Nested data, two-levels. Goldstein Exam Data.

a. Introductory descriptive approaches for gender gap analysis (Smart First Year Student analyses using lmList, additional plots).

b. Various lmer analyses for gender gap.

Rogosa R-session basic plots models used Stat 209 Gender gap data analysis. scanned class handout

c. Residual plots, add-on regression diagnostics: packages

Rogosa session with Exam data (week 1) (ascii) resulting plots

d. more P-values, tests add-ons to lmer. Faraway text addendums: Inferential Methods for Linear Mixed Models

2. Growth Curve Modeling exercise, Brain Volume Data Analysis. analyses from "Variation in longitudinal trajectories of regional brain volumes of healthy men and women (ages 10 to 85 years) measured with atlas-based parcellation of MRI" cartoon plot of Lateral Ventricles data; actual data plot of Lateral Ventricles data; development of lmer (mixed effect) growth models

3. Matrix Formulation for Mixed Effects Models (growth curves and nested data).