Biostat Macro Library

T-test summary

%Ttest resides in the departments SAS Macro Library and is enabled with the following SAS statements:

Libname biostat '\\BIO2\example\SASMacrosWindows';
Options Mstored SasMstore=biostat;

%Ttest produces a simple T-test report on a list of outcome varaibles by visit.

Syntax:
%Ttest(dataset,group,visit,varlist);
    dataset:     Dataset to use.
    group:       Class variable(Numeric) .
    visit:          Visit(Numeric).
    varlist:       List of variables to test(All Numeric).

Example:
%Ttest(work.A,Treatment,week,A B C D E);