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

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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