
6 HYPOTHESES TESTING FOR TWO SAMPLES
In the output window, we find the appropriate test statistic and the corresponding
two-tailed P-value.
Test - Statistic - - - - - p Value - - - -
Sign M -3.5 Pr >= |M| 0.0654
Finally, we double-check that the SAS test statistic is indeed M −n/2 by comput-
ing 2 −11/2 = 2 −5.5 = −3.5, and calculate a single-tailed P-value= 0.0654/2 =
0.0327, as should be.
Example 1.3 A doctoral student in real estate management is interested in finding
out whether the distribution of home values in a certain residential area has shifted
over a two-year period. He acquires monthly house price indices for that area for two
consecutiv