BookmarkSubscribeRSS Feed
CamdenShawn
Calcite | Level 5

If I just have time-to-event measurements and all I want to do is estimate the parameters for the 2-parameter Weibull, how would I do that in SAS? Is there a built in program or do I need to code a program that goes through MLE estimation for each parameter?

 
1 REPLY 1
Rick_SAS
SAS Super FREQ

It sounds like you want to use PROC PHREG to fit a two-parameter Weibull model.

See the Getting Started example for PROC PHREG. as well as other examples in the doc

 

proc lifereg data=Have; 
model y = x / dist = Weibull;
run; 

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 782 views
  • 0 likes
  • 2 in conversation