Type of Tool | SAS Macro |
Title | MIXED TEST ICC |
Programmer/Email | Yinglin Xia |
Contributing Site | Rochester |
Description | Rochester_ MIXED_TEST_ICC is a macro that uses SAS PROC MIXED procedure to calculate the intraclass correlation (ICC) and then test the significance of the ICC. The ICC is calculated by the equation: ICC = (MSB - MSW)/( MSB + (k-1) MSW, where MSB is the mean squared error between the groups, MSW is the mean squared error within the groups and k is the number of subjects in each group. The significance of the ICC is tested using the equation: Fg-1,g(k-1) = [1 + (k-1)ICC]/(1 \x96 ICC), where g is the number of groups (e.g., raters) and k is the number of subjects within each group. |
Example | Example code |
Classification Graph Type | |
References | McGraw, K. O, and Wong, S. P. (1996). Forming Inferences about Some Intraclass Correlation Coefficients. Psychological Methods, Vol. l, No. 1, 30-46. |
Datasets | Other |
Data | Simulated Dataset |
Software Program | SAS |
Software | SAS Software SAS V9.2 or 9.3 |
Macro Parameters | DSName = name of a SAS dataset DepVar = name of dependent variable grp = name of the variable identifying the group, or raters subj = name of the variable identifying the subjects OutForm = when left empty, results will be shown in listing format under SAS 9.2, and HTML format under SAS 9.3 in the output window screen. When set to HTML, PDF, or RTF, html, pdf, or rtf format will be created. |
R-Code - Attachment | |
R-Code | |
SAS-Code - Attachment | Rochester_Mixed Test ICC_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 | |
Example Code | SAS Example Code |
Example Output | SAS Example Output |
SAS Examples | |
SAS_Example_Code | Rochsester_Mixed Test ICC_Example Code.sas |
SAS_Example_Output | Rochester_ Mixed Test ICC_Example Output.pdf |
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 | The development of this macro was supported in part by CTSI pilot grant from the University of Rochester. |
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 |