BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
KalaBhairava
Quartz | Level 8

Hi All,

 

Can any one explain easily understanding  way to do Shift table.

1 ACCEPTED SOLUTION

Accepted Solutions
Jianmin
Obsidian | Level 7

Hi Kurt, I'm late to replay and I hope by now you have figured it out about the shift table.  Here is a link how others talk about shift table: https://www.lexjansen.com/cgi-bin/saspapers_query.php title search for "shift table". 

Shift table is important only because it was not easy to get for some important parameters in clinical trials.  We have done change from Baseline for continuous variables all the time, but for a very long time people haven't figure it out that we can do the same for categorical variables as we did for continuous variables.  In the case of 4 possible categorical outcomes, a 4 by 4 table (shift table) is used to present the result.  It takes a lot of space, and most of those 16 cells have no values. A little bit more complicated when you compare tables.  A simplified and short-handed shift table is proposed.  See the attached. 

 

Best Regards

Jianmin Long

PS: the data in the attached is openly available on https://www.cdisc.org/sdtmadam-pilot-project

 

View solution in original post

7 REPLIES 7
KalaBhairava
Quartz | Level 8

Shift table for Physical examination in clinical trails. 

KalaBhairava
Quartz | Level 8
Shift tables are very important in clinical trial studies. A shift table is a table that displays the number of
subjects who are low, normal or high at baseline and the shift at post-dose.
Kurt_Bremser
Super User

@KalaBhairava wrote:
Shift tables are very important in clinical trial studies. A shift table is a table that displays the number of
subjects who are low, normal or high at baseline and the shift at post-dose.

So you need to do a certain transformation of the data in a single table.

If you provide some usable example data (data step with datalines), and the expected outcome, I can tinker around with it.

Jianmin
Obsidian | Level 7

Hi Kurt, I'm late to replay and I hope by now you have figured it out about the shift table.  Here is a link how others talk about shift table: https://www.lexjansen.com/cgi-bin/saspapers_query.php title search for "shift table". 

Shift table is important only because it was not easy to get for some important parameters in clinical trials.  We have done change from Baseline for continuous variables all the time, but for a very long time people haven't figure it out that we can do the same for categorical variables as we did for continuous variables.  In the case of 4 possible categorical outcomes, a 4 by 4 table (shift table) is used to present the result.  It takes a lot of space, and most of those 16 cells have no values. A little bit more complicated when you compare tables.  A simplified and short-handed shift table is proposed.  See the attached. 

 

Best Regards

Jianmin Long

PS: the data in the attached is openly available on https://www.cdisc.org/sdtmadam-pilot-project

 

RW9
Diamond | Level 26 RW9
Diamond | Level 26

I assume your following CDISC models?  If so then its just a matter of merging on baseline record to all post-baseline records, then reporting this to a table.  So your data would look like:

USUBJID  ...  ANRIND    BNRIND

xxx                 LOW         HIGH

xxx                 NORMAL  HIGH

 

Then its a matter of processing that information into the output shell you have.  Unfortunately, exact code and such like is company IP, so you will need to do this yourself, using your company standards, shells, macros.

 

KalaBhairava
Quartz | Level 8

Yes thanks for replay and i need clarification on how to start procedures not code because i am new to this shift tables. 

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!

Health and Life Sciences Learning

 

Need courses to help you with SAS Life Sciences Analytics Framework, SAS Health Cohort Builder, or other topics? Check out the Health and Life Sciences learning path for all of the offerings.

LEARN MORE

Discussion stats
  • 7 replies
  • 6458 views
  • 1 like
  • 4 in conversation