BookmarkSubscribeRSS Feed
dac_js
Quartz | Level 8

I have the following data:

 

data have;
input
ID Dose Days Event Age;
datalines;
1 1 10 1 35
2 1 40 0 35
2 2 55 0 25
2 3 23 1 67
3 1 20 0 34
3 2 35 0 34
3 3 15 1 25
4 1 40 0 53
4 2 55 1 53
;
run;

 

Here, dose variable changes with time. Days is the duration an individual stays alive (or die at the end of period) at a certain dose level. If the individual does not die, the dose is increased (1 to 2 or 2 to 3). Event variable shows when an event (death = 1) occurred. This can be at the end of any dosing period.

 

Is there any way to run a cox model where dose is the exposure of interest and age is a covariate?

1 REPLY 1
svh
Lapis Lazuli | Level 10 svh
Lapis Lazuli | Level 10
Have you looked into using the counting process when you have data with more than one row per subject? Look at p. 2595 of the documentation: http://www.math.wpi.edu/saspdf/stat/chap49.pdf

Using the counting process would involve change the structure of your data somewhat to be able to write the model statement (that is, you need to specify the beginning and end points of the interval).

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 16. Read more here about why you should contribute and what is in it for you!

Submit your idea!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

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