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: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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