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

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

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
  • 752 views
  • 0 likes
  • 2 in conversation