BookmarkSubscribeRSS Feed
agiambrone
Calcite | Level 5

Hello!! I have a SAS/STATA question if anyone can help!! SAS considers you at risk for the event just before you have the event, but STATA considers you at risk at the time you have the event - WHY the difference?!?

Ashley

2 REPLIES 2
Doc_Duke
Rhodochrosite | Level 12

Ashley,

It's arbitrary.  The Cox Proportional Hazards Model is based on the assumption that time is a continuous variable and the hazard is a limit as delta-t approaches 0 ( SAS/STAT(R) 12.3 User's Guide ).  However, our ability to measure time is much more granular, so the software developers had to make a choice for the ATRISK table and the Stata and SAS folk made different choices.

If your data are more granular (e.g. time in days for disease survival), the estimates are nearly the same whichever way the developers chose.  If your data are less granular, you have lots of ties and the choice may have some impact on the estimates (an educated guess, I've not done a formal comparison of SAS and Stata).

Doc Muhlbaier

Duke

agiambrone
Calcite | Level 5

Thank you SO much!

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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