PANEL Procedure

Parks Method for Autoregressive Models (PARKS Option)

Parks (1967) considered the first-order autoregressive model in which the random errors u Subscript i t, i equals 1 comma 2 comma ellipsis comma upper N, and t equals 1 comma 2 comma ellipsis comma upper T have the structure

StartLayout 1st Row 1st Column upper E left-parenthesis u Subscript i t Superscript 2 Baseline right-parenthesis 2nd Column equals 3rd Column sigma Subscript i i Baseline left-parenthesis heteroscedasticity right-parenthesis 2nd Row 1st Column upper E left-parenthesis u Subscript i t Baseline u Subscript j t Baseline right-parenthesis 2nd Column equals 3rd Column sigma Subscript i j Baseline left-parenthesis contemporaneously correlated right-parenthesis 3rd Row 1st Column u Subscript i t 2nd Column equals 3rd Column rho Subscript i Baseline u Subscript i comma t minus 1 Baseline plus epsilon Subscript i t Baseline left-parenthesis autoregression right-parenthesis EndLayout

where

StartLayout 1st Row 1st Column upper E left-parenthesis epsilon Subscript i t Baseline right-parenthesis 2nd Column equals 3rd Column 0 2nd Row 1st Column upper E left-parenthesis u Subscript i comma t minus 1 Baseline epsilon Subscript j t Baseline right-parenthesis 2nd Column equals 3rd Column 0 3rd Row 1st Column upper E left-parenthesis epsilon Subscript i t Baseline epsilon Subscript j t Baseline right-parenthesis 2nd Column equals 3rd Column phi Subscript i j 4th Row 1st Column upper E left-parenthesis epsilon Subscript i t Baseline epsilon Subscript j s Baseline right-parenthesis 2nd Column equals 3rd Column 0 left-parenthesis s not-equals t right-parenthesis 5th Row 1st Column upper E left-parenthesis u Subscript i Baseline 0 Baseline right-parenthesis 2nd Column equals 3rd Column 0 6th Row 1st Column upper E left-parenthesis u Subscript i Baseline 0 Baseline u Subscript j Baseline 0 Baseline right-parenthesis 2nd Column equals 3rd Column sigma Subscript i j Baseline equals phi Subscript i j Baseline slash left-parenthesis 1 minus rho Subscript i Baseline rho Subscript j Baseline right-parenthesis EndLayout

The model assumed is first-order autoregressive with contemporaneous correlation between cross sections. In this model, the covariance matrix for the vector of random errors u can be expressed as

StartLayout 1st Row  upper E left-parenthesis bold u bold u Superscript prime Baseline right-parenthesis equals bold upper V equals Start 4 By 4 Matrix 1st Row 1st Column sigma 11 upper P 11 2nd Column sigma 12 upper P 12 3rd Column ellipsis 4th Column sigma Subscript 1 upper N Baseline upper P Subscript 1 upper N Baseline 2nd Row 1st Column sigma 21 upper P 21 2nd Column sigma 22 upper P 22 3rd Column ellipsis 4th Column sigma Subscript 2 upper N Baseline upper P Subscript 2 upper N Baseline 3rd Row 1st Column vertical-ellipsis 2nd Column vertical-ellipsis 3rd Column vertical-ellipsis 4th Column vertical-ellipsis 4th Row 1st Column sigma Subscript upper N Baseline 1 Baseline upper P Subscript upper N Baseline 1 Baseline 2nd Column sigma Subscript upper N Baseline 2 Baseline upper P Subscript upper N Baseline 2 Baseline 3rd Column ellipsis 4th Column sigma Subscript upper N upper N Baseline upper P Subscript upper N upper N EndMatrix EndLayout

where

StartLayout 1st Row  upper P Subscript i j Baseline equals Start 5 By 5 Matrix 1st Row 1st Column 1 2nd Column rho Subscript j Baseline 3rd Column rho Subscript j Superscript 2 Baseline 4th Column ellipsis 5th Column rho Subscript j Superscript upper T minus 1 Baseline 2nd Row 1st Column rho Subscript i Baseline 2nd Column 1 3rd Column rho Subscript j Baseline 4th Column ellipsis 5th Column rho Subscript j Superscript upper T minus 2 Baseline 3rd Row 1st Column rho Subscript i Superscript 2 Baseline 2nd Column rho Subscript i Baseline 3rd Column 1 4th Column ellipsis 5th Column rho Subscript j Superscript upper T minus 3 Baseline 4th Row 1st Column vertical-ellipsis 2nd Column vertical-ellipsis 3rd Column vertical-ellipsis 4th Column vertical-ellipsis 5th Column vertical-ellipsis 5th Row 1st Column rho Subscript i Superscript upper T minus 1 Baseline 2nd Column rho Subscript i Superscript upper T minus 2 Baseline 3rd Column rho Subscript i Superscript upper T minus 3 Baseline 4th Column ellipsis 5th Column 1 EndMatrix EndLayout

