BookmarkSubscribeRSS Feed
RachelLee
Calcite | Level 5
Hi I’m new to SAS!
I want to make a restricted spline curve of dose-response using a table of radiation exposure and cancer.
I have a table with variables ‘person_id’ ‘dose’ ‘cancer’ ‘time’ ‘sex’ ‘age’.
‘dose’ and ‘cancer’ are numeric variables.
I want to use cox regression model and want a spline curve with x-axis dose, y-axis hazard ratio (for cancer).
Can anyone help me with it??:)
1 REPLY 1
sbxkoenk
SAS Super FREQ

Hello,

 

Do you have your PROC PHREG code already?

I think you can ask for this plot by one-or-another option.

 

I suspect your time and age variables need to be numeric as well (date, time and date-time variables in SAS are also numeric).

 

You might also want to look into PROC PROBIT :

It is mainly designed for dose-response analysis with a natural response rate. It computes the fiducial limits for the dose variable and provides various graphical displays for the analysis.

 

Good luck,
Koen

sas-innovate-white.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9.

 

Early bird rate extended! Save $200 when you sign up by March 31.

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 527 views
  • 0 likes
  • 2 in conversation