The AUTOREG procedure supports a TEST statement for linear hypothesis tests. The syntax of the TEST statement is
The TEST statement tests hypotheses about the covariates in the model that are estimated by the preceding MODEL statement. The AR, GARCH, and HETERO parameters are also supported in the TEST statement when you specify the GARCH= option. Each equation specifies a linear hypothesis to be tested. If you specify more than one equation, separate them with commas.
Each test is written as a linear equation composed of constants and parameter names. Refer to parameters by the name of the corresponding regressor variable. Each name that is used in the equation must be a regressor in the preceding MODEL statement. Use the keyword INTERCEPT to refer to the intercept parameter in the model. For the names of these parameters, see the section OUTEST= Data Set.
You can specify the following options in the TEST statement:
The following example of a TEST statement tests the hypothesis that the coefficients of two regressors A and B are equal:
model y = a b c d; test a = b;
To test separate null hypotheses, use separate TEST statements. To test a joint hypothesis, specify the component hypotheses on the same TEST statement, separated by commas.
For example, consider the following linear model:
The following statements test the two hypotheses and :
model y = x1 x2; test intercept = 1; test x1 + x2 = 0;
The following statements test the joint hypothesis and :
model y = x1 x2; test intercept = 1, x1 + x2 = 0;
To illustrate the TYPE= option, consider the following examples.
model Y = C D I / garch=(q=2); test C + D = 1;
The preceding statements produce only one default test, the F test.
model Y = C D I / garch=(q=2); test C + D = 1 / type = LR;
The preceding statements produce one of four tests applicable for GARCH-type models, the likelihood ratio test.
model Y = C D I / nlag = 2; test C + D = 1 / type = LM;
The preceding statements produce the warning and do not output any test because the Lagrange multiplier test is not applicable for non-GARCH models.
model Y = C D I / nlag=2; test C + D = 1 / type = ALL;
The preceding statements produce all tests that are applicable for non-GARCH models (namely, the F and Wald tests). The TYPE= prefix is optional. Thus the test statement in the previous example could also have been written as:
test C + D = 1 / ALL;
The following example shows how to test AR, GARCH, and HETERO parameters:
model y = a b / nlag=2 garch=(p=2,q=3,mean=sqrt); hetero c d; test _A_1=0,_AH_2=0.2,_HET_2=1,_DELTA_=0.1;