140.656.01 - Fourth Term 2008
MULTILEVEL STATISTICAL MODELS IN PUBLIC HEALTH
Johns Hopkins Bloomberg School of Public Health

LABS
Note that the lab order and the lab documents are subject to change.

  1. Mon March 24, 2008: Review LDA Final Exam Solutions

  2. Wed March 26, 2008: Introduction to computing in Stata for Multilevel Modeling
    Shrinkage Example: NMMAPS (.pdf) .do

  3. Mon March 31, 2008: Linear Models with Random Intercepts/Coefficients, Popularity Data
    .pdf .do

  4. Wed April 2, 2008: Linear Model with Random Intercept, pefr data
    .pdf .do

  5. Mon April 7, 2008: Meta-analysis with 6 cities from NMMAPS
    .pdf .do .dta .xls
    Download files for the 'meta' command in Stata meta.ado (code for meta program), meta.hlp (meta help file), wait...what is an '.ado' file?

  6. Wed April 9, 2008: Growth Curve Models
    .pdf, .do

  7. Monday April 14, 2008: Review HW 1 Solutions

  8. Wednesday April 16, 2008: 3-level Normal
    .pdf .do

  9. Monday April 21, 2008: Q&A Midterm + Introduction to WinBUGS .pdf, .odc

  10. Wednesday April 23, 2008: WinBUGS lab .pdf
    NMMAPS .odc
    Hospital ranking .odc
    Growth curve model (random intercept) .odc
    Growth curve model (random intercept + slope) .odc

  11. Monday April 28, 2008: Two-Stage Logistic Models .pdf .do

  12. Wednesday April 30, 2008: Review Midterm Solutions

  13. Monday May 5, 2008: Review HW 2 Solutions

  14. Wednesday May 7, 2008: Three-Stage Logistic Models .pdf Supp.pdf .do (Updated with cross-level interaction)

  15. Monday May 12, 2008: Poisson Regression with Random Effects
    .pdf .do

  16. Wednesday May 14, 2008: Last Minute Q&A for Final Exam
    Interpretation Cheat Sheet











2006 Labs (In case you want to learn WinBUGS!)
  • First: Download WinBUGS [downloadingwinbugs.html]


    1. Introduction to multilevel modeling with STATA and WinBUGS [MS Word]

    2. Unknown variance and estimates of proportions [MS Word] [SAS supplement pdf]

    3. Fixed-effects and random-intercept linear and logistic regression [MS Word] [STATA files (.zip)]

    4. Extension of lab 3 to include random slopes [MS Word]

    5. Specifying models and unifying ideas about fitting 2-level models in STATA and WinBUGS [MS Word]

    6. Poisson regression in WinBUGS and STATA [MS Word]

    7. Review an example of a multilevel model fit using WinBUGS [MS Word] [article to discuss (.pdf)]