140.656.01 - Fourth Term 2009
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 23, 2009: Review LDA with final exam solutions
    No lab today. Review of LDA Final to take place March 25th.
    Guideline to LDA 2009 Final Solutions [pdf]


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

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

  4. Wed April 1, 2009: Linear Model with Random Intercept, pefr data
    .pdf .do

  5. Wed April 8, 2009: Meta-analysis with 6 cities from NMMAPS .pdf .do .csv
    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 8, 2009: Growth Curve Models .pdf, .do

  7. Monday April 13, 2009: Review HW 1 Solutions [.pdf], [.do]

  8. Wednesday April 15, 2009: 3-level Normal .pdf .do

  9. Monday April 20, 2009: Q&A Midterm + Introduction to WinBUGS .pdf, .odc Casella's Intro to Emp. Bayes WinBUGSfromStata

  10. (to be held on April 20th as well): WinBUGS lab .pdf
    NMMAPS .odc
    Hospital ranking .odc
    Growth curve model (random intercept) .odc
    Growth curve model (random intercept + slope) .odc
    Nested indexing in WinBUGS vignette (random intercept + slope) .xls

  11. Monday April 27, 2009: Review Midterm Solutions

  12. Wednesday April 29, 2009: Two-Stage Logistic Models .pdf .do

  13. Monday May 4, 2009: Review HW 2 Solutions

  14. Wednesday May 6, 2009: Three-Stage Logistic Models .pdf Supp.pdf .do [Updated 05/07/2009]

  15. Monday May 11, 2009: Poisson Regression with Random Effects .pdf [Updated 05/08/2009]
    .do

  16. Wednesday May 13, 2009: 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)]