Programming the statistical procedures from SAS

Proc lifereg and phreg

Reply
Occasional Contributor
Posts: 15

Proc lifereg and phreg

Could someone please provide an example of SAS code for proc lifereg and proc phreg?

Grand Advisor
Posts: 16,850

Re: Proc lifereg and phreg

Anything wrong with the ones in the documentation?

Scroll down to see a section called Examples:

LIFEREG

SAS/STAT(R) 9.2 User's Guide, Second Edition

PHREG

SAS/STAT(R) 9.2 User's Guide, Second Edition

Here's how to access the data/programs used in the examples:

How to access any program or data set that appears in the SAS/STAT documentation - The DO Loop

And if that's not enough search "UCLA SAS Survival Analysis" via Google for more examples.

Ask a Question
Discussion stats
  • 1 reply
  • 185 views
  • 0 likes
  • 2 in conversation