Biostat Lab Section PROC LIFETESTPHREG - PowerPoint PPT Presentation

1 / 9
About This Presentation
Title:

Biostat Lab Section PROC LIFETESTPHREG

Description:

MODEL response *censor(list) = variables /options ; BY variables ; FREQ variable ; ... Censored observations are denoted with a ' ' sign. ... – PowerPoint PPT presentation

Number of Views:44
Avg rating:3.0/5.0
Slides: 10
Provided by: carr133
Category:

less

Transcript and Presenter's Notes

Title: Biostat Lab Section PROC LIFETESTPHREG


1
Biostat Lab Section PROC LIFETEST/PHREG
  • Yu-Fen Li

2
Survival Analysis
  • Survival data often consists of a response
    variable that measures the duration of time until
    a specified event occurs and a set of independent
    variables thought to be associated with the
    event-time variable.

3
SAS procedures for analyzing survival data
  • PROC LIFETEST is a nonparametric procedure for
    estimating the survivor function, comparing the
    underlying survival curves of two or more
    samples, and testing the association of survival
    time with other variables.
  • PROC PHREG is a semiparametric procedure that
    fits the Cox proportional hazards model.

4
SyntaxPROC LIFETEST
  • PROC LIFETEST lt options gt
  • TIME variable lt censor(list) gt
  • BY variables
  • FREQ variable
  • STRATA variable lt (list) gt

5
DATA EXAMPLE
  • DATA myel
  • INPUT dur status treat
  • CARDS
  • 8 1 1
  • 452 1 1
  • 2240 1 2
  • 328 1 1
  • 1296 1 2
  • 1868 1 2

6
DATA EXAMPLE
  • PROC LIFETEST DATAmyel PLOTS(S) GRAPHICS
  • TIME durstatus(0)
  • STRATA treat
  • RUN

7
SyntaxPROC PHREG
  • PROC PHREG lt options gt
  • MODEL response lt censor(list) gt variables lt
    /options gt
  • BY variables
  • FREQ variable
  • STRATA variable lt (list) gt
  • RUN

8
Assignment 1
  • The following are the survival time (months)
    after a certain infection of 10 patients
  • 0.5 1 1 1 2 5 8 9 10 12
  • Censored observations are denoted with a
    sign. Please use the method of product limit to
    construct the survival curve.

9
Assignment 2
  • If the age of 10 patients was available as
  • 60 54 50 25 30 42 28 38 20 23
  • (in the same order as Assignment 1 )
  • Please find the hazard ratio of getting one year
    older.
Write a Comment
User Comments (0)
About PowerShow.com