{'fraction_non_alphanumeric': 0.02059202059202059, 'fraction_numerical': 0.007722007722007722, 'mean_word_length': 4.63768115942029, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
MWSUG 2003 A Macro Program for Displaying T -test Results

The Student's t-test is one of the most common statistical tests used to compare the means (or proportions) of two independent groups. However, the standard SAS® output from PROC TTEST proves to be cumbersome for identifying and displaying the most meaningful results. This paper illustrates the use of a macro program as a means to highlight the key statistical output from PROC TTEST. It can also serve as a model for customizing the output of most other SAS procedures. The intermediate SAS user should come away with a better appreciation of (1) the manipulation of ODS output objects to select and assess selected output fields and (2) the use of macros to automate the entire process to facilitate repeated runs.