PharmaSUG 2014 - Paper CC10
Automating the Number of Treatment Columns for a Dose Escalation Study
Catherine DeVerter, Novella Clinical, Morrisville, NC
Sonali Garg, Alexion Pharmaceuticals, Cheshire, CT
ABSTRACT
In dose escalation studies, there is the need to increase or decrease the number of treatment columns in table output
when a new treatment arm is added to the trial. If programs are not written to add the new columns dynamically, they
often need to be edited repeatedly. What if we can automate the number of columns to be displayed in the table
without having to go and edit the program?
This paper will show how SAS programmers can automate and control the number of columns in the table output
without having to change the PROC REPORT’s COLUMN and DEFINE statements again and again. The method
discussed in this paper will make use of the SQL procedure.
INTRODUCTION
In some early phase clinical trials (such as Phase I oncology), it is common to perform dose escalation studies to find
the most suitable dose for the drug being evaluated. Often a new dose is added as the trial progresses and outputting
all the columns for table output may turn into a nightmare if the change has to be done manually each time. To further
complicate things, sometimes the new dose is calculated as existing doses are evaluated (e.g., based on PK results),
so the exact doses evaluated in the trial may be not be known until statistical programming has already begun.
Macros can be written to have a treatment column outputted automatically for any new dose group that has been
entered into the clinical database so that TLF creation is automated.
DETERMINE TREATMENT VARIABLES WITH THE %TRTCOLS MACRO
The %TrtCols macro reads from the key subject level dataset (e.g., ADSL) to determine the different values that
currently exist for the treatment variable. The numeric treatment variable TRT01PN may be used, or any other
variable can be created that indicates the unique dose. For the purpose of this paper, we will use TRT01PN.
Table 1. Subject Level Dataset
The macro assumes that you have created a dataset called DENOM that has only one record and numeric variables
representing the N (i.e., number of subjects) of each treatment group. DENOM is a PROC FREQ of the treatment
variables of your subject level dataset that is then transposed with the new variables having a prefix of ‘COLUMN_’.
A variable for the overall total (or MTD/Maximum Tolerated Dose, if needed) can also be included. Table 2 displays
the DENOM dataset that results from the subject level dataset created for our example, restricted to subjects in the
ITT analysis population:
Table 2. DENOM Dataset
Note that DENOM contains one COLUMN_x variable for each value of TRT01PN along with COLUMN_99, which
represents the overall Total (i.e., All Subjects).