BookmarkSubscribeRSS Feed
kc
Quartz | Level 8 kc
Quartz | Level 8

Hello,

 

I am using the following recurrent event model (counting process style input) to plot cumulative mean frequency of multiple medication initiations. Just like patients in the study can initiate multiple medications during an observation period of 2 years, they can discontinue multiple medications as well. 

 

I have the following questions - 

1. If one wants to summarize the discontinuations  during the 2 year period, what is it that you are trying to answer - Is it similar to initiations? If so, how would the code below change?

2. If not, what are some of the relevant questions  wrt. this type of data.

 

I am not very familiar with the medication data, so any pointers be it papers/code/links would be helpful.

 

Thanks!

 

proc phreg data=meds covs(aggregate) covm;
class trt(ref='B');
model (TSTART, TSTOP)*STATUS(0) = trt / rl;
hazardratio "A vs. B" trt / diff=ref;
baseline covariates=covd out=outd cmf=_all_/nomean;
id subjid;
run;

 

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!

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
  • 0 replies
  • 861 views
  • 0 likes
  • 1 in conversation