Biostatistics 236 Modeling Longitudinal Data

Spring 2023 - Robert Weiss

 

News & Announcements:

  • Weiss's extra office hour Friday June 2, 1pm. Same zoom link. https://ucla.zoom.us/j/95111988971 .  
  • Lab 9 on residual analysis will be in SAS. 
  • Request: Attend class in person (unless you're ill of course). It's a little bit odd to be lecturing to between 3% and 10% of enrolled students. 
  • Suggestion: Wear a mask. Then we don't share infectious diseases (flu, cold, RSV, Coronavirus, and all the other named and unnamed infectious diseases that we share by breathing). 
  • Homeworks have a minor update. HW5 has been modified to not ask for SAS output. 
  • SAS Studio Introduction (word) Please follow instructions on first page and register for SAS Studio. Ideally immediately, but definitely before lab 8 Wednesday May 24th.
  • Zoom links Office Hours and Class for 2023 (in pdf).
  • We will be moving to R for computer labs. Conversion is a major effort, please bear with us during this move. If you find errors or know of easier/better ways to do some code, please let me know. 
  • Data Analysis Project Comments and General Advice.
  • Variance Covariance Choices.
  • Let me know if any errors.
  • 2023 Syllabus has been posted.

Table of Contents


2023 Class Schedule, Email Addresses, and Office Hours:

For Zoom links see 2023 Course Zoom links

Event Time Day Room
Lecture 1:00 -- 2:50 Monday CHS 41-268
Lecture 1:00 -- 1:50 Wednesday CHS 41-268
Computer Lab 2:00 - 2:50 Wednesday CHS 41-268
Prof Robert Weiss robweiss@ucla.edu  
Office Hours Tuesday 4:00 -- 4:50 zoom
Office Hour Thursday 11:00 -- 11:50 zoom
TA Mitchell Schepps mschepps21@gmail.com  
Office Hours Monday 4:00-4:50 zoom
  Friday 4:00-4:50 zoom

Syllabus and Book CoverTextbook

2023 Syllabus has been posted. Includes 2023 HW due dates and 2023 grading system.

The 2023 textbook is Modeling Longitudinal Data. The book web page has data and links to example code.

The textbook is available for download through the UCLA library Springer bookshelf. If you are off campus, you will need to VPN to campus to be able to download the book. When I type "Modeling Longitudinal Data" (without the quotes) into the search box at UCLA Library webpage, the book is the first item on the list.

 


Lecture Notes

Variance Covariance Choices.


Homework Assignments

Homeworks (PDFs)

Please turn in PDFs of your solutions on Bruin Learn. Due dates are on the syllabus.

All data Sets in both Text and SAS Formats

Homeworks (Original LaTeX)


Computer Labs in R for Learning Longitudinal Data Analysis


 

Computer Labs for Learning Longitudinal Data Analysis Using SAS


Data Sets


Discussion Questions


Lecture Recordings

Lecture recordings posted to our BruinLearn Video page.

  • Syllabus (non-lecture, pdf).
  • Lecture 01 Monday 2023_04_03. Syllabus. Lecture notes 1 intro pages 1-12. Lab 1 data sets. 
  • Lecture 02 Wednesday 2023_04_05. Lecture notes 1 pages 12-17. 
  • Lecture 03 Monday 2023_04_10. Lecture notes 1 pages 17- 28. Lecture notes 2 Graphics pages 1-38. 
  • Lecture 04 Wednesday 2023_04_12. Lecture notes 2 Graphics pages 38-47. 
  • Lecture 05 Monday 2023_04_17. Lecture notes 2 pages 48-49. Lecture notes 3 simple methods pages 1-17. Lecture notes 3, multivariate normal model pages 18-19. 
  • Lecture 06 Wednesday 2023_04_19. Lecture notes 3, multivariate normal model pages 20-31. 
  • Lecture 07 Monday 2023_04_24. Lecture notes 3 pages 31-48. Lecture notes 4 specifying predictors pages 1-10. Note: First hour not recorded, apologies. 
  • Lecture 08 Wednesday 2023_04_26. Lecture notes 4 pages 8-10. Handout of annotated output for lab 4, pages 1-7. 
  • Lecture 09 Monday 2023_05_01. Lecture notes 4 pages 11-26 (top of page 26). RLab 5 selected output. 
  • Lecture 10 Wednesday 2023_05_03. Lab 5 covariance modeling.
  • Lecture 11 Monday 2023_05_08. FDAP mention. Lecture notes 4 pages 26-40. Lab 6. 
  • Lecture 12 Wednesday 2023_05_10. Plots from lab 6. Lecture notes 4 pages 41-53. 
  • Lecture 13 Monday 2023_05_15. Output from lab 7. Lecture notes 8 pages 14-35 on discrete outcomes. Lecture notes 4 pages 53-61.  
  • Lecture 14 Wednesday 2023_05_17. Finished lecture notes 4 covariates. Started lecture notes 5 covariance modeling pages 1 to 10. Sound was off for a likely significant portion of the lecture, very sorry. 
  • Lecture 15 Monday 2023_05_22. Lecture notes 5 covariance modeling, pages 11 to 30. Lab 8, which is the covariance model fitting lab 5 from the SAS modelings. 
  • Lecture 16 Wednesday 2023_05_24. Extended lab introducing SAS proc mixed. 
  • Lecture 17 Monday 2023_05_29. Memorial Day Holiday
  • Lecture 18 Wednesday 2023_05_31.Lecture notes 5 covariance modeling, pages 35-42, Lecture notes 6, random effects modeling pages 1-3, also brief discussion of ADAP, and discussion of residual analysis in lab 9. 
  • Lecture 19 Monday 2023_06_05. 
  • Lecture 20 Wednesday 2023_06_07.

Labs.

  • Lab 01 Wednesday 2023_04_05. Introduction, Data Management
  • Lab 02 Wednesday 2023_04_12. Graphics
  • Lab 03 Wednesday 2023_04_19. Simple Analyses
  • Lab 04 Wednesday 2023_04_26. Fitting Longitudinal Models
  • Lab 05 Wednesday 2023_05_03. Covariance Models
  • Lab 06 Wednesday 2023_05_10. Clustered Data
  • Lab 07 Wednesday 2023_05_17. Discrete Data
  • Lab 08 Wednesday 2023_05_24. Using SAS to fit covariance models
  • Lab 09 Wednesday 2023_05_31. Residuals (in SAS)
  • Lab 10 Wednesday 2023_05_07. No lab, informal office hour.

SAS Documentation