Image  Click on image to enlarge. 
Title  Mean (and Mean Difference) of ALT (Alanine Aminotransferase) by Treatment : Profile Over Time 
Graph_Subgroup  Labs Liver 
Labs_Liver_Clinical_Question 

Description 
This is a plot of the mean of one laboratory parameter, alanine aminotransferase (ALT) by treatment group over the time course of a trial. The xaxis represents the study week and it is important that the axis scale be uniformly separated (for instance in this graphic each tick mark space represents 2 weeks). The yaxis represents the mean value in the appropriate units for the lab parameter. Below the graph are both a legend indicating the treatment groups depicted on the graph and a legend indicating the at risk subject population by treatment group at each specific visit. Note that due to the uniform axis separation, and the visit schedule of the study, there may be blanks if there is no data for a specific visit. It is important to consider that if a color graph is not presented, the line styles will allow for distinction between treatment groups. Note that there are 4 versions of the graph represented. Figure 1 and Figure 2 are very similar and in fact, differ only in the number of treatments. Figure 3 plots the difference of the 2 active treatments in Figure 2 relative to placebo. This allows for an easier comparison visually and offers more effective confidence intervals (confidence intervals non including zero indicate significance). Figure 4 combines Figures 2&3 by plotting the Mean above the Mean Difference. Note: Due to the complexity of the code, some attributes that are recommended have not yet been incorporated. The following list of attributes are suggestive enhancements: • If error bars are consistently symmetric, then the removal of the lower half of the error bars would help to clarify the plot area. • The addition of a banded section or additional reference lines indicating the normal ranges (if applicable) is desirable. Note that on Figure 1, a banded region has been included as an example. However, the banded region in Figure 1 is only an example and does not accurately reflect the normal reference ranges for ALT. 
Contributor/Email  Robert Gordon (rgordon2@its.jnj.com) 
Additional_Contributor_Info 
Output and Code created by the SAS Institute on the following website: http://support.sas.com/sassamples/graphgallery/Health_and_Life_Sciences.html 
Background 
The original graphic which was the inspiration for this specific figure was created by the SAS Institute at the following website: http://support.sas.com/sassamples/graphgallery/Health_and_Life_Sciences.html The code for the ‘Median of Lipid Profile over Time’ graphic on the above website was adapted for use with the CDISC ADLBC (lab) dataset available on the CTSPedia Statistical Graphics Page. 
Keywords  Line plot, Liver Function Test, ALT, Mean 
References  http://support.sas.com/sassamples/graphgallery/Health_and_Life_Sciences.html 
Datasets 

CDISC_Data  ADLBC 
Data_Format 

CLASSIFICATIONS 

Graph_Type  Line Plot 
Variable_Relationship  Continuous versus Continuous 
Data_Types  Continuous 
Special_Considerations  The code would need to be customized in order to allow for additional treatment groups. Additionally, the above code creates an ‘at risk’ dataset. Optimally, the at risk numbers of subjects for each visit would be pulled directly in from a disposition dataset. 
Code_Available  Yes 
Software Program  SAS 
Software  SAS V9.2 
RCode  Attachment 

RCode 

SASCode  Attachment  Gordon  Mean Lab Provfle  SAS  Doc 
StataCode  Attachment 

StataCode 

Other Code  Attachment 

Other Code 

Disclaimer  The views expressed within CTSpedia are those of the author and must not be taken to represent policy or guidance on the behalf of any organization or institution with which the author is affiliated. 
Permission 
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF ERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT OLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 
Reference Image 