Chapter Contents 
Previous 
Next 
The SYSLIN Procedure 
You can test linear hypotheses about the model parameters with TEST and STEST statements. The TEST statement tests hypotheses about parameters in the equation specified by the preceding MODEL statement. The STEST statement tests hypotheses that relate parameters in different models.
For example, the following statements test the hypothesis that the price coefficient in the demand equation is equal to .015.
proc syslin data=in 3sls; endogenous p; instruments y u s; demand: model q = p y s; test_1: test p = .015; supply: model q = p u; run;
The TEST statement results are shown in Figure 19.10. This reports an Ftest for the hypothesis specified by the TEST statement. In this case the F statistic is 6.79 (3.879/.571) with 1 and 113 degrees of freedom. The pvalue for this F statistic is .0104, which indicates that the hypothesis tested is almost but not quite rejected at the .01 level. See the section "TEST Statement" for more information.
To test hypotheses involving parameters in different equations, use the STEST statement. Specify the parameters in the linear hypothesis as modellabel.regressorname. (If the MODEL statement does not have a label, you can use the dependent variable name as the label for the model, provided the dependent variable uniquely labels the model.)
For example, the following statements test the hypothesis that the income coefficient in the demand equation is .01 times the unit cost coefficient in the supply equation:
proc syslin data=in 3sls; endogenous p; instruments y u s; demand: model q = p y s; supply: model q = p u; stest1: stest demand.y = .01 * supply.u; run;
The STEST statement results are shown in Figure 19.11. The form and interpretation of the STEST statement results is like the TEST statement results. In this case, the Ftest produces a pvalue less than .0001, and strongly rejects the hypothesis tested. See the section "STEST Statement" for more information.

You can combine TEST and STEST statements with RESTRICT and SRESTRICT statements to perform hypothesis tests for restricted models. Of course, the validity of the TEST and STEST statement results will depend on the correctness of any restrictions you impose on the estimates.
Chapter Contents 
Previous 
Next 
Top 
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.