Home

Research

Teaching

Presentations

Publications

Links


CMDA
(passwd required)

Diet/Trt/Time Experiment
(passwd required)

Irr/Carc/Time Experiment
(passwd required)


EPI-204-SPRING 2007
EPI 204 -- (4 units) -- CRN 38014 -- M 3:10-5:00PM, Th 2:10-4PM--2020 Valley

Contact information
Instructor: Danh Nguyen, Ph.D.
Office: MS1C RM 149
Office hours: Mon 2-3, Wed 3-4, Fri 12-2 (and by appointment)
Email: ucdnguyen@ucdavis.edu

TA: Hye-Youn Park
Office hours: Tue 10:30-12:30 (and by appointment)
Office: outside MS1C #152

Course syllabus: [PDF]

Lecture Week Monday Thursday HW
0 -- 03/29: p.01-12 --
1 04/02: p.13-18 04/05: p.19-49 hw1
2 04/09: p.50-72 04/12: p.73-88 hw2 solution
3 04/16: p.89-113 04/19: p.114-134 --
4 04/23: p.135-165 04/26: p.166-175 -
5 04/30: p.176-194 MT Exam (05/03) hw3
6 5/7: Multinomial LR model for categorical outcome 5/10: LR models for ordinal outcome: adjacent-category, continuation-ratio, proportional odds (cummulative logits) LR models; Lab --
7 5/14: Lab on Mult. LR & PO LR; Poisson regression 5/17: Poisson reg.; Intro. survival analysis hw4 data columns: Unit, BED, TDAYS, PCREV, NSAL, FEXP, RURAL solution codes codes:diagnostics
8 5/21: Discussion of RR and OR; Lab/Lec. Intro. survival analysis; Kaplan-Meier 5/24: KM; Log-rank test for 2 and > 2 groups; Cox PH regression --
9 5/28: Holiday; Class meets Wed 5/30 3-5pm; Cox PH regression 5/31: Cox PH regression; PH assumption hw5 data code book SAS code to read data due 6/12
10 6/4: Last class; Stratified Cox model; Extended Cox model for time-dependent covariates; Population interpretation of survival measures -- --
11 -- Final Exam: Thu 6/14 2-4pm in RM 2013 Valley --


Files for Week of Monday 05.28.07:
KM, Log-rank test, and Cox PH Regression
SAS code: PHREG sas code [phreg_sas.txt]
SAS code: PHREG & adjusted survival curves sas code [phreg_surv_curve_sas.txt]
R code: KM R [km_example.txt]
R code: KM, Log-rank test Log-rank test [logrank.pdf]

Files for Week of Monday 05.14.07:
Poisson Regression
SAS code: sas code [poisson_sas.txt]
SAS output *.lst file: output (lst) file

Files for Week of Monday 05.07.07:
A. Multinomial LR
Data: ME data [meexpdat.txt]
Data Description: data description [meexpdocs.txt]
SAS code: sas code [meexp_sas.txt]
SAS output *.log file: log file
SAS output *.lst file: output (lst) file

B. Proportional odds LR
Data: see low birth weight data
Data Description: see low birth weight data
SAS code: sas code [po_sas.txt]
SAS output *.log file: log file
SAS output *.lst file: output (lst) file

Files for Week of Monday 04.30.07:
Data: low birth weight 1:1 matched data [lowbwt11data.txt]
Data Description: data description [lowbwt11docs.txt]
SAS code: sas code [lbw_matched_1_1_sas.txt]
SAS output *.log file: log file
SAS output *.lst file: output (lst) file
SAS handout 1 SAS output/handout for class [PDF]
R script: R script [Rscript_CLR.txt]


Files for Week of Monday 04.26.07:
Data and description: same low birthweight data and description below.

SAS codes for LR diagnostics
SAS code: sas code [lbw_plots_sas.txt]


Files for Week of Monday 04.16.07:
Data and description: same low birthweight data and description below.

A. SAS codes and output for using contrast statements for hypothesis testing:
SAS code: sas code [lbw_constrast_sas.txt]
SAS output *.log file: log file
SAS output *.lst file: output (lst) file
SAS handout 2 SAS output/handout for class
R script: R script [Rscript_LRcontrast.txt]

B. SAS codes and output using forward and stepwise selection :
SAS code: sas code [lbw_selection_sas.txt]
SAS output *.log file: log file
SAS output *.lst file: output (lst) file
R script: R script [Rscript_LRselection.txt]


Files for Week of Monday 04.09.07:
Data: low birthweight data [lowbwdata2.txt]
Data Description: data description [lowbwt_data_desc.txt]
SAS code: sas code [lbw_sas.txt]
SAS output *.log file: log file
SAS output *.lst file: output (lst) file
SAS handout 1 SAS output/handout for class
R script: R script [Rscript_LR.txt]


Files for Week of Monday 04.02.07:
Data: birthweight-pcb data [bw.txt]
Data Description: data description [bw_data_desc.txt]
SAS code: sas code [read_data_sas.txt]
SAS output *.log file: log file
SAS output *.lst file: output (lst) file
R script: R script [Rscript_intro.txt]


Data for HW2:
Data: ICU data [icudata2.txt]
Data Description: data description [icu_data_desc.txt]




Computing resources/manuals:
SAS User's guide to:
PROC LOGISTIC Chap.39
PROC GLM Chap.30
PROC PHREG Chap.49
PROC MIXED Chap.41

R Software
R website. Manuals, software downloads (for Windows, MAC, Linux, Unix etc.)

Some Links for SAS and R plots
SAS plot examples
Intro to R plots
More R plots
and lots more