BookmarkSubscribeRSS Feed
haoduonge
Quartz | Level 8

Hi all,

I have to use counting process approach in survival analysis as one of the vars has >2 groups.

The format is below:

/* Counting Process Style of Input */model (T1,T2) * Status(0) = Treatment X1 X2 X3 X4 (Z1 Z2 Z3) (Y1 Y2 Y3);

X: time time-invarying vars

Z,Y: time-varying vars

And Treatment is binary time-varying covariate.

I am able to merge data of (Z) and (Y) as their (T1,T2) is aligned to each other.

Can you help with the code to merge data (Treatment) and (Z) when their (T1,T2) is not aligned to each other.

Thank you!

Hao

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
  • 0 replies
  • 508 views
  • 0 likes
  • 1 in conversation