
The specification for the one-way random-effects model is
![\[ u_{it}={\nu }_{i}+{\epsilon }_{it} \]](images/etsug_hppanel0080.png)
Let
),
, and
, with
and
. Define
. Also define
and
as a vector of 1s whose length is
.
In the one-way model, estimation proceeds in a two-step fashion. First, you obtain estimates of the variance of the
and
. There are multiple ways to derive these estimates; PROC HPPANEL provides four options. For more information, see the section
One-Way Random-Effects Model.
After the variance components are calculated from any method, the next task is to estimate the regression model of interest.
For each individual, you form a weight (
),
![\[ \theta _\mi {i} = 1 - \sigma _{\epsilon } / w_\mi {i} \]](images/etsug_hppanel0092.png)
![\[ w_{i}^{2} = T_{i}{\sigma }^{2}_{{\nu }} + {\sigma }^{2}_{{\epsilon }} \]](images/etsug_hppanel0093.png)
where
is the
th cross section’s time observations.
Taking the
, you form the partial deviations,
![\[ \tilde{y}_\mi {it} = y_\mi {it}- \theta _\mi {i} \bar{y}_\mi {i \cdot } \]](images/etsug_hppanel0096.png)
![\[ \tilde{x}_\mi {it} = x_\mi {it}- \theta _\mi {i} \bar{x}_\mi {i \cdot } \]](images/etsug_hppanel0097.png)
where
and
are cross section means of the dependent variable and independent variables (including the constant if any), respectively.
The random-effects
is then the result of simple OLS on the transformed data.