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

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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
  • 1444 views
  • 2 likes
  • 5 in conversation