|Type of Tool||SAS Macro|
|Title||Effect Size Mixed|
|Description|| This macro computes effect sizes for nested study designed data; it compares the group means between two treatment conditions with adjustment for clusters and fixed/random effect covariates and prints out effect size estimates for each of the endpoints if multiple outcome variables are included in the macro with same set of covariates.|
Effect size is defined as Cohen's D for comparing two treatment groups --- difference between two group means divided by the pooled standard deviation --- with the group means and variance estimated from an analysis of covariance (ANCOVA) model.
|Classification Graph Type|
|Macro Parameters|| MacroDir Directory where the results are saved.|
DSName Name of SAS data set.
Outcome Name of outcome variable.
Cluster Name of the variable to identify the cluster (e.g. ID, time, etc.)
Treatment Name of the variable to specify two cohorts.
NumFix Name of the fixed effect continuous covariates.
ClassFix Name of the fixed effect catigorical covariates.
NumRandom Name of the random effect continuous covariates.
ClassRandom Name of the random effect catigorical covariates
ResultsFormat rtf/htm (default = htm): Format of the results file.
|R-Code - Attachment|
|SAS-Code - Attachment||Rochester_Effect Size Mixed_Main Macro|
|Stata-Code - Attachment|
|Other Code - Attachment|
|Called Data Manipulation|
|Called Checking Macro|
|Creation-Date||February 28, 2009|
|Example Code||SAS Example Code|
|Example Output||SAS Example Output|
|SAS_Example_Code||Rochester_Effect Size Mixed_SAS Code Example|
|SAS_Example_Output||Rochester_Effect Size Mixed_SAS Example Output|
|Special Features Attached|
|Special Features Text|
|Notes1-Legend||Section with calls to needed macros|
|Notes1|| filename ESMixed URL "https://www.ctspedia.org/do/view/CTSpedia/EffectSizeMixed";|
|Notes2-Legend||Macro call with fully specified parameters|
|Notes2||%EffectSizeMixed(MacroDir=, DSName=, Outcome=, Cluster=, Treatment=, NumFix=, ClassFix=, NumRandom=, ClassRandom=, ResultsFormat=htm);|
|Notes3-Legend||Section with definitions of global macro parameters|
|Notes4-Legend||Section with definitions of local macro variables|
|See Also||Rochester_Effect Size Longitudinal_Main Macro|
|Stat Tools Disclaimer||This SAS macro is developed by Rui Chen and other members in the Department of Biostatistics and Computational Biology at the University of Rochester under the auspice of the CTSA BERD with the intent to facilitate data analyses and reporting in clinical and related research. It is copyrighted by Dr. Chen, Febuary, 2009 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.