BookmarkSubscribeRSS Feed
ambadi007
Quartz | Level 8

i have a new requirement to create an AE table in that the counts are 

 

NE- Number of events 

 

PY =Patient years.

 the requirements are 

If event – person time ends when the event occurred

If no event, person time is the entire study time for that patient

 

Please help on this 

3 REPLIES 3
ambadi007
Quartz | Level 8

Dear Team,

Iam creating a table and the table needs to show nE/100PY calculations , below is the requirement 

 

1.If event – person time ends when the event occurred

2.If no event, person time is the entire study time for that patient

 if event i am calculating ASTDT-TRTSDT 

and if no event ( no AEs) those patients we need to create from ADSL RFENDT - RFSTDT

 

 how to proceed with this ,is there any macro available 

 

 

PaigeMiller
Diamond | Level 26

DUPLICATE THREAD 

Reply at https://communities.sas.com/t5/SAS-Programming/need-to-calculate-ne-PY-and-ne-100py/m-p/970966#M3772...

 

Update: the two threads have been merged into this thread you are reading right now.

--
Paige Miller
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
  • 3 replies
  • 426 views
  • 0 likes
  • 3 in conversation