A Complete Guide to Clinical SAS

This tutorial explains the important topics you need to learn to build a career in clinical SAS.

Clinical SAS Programming

What is Clinical SAS?

Clinical SAS is the use of the SAS programming language to manage, analyze and report clinical trial data. SAS is used in the clinical domain for the following tasks:

  1. Data Management : It can handle large datasets from different sources and formats.
  2. Statistical Analysis : SAS is used for statistical analyses such as descriptive statistics, regression analysis, survival analysis and analysis of variance (ANOVA) to analyze clinical trial data.
  3. Safety Reporting : It can generate safety reports and listings to monitor adverse events and safety data during the trial.
  4. SDTM (Standard Data Tabulation Model) Conversion : It can convert clinical trial data into a format used as a standardized data model for regulatory submission.
  5. ADaM (Analysis Data Model) Implementation : It can create ADaM datasets which are used for statistical analysis.
  6. Report Generation : It can prepare clinical trial reports which includes summaries of safety and efficacy (ISS/ISE), clinical study reports (CSRs) and other regulatory documents.
  7. Automation : SAS macros are created to automate repetitive tasks which leads to improvement in efficiency.

Clinical Trial

A clinical trial is a type of scientific study where researchers test the effectiveness and safety of different medical treatments on volunteers. It can be anything from vaccines, medical devices to screening methods.

Phases of Clinical Trials

Imagine a group of scientists has developed a potential new medicine to treat the flu. They have to follow the following phases of clinic trial to find out if the medicine is safe and effective.

Phase 0 (Microdosing Phase): Phase 1 (Human Pharmacology Trials): Phase 2 (Therapeutic and Exploratory Trials): Phase 3 (Therapeutic Confirmatory Trials): Phase 4 (Post-Marketing Surveillance):

Clinical Trial Study Design

Clinical trial study design is used to find out how the trial will be conducted, what data will be collected and how the results will be analyzed and interpreted. It is to check the safety, efficacy and effectiveness of a medical intervention or treatment. Following are some common types of clinical trial study designs.

CDISC Standards

CDISC is a worldwide non-profit organization responsible for creating data standards in the pharmaceutical industry. There are three distinct standard data models developed by CDISC specifically for regulatory submissions.

What is SDTM?

SDTM (Study Data Tabulation Model) is a standard for pharmaceutical companies to submit data to FDA (Food and Drug Administration). In other words, it is a widely accepted standard used to structure and present data in a consistent format when submitted to regulatory agencies. It also makes data sharing and comparisons easier. It standardizes variables like demographics, adverse events and medical history.

What is ADaM?

In clinical programming, ADaM stands for Analysis Data Model. It is an industry standard designed to structure data specifically for statistical analysis and reporting purposes.

Difference between STDM and ADaM

Important Documents for SDTM and ADaM

Below is a list of some important documents required for creating SDTM and ADaM.

Process Workflow

The work process starts with the Case Report Form (CRF) which is used to collect raw data from clinical trials conducted at various sites worldwide.

Once the CRF is ready and data is gathered, the clinical statistical programmer uses this data to create standardized groups of information called Study Data Tabulation Model (SDTM) domains. These domains organize the data in a consistent manner.

Later the clinical statistical programmer creates Analysis Data Model (ADaM) data sets from the SDTM domains to support the analysis of the clinical trial data. Then, the clinical statistical programmer generates the Tables, Figures and Listings (TFLs) that need to be included in the clinical study report submitted to regulatory authorities for assessing the safety and efficacy of the study drug.

Clinical SAS Programmer Process Workflow

Steps to Generate SDTM Datasets

Following are the steps to generate SDTM datasets from raw data.

Steps to Perform Survival Analysis

Survival analysis is the statistical technique commonly applied in the clinical domain. It analyzes the time it takes for an event of interest to occur such as time to death or time to a specific medical event. Following are the steps involved in performing survival analysis.

  1. Import Data: Load your data into SAS using PROC IMPORT. The data must include information about the event of interest (start and end time, event status) and any covariates (age, gender, treatment).
  2. Data Preparation: It includes data cleaning, handling missing values and transforming variables.
  3. Define the Event: The event could be anything like death, failure, relapse, etc. depending on the context of your study.
  4. Descriptive Analysis: Generate summary statistics and Kaplan-Meier survival curves to understand the overall survival experience of your sample.
  5. Survival Model Selection: Choose the appropriate survival model for your analysis. It includes the Kaplan-Meier estimator, Cox proportional hazards model or parametric survival models.
  6. Model Building: Using SAS procedures like PROC LIFETEST for non-parametric analysis, PROC PHREG for Cox proportional hazards models.
  7. Interpret the Results: Interpret the output generated by SAS procedure to understand the hazard ratios, survival curves. It is also important to calculate the effects of variables on survival.
  8. Report and Visualize Results: Present your results in a clear and concise manner that includes tables, graphs etc.

Career in Clinical SAS

There are several job roles within the Clinical SAS domain that includes Clinical SAS Programmer, Clinical Statistical Programmer, Biostatistician and Clinical Data Manager.

Skills for a Clinical SAS Programmer

Below are some of the important skills required for a Clinical SAS Programmer role.

Skills for a Biostatistician

Following is a list of the skills required for a Biostatistician.

Related Posts : 100+ SAS Tutorials: Step by Step Guide

Deepanshu Bhalla

About Author:

Deepanshu founded ListenData with a simple objective - Make analytics easy to understand and follow. He has over 10 years of experience in data science. During his tenure, he worked with global clients in various domains like Banking, Insurance, Private Equity, Telecom and HR.

While I love having friends who agree, I only learn from those who don't
Let's Get Connected Email LinkedIn