BookmarkSubscribeRSS Feed
skk_2011
Calcite | Level 5

how to compare the retention of 2 drugs, data is like:

Drug      week1    week2    week3 ...............................week20

drugA     100         82          55                                        26

drugB     810        580         460                                     312 

The numbers are the patient count who keep using the the drug starting week1.

question: retention statistically significant?

Thanks.

1 REPLY 1
Doc_Duke
Rhodochrosite | Level 12

I don't think that you can test that hypothesis with these data.  Since this is aggregate data, each data element can represent some fo the same and different people from the previous column.  For instance, drugB shows somewhere between 80 and 230 people were taking the drug on Week3 who were not taking it on week 2.

With some severly simplifying assumptions, you could do a test, but I am not sure how much trust you could put into it. 

If you forced the data to be monotonically non-increasing, you could assume that each person took the drug until they stopped and generate a duration for each person.  Then you would have a total of 910 records (100+810) and could do a test (e.g. Wilcoxon).  However, it appears that you have people going on and off and on the drugs from week to week and that assumption is likely unfounded. 

Alternatively, you could assume that the likelihood of taking a drug on any given week is independent of any other week (within a person) and apply a time series analysis.  That assumption is generally false in the medication adherence studies.

Doc Muhlbaier

Duke

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

New Learning Events in April

 

Join us for two new fee-based courses: Administrative Healthcare Data and SAS via Live Web Monday-Thursday, April 24-27 from 1:00 to 4:30 PM ET each day. And Administrative Healthcare Data and SAS: Hands-On Programming Workshop via Live Web on Friday, April 28 from 9:00 AM to 5:00 PM ET.

LEARN MORE

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