Embed
Email

Day 7

Document Sample

Shared by: huanghengdong
Categories
Tags
Stats
views:
1
posted:
12/14/2011
language:
pages:
7
Day 7



Survival Analysis

CHD and coffee

• Is there an association between CHD and

coffee consumption?



• Outcome: Time to onset of CHD

Survival Data in Stata

• stset chdage chd



• Generally,

– stset failtime cens

– where cens = 0 if failure is NOT observed

Kaplan Meier Survival Curves

• sts graph

• sts graph, noorigin yasis atrisk

• sts graph, noorigin censored(multiple)



• sts graph, by(cafe)

yline(0.70,0.80,0.90,1)

• sts graph, by(cafe) noorigin cens(mult)

Testing Equality of Survival

Curves

• Logrank Test



– sts test cafe

– sts test cholcat

– sts test cholcat2





• Wilcoxon

– sts test café, wilco

Listing Survival Statistics



• sts list



• sts list, by(cafe) compare

Cox Proportional Hazards Model

• Gives “relative risk,” defined as hazard ratio

• E.g., tells increased risk for coffee drinkers

for any given age.



– stcox cafe

– stcox cholcat2





– stcox cafe cholcat2 basesmoke



Related docs
Other docs by huanghengdong
2012_Vendor_Form_Wedding_Expo
Views: 0  |  Downloads: 0
SCOPE 1 GP letter v2.0 12Mar2007
Views: 0  |  Downloads: 0
Boston_immigration_records
Views: 2  |  Downloads: 0
PSC MATRIX of achievement 080709
Views: 0  |  Downloads: 0
Summary - CIRCA
Views: 0  |  Downloads: 0
ieee_wiley_ebooks_library_customer_title_list
Views: 0  |  Downloads: 0
2009-2010_ACC0044_fishers_772_07-dec-2009
Views: 1  |  Downloads: 0
FSP20111216-EN
Views: 0  |  Downloads: 0
Workshops
Views: 0  |  Downloads: 0
By registering with docstoc.com you agree to our
privacy policy

You are almost ready to download!

You are almost ready to download!