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

Special offer for SAS Communities members

Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.

 

View the full agenda.

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