BookmarkSubscribeRSS Feed
reb
Calcite | Level 5 reb
Calcite | Level 5
Hi All,

I'm using PHREG to model some data.

so the usual: model time*censored(0) = A B A*B

The PH assumptions are fine for A and B independantly, but are violated for A*B (i have to uset he Hazardratio statement to get HRs for A*B)

My problem is that A and B are categorical not continuous so transforming them is not an option.

Any ideas on how to proceed from here????
2 REPLIES 2
Doc_Duke
Rhodochrosite | Level 12
Depending on the context, you could stratify on A and then have just B A*B in the model. We have had to do that on occasion when the treatment group (A) did not meet PH. You'll still need to look at A*B for PH, but it may finess the problem.

Also, some violations of PH just make the test more conservative. If so, and A*B may still be a useful test and estimand.
reb
Calcite | Level 5 reb
Calcite | Level 5
Thanks. I'll look into that.

A is infection status (control/infected) and B is time in study (early/late) A and B dont make sense if considered alone in this model so it is the interaction that is most important - this ends up comparing control/infected early in study and control/infected late, so stratifying on time in study (B) is feasible. Will that work even though i have a clustering factor of farm (so an ID Farm statement) in the model?

I hadnt considered that some PH assumptions make the test more conservative. How would i know if this is the case with this violation? Message was edited by: reb

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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