Type of Tool | SAS Macro |
Title | A U C G E E |
Programmer/Email | YinglinXia, ArthurWatts |
Contributing Site | Rochester |
Description | This macro is designed to model the area under the curve (AUC) computed from multiple samples within each individual in a longitudinal data setting and compare the differences between two such AUCs while adjusting for covariates\x92 effects. The AUCGEE macro first computes the area under the curve (AUC) using the trapezoid formula, then uses the generalized equations estimating (GEE) approach implemented in SAS PROC GENMOD procedure to model the AUC difference between two treatment groups, adjusting for covariates\x92 effects. The least square means (covariate-adjusted group means) are also obtained from the GEE model and plotted along with the GEE output. The user can specify the output in a HTML, RTF or listing format. The macro assumes that the data has a longitudinal format with several visits (identified by the rows) and within each visit, the multiple outcomes (identified by the columns) represent the multiple samples such as cortisol levels at different time points collected from the same subject. |
Example | Example Code |
Classification Graph Type | |
References | |
Datasets | Other |
Data | Rochester_AUCGEE_Download Dataset |
Software Program | SAS |
Software | SAS |
Macro Parameters | The macro parameters are as follows: DSname =name of SAS data set DVar =name of response variable visit =name of visit variable group =name of treatment groups, which are dichotomized as treatment and control Endvisit =name of indicator of end visit point Ntimepoint =number of sample time points Nvalues =number of samples CovCat =name of categorical covariates CovCon =name of continuous covariates id =name of the variable for subject id type =type of working correlation matrix format =output format title =name of title |
R-Code - Attachment | |
R-Code | |
SAS-Code - Attachment | AUCGEE Main Macro |
SAS-Code | |
Stata-Code - Attachment | |
Stata-Code | |
Other Code - Attachment | |
Other Code | |
Called Data Manipulation | |
Called Tool/Utility | |
Called Checking Macro | |
Called Other | |
Creation-Date | |
Revision-Date | June 03, 2010 |
Example Code | SAS Example Code |
Example Output | SAS Example Output |
SAS Examples | |
SAS_Example_Code | Rochester_AUCGEE_SAS Example Code |
SAS_Example_Output | Rochester_AUCGEE_SAS Output as MHT Rochester_AUCGEE_SAS Example Output |
R Examples | |
R_Example_Code | |
R_Example_Output | |
Stats Examples | |
Special Features | |
Special Features Attached | |
Special Features Text | |
Notes1-Legend | Section with calls to needed macros |
Notes1 | |
Notes2-Legend | Macro call with fully specified parameters |
Notes2 | |
Notes3-Legend | Section with definitions of global macro parameters |
Notes3 | |
Notes4-Legend | Section with definitions of local macro variables |
Notes4 | |
See Also | |
Checklists | |
Stat Tools Disclaimer | This SAS macro is developed by Yinglin Xia and Art Watts, along with other members in the Department of Biostatistics and Computational Biology at the University of Rochester under the auspice of the CTSI BERD with the intent to facilitate data analyses and reporting in clinical and related research. It is copyrighted by Yinglin Xia and Art Watts, June, 2010 and distributed for free public access. |
Discliamer | 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 |