The TSCSREG Procedure |
TEST Statement |
The TEST statement performs F tests of linear hypotheses about the regression parameters in the preceding MODEL statement. Each equation specifies a linear hypothesis to be tested. All hypotheses in one TEST statement are tested jointly. Variable names in the equations must correspond to regressors in the preceding MODEL statement, and each name represents the coefficient of the corresponding regressor. The keyword INTERCEPT refers to the coefficient of the intercept.
The following statements illustrate the use of the TEST statement:
proc tscsreg; model y = x1 x2 x3; test x1 = 0, x2 * .5 + 2 * x3= 0; test_int: test intercept=0, x3 = 0;
Note that a test of the following form is not permitted:
test_bad: test x2 / 2 + 2 * x3= 0;
Do not use the division sign in test/restrict statements.
Copyright © SAS Institute, Inc. All Rights Reserved.