The matrix V is estimated by a two-stage procedure, and bold-italic beta is then estimated by generalized least squares. The first step in estimating V involves the use of ordinary least squares to estimate bold-italic beta and obtain the fitted residuals, as follows:

ModifyingAbove bold u With caret equals bold y minus bold upper X ModifyingAbove bold-italic beta With caret Subscript upper O upper L upper S

A consistent estimator of the first-order autoregressive parameter is then obtained in the usual manner, as follows:

StartLayout 1st Row  ModifyingAbove rho With caret Subscript i Baseline equals left-parenthesis sigma-summation Underscript t equals 2 Overscript upper T Endscripts ModifyingAbove u With caret Subscript i t Baseline ModifyingAbove u With caret Subscript i comma t minus 1 Baseline right-parenthesis slash left-parenthesis sigma-summation Underscript t equals 2 Overscript upper T Endscripts ModifyingAbove u With caret Subscript i comma t minus 1 Superscript 2 Baseline right-parenthesis i equals 1 comma 2 comma ellipsis comma upper N EndLayout

Finally, the autoregressive characteristic of the data is removed (asymptotically) by the usual transformation of taking weighted differences. That is, for i equals 1 comma 2 comma ellipsis comma upper N,

y Subscript i Baseline 1 Baseline StartRoot 1 minus ModifyingAbove rho With caret Subscript i Superscript 2 Baseline EndRoot equals sigma-summation Underscript k equals 1 Overscript p Endscripts upper X Subscript i Baseline 1 k Baseline bold-italic beta Subscript k Baseline StartRoot 1 minus ModifyingAbove rho With caret Subscript i Superscript 2 Baseline EndRoot plus u Subscript i Baseline 1 Baseline StartRoot 1 minus ModifyingAbove rho With caret Subscript i Superscript 2 Baseline EndRoot
y Subscript i t Baseline minus ModifyingAbove rho With caret Subscript i Baseline y Subscript i comma t minus 1 Baseline equals sigma-summation Underscript k equals 1 Overscript p Endscripts left-parenthesis upper X Subscript i t k Baseline minus ModifyingAbove rho With caret Subscript i Baseline bold upper X Subscript i comma t minus 1 comma k Baseline right-parenthesis bold-italic beta Subscript k Baseline plus u Subscript i t Baseline minus ModifyingAbove rho With caret Subscript i Baseline u Subscript i comma t minus 1 Baseline t equals 2 comma ellipsis comma upper T

which is written

y Subscript i t Superscript asterisk Baseline equals sigma-summation Underscript k equals 1 Overscript p Endscripts upper X Subscript i t k Superscript asterisk Baseline bold-italic beta Subscript k Baseline plus u Subscript i t Superscript asterisk Baseline i equals 1 comma 2 comma ellipsis comma upper N semicolon t equals 1 comma 2 comma ellipsis comma upper T

Notice that the transformed model has not lost any observations (Seely and Zyskind 1971).

The second step in estimating the covariance matrix V is applying ordinary least squares to the preceding transformed model, obtaining

ModifyingAbove bold u With caret Superscript asterisk Baseline equals bold y Superscript asterisk Baseline minus bold upper X Superscript asterisk Baseline bold-italic beta Subscript upper O upper L upper S Superscript asterisk

from which the consistent estimator of sigma Subscript i j is calculated as

s Subscript i j Baseline equals StartFraction ModifyingAbove phi With caret Subscript i j Baseline Over left-parenthesis 1 minus ModifyingAbove rho With caret Subscript i Baseline ModifyingAbove rho With caret Subscript j Baseline right-parenthesis EndFraction

where

