MODEL <"string"> response = regressors </ options>;
The MODEL statement specifies the regression model, the error structure that is assumed for the regression residuals, and the estimation technique to be used. The response variable (response) on the left side of the equal sign is regressed on the independent variables (regressors), which are listed after the equal sign. You can specify any number of MODEL statements. For each MODEL statement, you can specify only one response.
You can label models. Model labels are used in the printed output to identify the results for different models. If you do not specify a label, the model is referred to by numerical order wherever necessary. You can label the models in two ways:
First, you can prefix the MODEL statement by a label followed by a colon. For example:
label: MODEL …;
Second, you can add a quoted string after the MODEL keyword. For example:
MODEL "label" …;
Quoted-string labels are preferable because they allow spaces and special characters and because these labels are case-sensitive. If you specify both types of label, PROC PANEL uses the quoted string.
The MODEL statement supports a multitude of options, some more specific than others. Table 2 summarizes the options available in the MODEL statement. These are subsequently discussed in detail in the order in which the table presents them.
Table 2: Summary of MODEL Statement Options
| Option | Description |
|---|---|
| Estimation Technique Options | |
| AMACURDY | Fits a one-way model by using the Amemiya-MaCurdy estimator |
| BTWNG | Fits the between-groups model |
| BTWNT | Fits the between-time-periods model |
| DASILVA | Fits a moving average model by using the Da Silva method |
| DYNDIFF | Fits a dynamic panel model by using GMM on the difference equations |
| DYNSYS | Fits a dynamic panel model by using system GMM |
| FDONE | Fits a one-way model by using first-difference models |
| FDONETIME | Fits a one-way model for time effects by using first-differenced methods |
| FDTWO | Fits a two-way model by using first-difference models |
| FIXONE | Fits a one-way fixed-effects model |
| FIXONETIME | Fits a one-way fixed-effects model for time effects |
| FIXTWO | Fits a two-way fixed-effects model |
| HTAYLOR | Fits a one-way model by using the Hausman-Taylor estimator |
| PARKS | Fits an autoregressive model by using the Parks method |
| POOLED | Fits the pooled regression model |
| RANONE | Fits a one-way random-effects model |
| RANTWO | Fits a two-way random-effects model |
| Estimation Control Options | |
| M= | Specifies the moving average order |
| NOESTIM | Limits estimation to only transforming the data |
| NOINT | Suppresses the intercept |
| SINGULAR= | Specifies a matrix inverse singularity criterion |
| VCOMP= | Specifies the type of variance component estimation for random-effects estimation |
| Dynamic Panel Estimation Control Options | |
| ARTEST= | Specifies the maximum order of the autoregression (AR) test |
| ATOL= | Specifies the convergence criterion of iterated GMM, with respect to the weighting matrix |
| BIASCORRECTED | Requests bias-corrected variances for two-step GMM |
| BTOL= | Specifies the convergence criterion of iterated GMM, with respect to the parameter matrix |
| DLAGS= | Specifies the number of dependent variables to be used as regressors |
| GINV= | Specifies the type of generalized matrix inverse |
| GMM1 | Estimates by one-step GMM, the default |
| GMM2 | Estimates by two-step GMM |
| ITGMM | Estimates by iterative GMM |
| MAXITER= | Specifies the maximum iterations for iterative GMM |
| ROBUST | Specifies the robust covariance matrix |
| TIME | Includes time dummy variables in the model |
| Alternative Variances Options | |
| CLUSTER | Corrects covariance for intracluster correlation |
| HAC(options) | Specifies a heteroscedasticity- and autocorrelation-consistent (HAC) covariance |
| HCCME= | Specifies a heteroscedasticity-corrected covariance matrix estimator (HCCME) |
| NEWEYWEST(options) | Specifies the Newey-West covariance, a special case of the HAC covariance |
| Unit Root Test Options | |
| UROOTTEST(test-options) | Requests one or more panel data unit root and stationarity tests; specify test-options ALL through lLC within this option. |
| STATIONARITY(test-options) | Synonym for the UROOTTEST option |
| ALL | Requests that all unit root tests be performed |
| BREITUNG(options) | Specifies Breitung’s tests that are robust to cross-sectional dependence |
| COMBINATION(options) | Specifies one or more unit root tests that combine over all cross sections |
| FISHER(options) | Synonym for the COMBINATION option |
| HADRI(options) | Specifies Hadri’s (2000) stationarity test |
| HT | Specifies the Harris and Tzavalis (1999) panel unit root test |
| IPS(options) | Specifies the Im, Pesaran, and Shin (2003) panel unit root test |
| LLC(options) | Specifies the Levin, Lin, and Chu (2002) panel unit root test |
| Model Specification Test Options | |
| BFN | Requests the |
| BL91 | Requests the Baltagi and Li (1991) Lagrange multiplier (LM) test for serial correlation and random effects |
| BL95 | Requests the Baltagi and Li (1995) LM test for first-order correlation under fixed effects |
| BP | Requests the Breusch-Pagan one-way test for random effects |
| BP2 | Requests the Breusch-Pagan two-way test for random effects |
| BSY | Requests the Bera, Sosa Escudero, and Yoon modified Rao’s score test |
| BW | Requests the Berenblut-Webb statistic for serial correlation under fixed effects |
| CDTEST(options) | Requests a battery of cross-sectional dependence tests |
| DW | Requests the Durbin-Watson statistic for serial correlation under fixed effects |
| GHM | Requests the Gourieroux, Holly, and Monfort test for two-way random effects |
| HONDA | Requests the Honda one-way test for random effects |
| HONDA2 | Requests the Honda two-way test for random effects |
| KW | Requests the King and Wu two-way test for random effects |
| POOLTEST | Requests poolability tests for one-way fixed effects and pooled models |
| WOOLDRIDGE02 | Requests the Wooldridge (2002) test for unobserved effects |
| Printed Output Options | |
| CORR | Prints the parameter correlation matrix |
| CORRB | Synonym for the CORR option |
| COVB | Prints the parameter covariance matrix |
| ITPRINT | Prints the iteration history |
| NOPRINT | Suppresses normally printed output |
| PHI | Prints the |
| PRINTFIXED | Estimates and prints the fixed effects |
| RHO | Prints the autocorrelation coefficients for the Parks method |
| VAR | Synonym for the COVB option |
You can specify the following options in the MODEL statement after a slash (/).
Estimation technique options specify the assumed error structure and estimation method. You can specify more than one option, in which case the analysis is repeated for each. The default is RANTWO (two-way random effects).
All estimation methods are described in the section Details: PANEL Procedure and its subsections.
Estimation control options define parameters that control the estimation and can be specific to the chosen technique (for example, how to estimate variance components in a random-effects model).
Dynamic panel estimation control options are specific to dynamic panels, where the estimation technique is specified as DYNDIFF or DYNSYS. For more information, see the section Dynamic Panel Estimation (DYNDIFF and DYNSYS Options).
Alternative variance options specify variance estimation other than conventional model-based variance estimation. They include the robust, cluster robust, HAC, HCCME, and Newey-West techniques.
Unit root test options request unit root tests on the dependent variable. You begin with the UROOTTEST (or its synonym, STATIONARITY) option and specify everything else within parentheses after the UROOTTEST (or STATIONARITY) keyword. The BREITUNG, COMBINATION (or FISHER), HADRI, HT, IPS, and LLC options produce the corresponding tests. You can request them all by specifying the ALL option.
Consider the following example, which requests two tests (LLC and BREITUNG options) on the dependent variable:
proc panel data=A;
id i t;
model y = x1 x2 x3 / unitroot(llc(kernel = parzen lag = aic),
breitung(lag = gs)
maxlag = 2
kernel = bartlett);
run;
For the LLC test, the lag order is selected by AIC with maximum lag order 2, and the kernel is specified as Parzen (overriding Bartlett). For the Breitung test, the lag order is GS with a maximum lag order 2. The KERNEL option is ignored by the Breitung test because it is not relevant to that test.
The options in this category request model specification tests, such as a test for poolability in one-way models. These tests depend on the model specifications of dependent and independent variables, but not on the estimation technique that is used to fit the model. For example, a one-way test for random effects does not require you to fit a random-effects model, or even a one-way model for that matter. The model fits that are required for the selected tests are performed internally.
Printed output options change how results are presented.