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 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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