BookmarkSubscribeRSS Feed
Jas5
Fluorite | Level 6

Hi,

I need to get person-time and rate from my event time data. I can quickly get this in STATA with 'stptime' but not know what is the syntax in SAS. In STATA, I got person-time, number of failures and 95% CI.

Thanks

4 REPLIES 4
ballardw
Super User

Can you describe what "STPTIME" does or is???

JosvanderVelden
SAS Super FREQ
stptime calculates person-time and incidence rates. stptime computes standardized mortality/
morbidity ratios (SMRs) after merging the data with a suitable file of standard rates specified with
the using() option.

Full details here: https://www.stata.com/manuals/ststptime.pdf
StatDave
SAS Super FREQ

Standardization of rates and risks, including computation of SMRs, is available in PROC STDRATE.

Ksharp
Super User
Are you talking about time-to-event data?
Check PROC LIFETEST:

https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.3/statug/statug_lifetest_examples02.htm

sas-innovate-white.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9.

 

Save $200 when you sign up by March 14!

Register now!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 4 replies
  • 1200 views
  • 2 likes
  • 5 in conversation