ModifyingAbove phi With caret Subscript i j Baseline equals StartFraction 1 Over left-parenthesis upper T minus p right-parenthesis EndFraction sigma-summation Underscript t equals 1 Overscript upper T Endscripts ModifyingAbove u With caret Subscript i t Superscript asterisk Baseline ModifyingAbove u With caret Subscript j t Superscript asterisk

Estimated generalized least squares (EGLS) then proceeds in the usual manner,

ModifyingAbove bold-italic beta With caret Subscript upper P Baseline equals left-parenthesis bold upper X prime ModifyingAbove bold upper V With caret Superscript negative 1 Baseline bold upper X right-parenthesis Superscript negative 1 Baseline bold upper X prime ModifyingAbove bold upper V With caret Superscript negative 1 Baseline bold y

where ModifyingAbove bold upper V With caret is the derived consistent estimator of V. For computational purposes, ModifyingAbove bold-italic beta With caret Subscript upper P is obtained directly from the transformed model,

ModifyingAbove bold-italic beta With caret Subscript upper P Baseline equals left-parenthesis bold upper X Superscript asterisk prime Baseline left-parenthesis ModifyingAbove normal upper Phi With caret Superscript negative 1 Baseline circled-times upper I Subscript upper T Baseline right-parenthesis bold upper X Superscript asterisk Baseline right-parenthesis Superscript negative 1 Baseline bold upper X Superscript asterisk prime Baseline left-parenthesis ModifyingAbove normal upper Phi With caret Superscript negative 1 Baseline circled-times upper I Subscript upper T Baseline right-parenthesis bold y Superscript asterisk

where ModifyingAbove normal upper Phi With caret equals left-bracket ModifyingAbove phi With caret Subscript i j Baseline right-bracket Subscript i comma j equals 1 comma ellipsis comma upper N.

The preceding procedure is equivalent to Zellner’s two-stage methodology applied to the transformed model (Zellner 1962).

The variance estimate is

normal upper V normal a normal r left-parenthesis ModifyingAbove bold-italic beta With caret Subscript upper P Baseline right-parenthesis equals left-parenthesis bold upper X prime bold upper V Superscript negative 1 Baseline bold upper X right-parenthesis Superscript negative 1

Standard Corrections

For the PARKS option, the first-order autocorrelation coefficient must be estimated for each cross section. Let rho be the upper N times 1 vector of true parameters and upper R equals left-parenthesis r 1 comma ellipsis comma r Subscript upper N Baseline right-parenthesis prime be the corresponding vector of estimates. Then, to ensure that only range-preserving estimates are used in PROC PANEL, the following modification for R is made:

r Subscript i Baseline equals StartLayout Enlarged left-brace 1st Row 1st Column r Subscript i Baseline 2nd Column normal i normal f StartAbsoluteValue r Subscript i Baseline EndAbsoluteValue less-than 1 2nd Row 1st Column normal m normal a normal x left-parenthesis .95 comma normal r normal m normal a normal x right-parenthesis 2nd Column normal i normal f r Subscript i Baseline greater-than-or-equal-to 1 3rd Row 1st Column normal m normal i normal n left-parenthesis negative .95 comma normal r normal m normal i normal n right-parenthesis 2nd Column normal i normal f r Subscript i Baseline less-than-or-equal-to negative 1 EndLayout

where

normal r normal m normal a normal x equals StartLayout Enlarged left-brace 1st Row 1st Column 0 2nd Column normal i normal f r Subscript i Baseline less-than 0 normal o normal r r Subscript i Baseline greater-than-or-equal-to 1 for-all i 2nd Row 1st Column normal m times normal a times normal x Underscript j Endscripts left-bracket r Subscript j Baseline colon 0 less-than-or-equal-to r Subscript j Baseline less-than 1 right-bracket 2nd Column normal o normal t normal h normal e normal r normal w normal i normal s normal e EndLayout

and

normal r normal m normal i normal n equals StartLayout Enlarged left-brace 1st Row 1st Column 0 2nd Column normal i normal f r Subscript i Baseline greater-than 0 normal o normal r r Subscript i Baseline less-than-or-equal-to minus 1 for-all i 2nd Row 1st Column normal m times normal i times normal n Underscript j Endscripts left-bracket r Subscript j Baseline colon negative 1 less-than r Subscript j Baseline less-than-or-equal-to 0 right-bracket 2nd Column normal o normal t normal h normal e normal r normal w normal i normal s normal e EndLayout

Whenever this correction is made, a warning message is printed.

Last updated: June 19, 2025