RTI uses cookies to offer you the best experience online. By clicking “accept” on this website, you opt in and you agree to the use of cookies. If you would like to know more about how RTI uses cookies and how to manage them please view our Privacy Policy here. You can “opt out” or change your mind by visiting: http://optout.aboutads.info/. Click “accept” to agree.
Patient-reported outcome (PRO) studies often require correlation analyses using multiple variable types. Producing tables that contain Pearson, polychoric, and polyserial correlations for ordinal and categorical variables is challenging in Base SAS®. This paper introduces a SAS macro called %PROCORR that routes variables to the appropriate correlation computation. The macro also identifies the appropriate output statistics for each type of correlation and creates a report-ready table. The analyses and output discussed were created with Base SAS Version 9.2 software and apply to analysts with macro experience.