Type of Tool | SAS Macro |
Title | Effect Size Mixed |
Programmer/Email | RuiChen |
Contributing Site | Rochester |
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 | |
References | |
Datasets | |
Data | |
Software Program | SAS |
Software | SAS |
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 | |
R-Code | |
SAS-Code - Attachment | Rochester_Effect Size Mixed_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 | February 28, 2009 |
Revision-Date | |
Example Code | SAS Example Code |
Example Output | SAS Example Output |
SAS Examples | |
SAS_Example_Code | Rochester_Effect Size Mixed_SAS Code Example |
SAS_Example_Output | Rochester_Effect Size Mixed_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 | filename ESMixed URL "https://www.ctspedia.org/CTSpedia/EffectSizeMixed"; %include ESMixed; |
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 |
Notes3 | N/A |
Notes4-Legend | Section with definitions of local macro variables |
Notes4 | N/A |
See Also | Rochester_Effect Size Longitudinal_Main Macro |
Checklists | |
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. |
Reference Image |