TEST name (variables </ options>);
The TEST statement is required unless the INPVALUES= option is specified. The TEST statement identifies statistical tests to be performed and the discrete and continuous variables to be tested. Table 79.2 summarizes the names and options available in the TEST statement.
Table 79.2: TEST Statement Names and Options
Option 
Description 

TEST Names 

Requests the CochranArmitage linear trend tests for group comparisons 

Requests Fisher exact tests 

Requests Zscore CA tests based upon the FreemanTukey double arcsine transformation 

Requests the t test for the mean 

Requests the Peto mortalityprevalence test 

TEST Options 

Uses the binomial variance estimate for CA and Peto tests 

Specifies a continuity correction 

Specifies whether to use homogeneous or heterogeneous variances 

Makes all tests lowertailed 

Computes pvalues for the CA and Peto tests by using exact permutation distributions 

Identifies the Peto test variable containing the age at death 

Makes all tests uppertailed 
The following tests are permitted as name in the TEST statement.
If the value of a TEST variable is invalid, the observation is not used in the analysis. You can specify two tests only if one of them is MEAN . For example, the following statement is valid:
test ca(d1d2) mean(c1c2);
But specifying both CA and FT, as shown in the following statement, is invalid:
test ca(d1d2) ft(d1d2);
You can specify the following options in the TEST statement (some apply to only one test).