Hi, I want to do the same approximately. Current code: ods graphics on; proc phreg data=splinedata ; effect lala=spline(log_lab/knotmethod=list(1 3 5)); model time*event(0)=lala; run; Anyone knows how to plot this? I want to plot on the y-axis HR, and a continuous variable on the x-axis. I'm using SAS 9.3. Anyone familiar with the %rcs_reg macro by Desquibet (Dose-response analyses using restricted cubic spline functions in public health research - Desquilbet - 2010 - Statistics in Medicine - Wiley Online Library)? Thanks! Tessa
... View more