BookmarkSubscribeRSS Feed
Matyas
Fluorite | Level 6

Hi,

I am running the Cox model with random effect (simple random effect of study site) as follows:

proc phreg data=mydata;
  class study fixed_covariate; 
  model time*cnsr(1) = fixed_covariate;
  random study / solution;
  hazardratio fixed_covariate/diff=ref;
run;
	  

As part of results I got Type 3 Anova model table:

Matyas_0-1657636368865.png

I understand that fixed_covariate has no effect on survival, but may I say that there is a significant difference between study sites on survival? What does this adjusted p-value for random effect stand for?

 

Thanks for any advice.

1 REPLY 1
svh
Lapis Lazuli | Level 10 svh
Lapis Lazuli | Level 10
I think you can interpret that p value to mean that there is a statistically significant effect of the clustering variable in this shared frailty model. SAS does have a worked example of a similar type of analysis:

https://support.sas.com/documentation/cdl/en/statug/63962/HTML/default/viewer.htm#statug_phreg_sect0...

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
  • 1 reply
  • 1438 views
  • 0 likes
  • 2 in conversation