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-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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.

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