Random Coefficient Model

time-varying-parameterstate-spacekalmanbayesianregressionstructural-breaksmarkov-switchingpanel-datadirect-effectsconcomitantsspecification-testingforecastinggarch

Definition

A random (or changing) coefficient (RC) model is a linear regression yt=xtβt+εty_t = x_t'\beta_t + \varepsilon_t in which the coefficient vector βt\beta_t varies rather than being a fixed parameter. Two distinct traditions exist: (1) the Swamy (1970/1971) i.i.d. model, in which βt\beta_t (or βi\beta_i across units) are i.i.d. draws from a distribution with mean βˉ\bar\beta and covariance matrix Δ\Delta, estimated by generalized least squares (GLS)/minimum norm quadratic unbiased estimator (MINQUE); and (2) the Chow (1984) state-space model, in which βt\beta_t follows a latent Markov process βt=Mβt1+ηt\beta_t = M\beta_{t-1} + \eta_t, estimated by the Kalman filter. The Swamy tradition treats coefficient heterogeneity as a cross-sectional or unconditional phenomenon; the Chow tradition treats it as dynamic and serially correlated.

Key Ideas

How It Works

Swamy's i.i.d. Random Coefficient Model (1970/1975)

Model specification (Swamy-Mehta 1975, eq. 2.2):

yt=xtβt+εt,βti.i.d.(βˉ1,Δ1)y_t = x_t'\beta_t + \varepsilon_t, \qquad \beta_t \overset{\text{i.i.d.}}{\sim} (\bar\beta_1, \Delta_1)

where Δ1\Delta_1 is an unrestricted K×KK\times K positive semi-definite covariance matrix (relaxing the diagonal restriction of Swamy 1971). The induced observation model has heteroskedastic variance Var(yt)=xtΔ1xt+σ2\text{Var}(y_t) = x_t'\Delta_1 x_t + \sigma^2, so the GLS weight matrix is Σ1=diag[xtΔ1xt+σ2]\Sigma_1 = \text{diag}[x_t'\Delta_1 x_t + \sigma^2].

Minimum average-risk estimator of βˉ1\bar\beta_1 (eq. 2.10): With prior mean r1r_1 and precision ψ11\psi_1^{-1}:

βˉ1=(XΣ11X+ψ11)1(XΣ11y+ψ11r1)\bar\beta_1^* = (X'\Sigma_1^{-1}X + \psi_1^{-1})^{-1}(X'\Sigma_1^{-1}y + \psi_1^{-1}r_1)

Under normality this equals the posterior mean of βˉ1y\bar\beta_1 \mid y. Under a diffuse prior (ψ110\psi_1^{-1} \to 0) it collapses to the minimum variance linear unbiased estimator (MVLUE):

bˉ1=(XΣ11X)1XΣ11y\bar b_1 = (X'\Sigma_1^{-1}X)^{-1}X'\Sigma_1^{-1}y

MINQUE of Δ1\Delta_1 (eqs. 2.24/2.26): The minimum norm quadratic unbiased estimator solves sˉ1=Zˉ1δ2\bar s_1 = \bar Z_1 \delta_2, where δ2\delta_2 stacks the K(K+1)/2K(K+1)/2 unique elements of Δ1\Delta_1 and sˉ1\bar s_1 contains sums of squares and cross-products of GLS residuals. Negative variance estimates are truncated to zero. A Bayesian analogue with prior (δˉ2,Ψ2)(\bar\delta_2, \Psi_2) adds regularization.

Conceptual distinction (Swamy-Mehta 1975, §1): the paper draws a sharp line between (a) βt\beta_t random as part of the data-generating process — a feature of the world — and (b) β\beta random as a subjective Bayesian prior encoding the analyst's uncertainty. Both yield structurally identical estimators (eq. 2.10) but have different interpretations and different conditions for validity.

Panel decomposition (eq. 3.2): In a cross-section–time-series panel, coefficients decompose as:

βit=βˉ+αi+ξit\beta_{it} = \bar\beta + \alpha_i + \xi_{it}

where αi\alpha_i is an individual-specific permanent component and ξit\xi_{it} is time-varying and i.i.d. The mean coefficient βˉ\bar\beta is estimated by a panel GLS/Bayes estimator (eq. 3.8); the cross-section dispersion matrix Δ\Delta is estimated by (n1)1S(n-1)^{-1}S minus a precision-matrix correction (eq. 3.12).

Maximum Likelihood (ML) Pathology for Switching Regression (§2 intro): Before proposing the random coefficient model, the paper shows that maximum likelihood for Quandt's (1972) switching regression — a two-regime model with regime indicator λ\lambda — is almost always unbounded: as σi20\sigma_i^2 \to 0 with the regime mean held at an observed datum, the likelihood diverges. Bayesian methods with proper priors avoid this but yield posteriors with no closed form and no normal large-sample approximation (Johnson regularity conditions fail). The random coefficient model avoids both pathologies.

Simple Mean Estimator (Gumpertz-Pantula 1989)

The estimated generalized least squares (EGLS) estimator (eq. 2.4) requires Σ^ββ\hat{\boldsymbol{\Sigma}}_{\beta\beta} to be positive definite, but in small samples with large σ2\sigma^2 this fails frequently (Table 1 of paper: up to 81% of replications). The simple mean bˉ=n1i=1nbi\bar{\mathbf{b}} = n^{-1}\sum_{i=1}^n \mathbf{b}_i avoids this:

State-Space Form

yt=xtβt+εt,εtN(0,σ2)y_t = x_t'\beta_t + \varepsilon_t, \qquad \varepsilon_t \sim \mathcal{N}(0,\sigma^2) βt=Mβt1+ηt,ηtN(0,V)\beta_t = M\beta_{t-1} + \eta_t, \qquad \eta_t \sim \mathcal{N}(0, V)

Kalman filter (forward pass):

β^tt1=Mβ^t1t1\hat{\beta}_{t|t-1} = M\hat{\beta}_{t-1|t-1} Σtt1=MΣt1t1M+V\Sigma_{t|t-1} = M\Sigma_{t-1|t-1}M' + V Kt=Σtt1xt(xtΣtt1xt+σ2)1K_t = \Sigma_{t|t-1} x_t \bigl(x_t'\Sigma_{t|t-1}x_t + \sigma^2\bigr)^{-1} β^tt=β^tt1+Kt(ytxtβ^tt1)\hat{\beta}_{t|t} = \hat{\beta}_{t|t-1} + K_t\bigl(y_t - x_t'\hat{\beta}_{t|t-1}\bigr) Σtt=(IKtxt)Σtt1\Sigma_{t|t} = (I - K_t x_t')\Sigma_{t|t-1}

Backward smoother (for s>ts > t, Chow 1984 eq. 2.13):

β^ts=β^tt+HtHt+1Hs2Ks1(ysy^ss1)\hat{\beta}_{t|s} = \hat{\beta}_{t|t} + H_t H_{t+1}\cdots H_{s-2} K_{s-1}(y_s - \hat{y}_{s|s-1})

where Ht=ΣttMΣt+1t1H_t = \Sigma_{t|t}M'\Sigma_{t+1|t}^{-1}.

GLS Equivalence (Chow 1984 §3)

The smoothed estimate β^ts\hat{\beta}_{t|s} equals the GLS estimator obtained by regressing (y1,,ys)(y_1,\ldots,y_s) on (x1,,xs)(x_1,\ldots,x_s) with βt\beta_t as the (unknown vector) coefficient, using the state equation as a set of pseudo-observations. The GLS stacked system (3.1–3.2) is:

[y1ys]=[x1M0xsMs1]β1+(state-equation terms)+errors\begin{bmatrix} y_1 \\ \vdots \\ y_s \end{bmatrix} = \begin{bmatrix} x_1 M^0 \\ \vdots \\ x_s M^{s-1} \end{bmatrix}\beta_1 + \text{(state-equation terms)} + \text{errors}

This equivalence provides initial conditions β^kk\hat{\beta}_{k|k} and Σkk\Sigma_{k|k} from the first kk observations without requiring a prior.

MLE of Hyperparameters (§4)

The parameters σ2\sigma^2, P=σ2VP = \sigma^{-2}V, and MM are estimated by maximizing the concentrated Kalman innovation log-likelihood:

logL=const12logQ12(yZβ)Q1(yZβ)/σ2\log L = \text{const} - \tfrac{1}{2}\log|Q| - \tfrac{1}{2}(y-Z\beta)'Q^{-1}(y-Z\beta)/\sigma^2

where Q=IT+A(IT1P)AQ = I_T + A(I_{T-1}\otimes P)A'. No closed form for PP and MM; gradient-based numerical methods are used. Conditional on PP and MM, closed-form MLEs for σ2\sigma^2 and the cross-equation covariance Σ\Sigma exist.

System Extensions

Seemingly Unrelated Regression (SUR)-type (§5): mm equations with equation-specific βjt\beta_{jt}; joint likelihood involves the full cross-equation covariance Σ\Sigma. MLEs for σij\sigma_{ij} given QQ have closed forms.

Simultaneous equations (§6): Structural equations with time-varying parameters; linearize around current estimates and apply the GLS step iteratively (analogous to two-stage least squares (2SLS) with TVP). The linearized model (6.11) replaces the nonlinear structural form with a linear approximation valid locally.

Nonlinear systems (§7): f(yt,xt,βt)=0f(y_t, x_t, \beta_t) = 0; Taylor-expand around δtt1\delta_{t|t-1} and apply the same Kalman/GLS machinery.

Stationary Coefficients (§8)

When eigenvalues(M)<1|\text{eigenvalues}(M)| < 1, βt\beta_t is stationary. The initial covariance satisfies the Lyapunov equation Γ0=MΓ0M+V\Gamma_0 = M\Gamma_0 M' + V, which must be solved numerically for general MM. Hannan-Dunsmuir (1976) identification conditions for autoregressive moving average (ARMA)(p,q)(p,q) representations of βt\beta_t apply.

General RC Model with Concomitants (Swamy-Tavlas 1995)

Swamy-Tavlas (1995) survey and extend the RC framework to its most general form, nesting the Swamy (1970/71) simple model and all conventional fixed-coefficient specifications as special cases.

Direct and Indirect Effects Decomposition

Each observed coefficient βtj\beta_{tj} decomposes as:

βtj=αtj+lδtlψtlj\beta_{tj} = \alpha_{tj} + \sum_l \delta_{tl}\psi_{tlj}

where αtj\alpha_{tj} is the direct causal effect of regressor xtjx_{tj} on yty_t, and lδtlψtlj\sum_l \delta_{tl}\psi_{tlj} are indirect proxy effects that arise because xtjx_{tj} is correlated with omitted variables qtljq_{tlj} (indirect through δtl\delta_{tl}, with loading ψtlj\psi_{tlj}). Fixed-coefficient regression estimates conflate both components: a single OLS slope captures both the structural causal channel and any proxy information carried by the regressor. RC models with observable concomitants ztlz_{tl} can separate them, provided the stochastic law condition holds.

Stochastic law condition (Pratt-Schlaifer 1988): The model coincides with a causal law when x~ta~xzt\tilde{\mathbf{x}}_t \perp \tilde{\mathbf{a}}_{xzt} conditional on zt\mathbf{z}_t. This is the RC analogue of an exogeneity condition. Derivation via eqs. (13)–(14) shows the general RC model can satisfy it; conventional fixed-coefficient (CFC) models generally cannot, because they absorb both direct and indirect effects into a single fixed coefficient.

General Model Specification

yt=xtβty_t = \mathbf{x}_t'\boldsymbol{\beta}_t βt=Πzt+Lεt\boldsymbol{\beta}_t = \boldsymbol{\Pi}\mathbf{z}_t + \mathbf{L}\boldsymbol{\varepsilon}_t εt=Φεt1+at,ati.i.d.(0,Δa)\boldsymbol{\varepsilon}_t = \boldsymbol{\Phi}\boldsymbol{\varepsilon}_{t-1} + \mathbf{a}_t, \quad \mathbf{a}_t \overset{\text{i.i.d.}}{\sim} (0, \Delta_\mathbf{a})

The Swamy (1970/71) simple model is the special case Π=0\boldsymbol{\Pi}=0, Φ=0\boldsymbol{\Phi}=0, L=IK\mathbf{L}=I_K, diagonal Δε\Delta_\varepsilon — i.i.d. coefficients with no systematic mean or persistence.

19 Conventional Fixed-Coefficient Special Cases

The general model nests 19 CFC models by imposing parameter restrictions (§2.4):

Cases Model class Key restriction
1–11 CFC models Π=0\boldsymbol{\Pi}=0 AND restrictions on Φ\boldsymbol{\Phi}, L\mathbf{L}
6 GARCH Swamy-Tavlas (1994) transformation; variance equation from coefficient dynamics
12–19 RC models of increasing generality Delete zt\mathbf{z}_t restrictions progressively

Cases 1–5 cover OLS, GLS, distributed-lag, and ARMA structures. Case 6 connects to the generalized autoregressive conditional heteroskedasticity (GARCH) family: Swamy-Tavlas (1994, Economics Letters 46: 7–10) showed a GARCH conditional variance equation emerges from the coefficient dynamics when concomitants and loading matrix are appropriately restricted. Cases 12–19 restore time-varying parameters with successively fewer constraints.

Swamy-Tinsley (1980) Iterative GLS

A feasible GLS algorithm (§2.5) that avoids MCMC:

  1. Initialize: Φ=0\boldsymbol{\Phi}=0, Δa=I\Delta_\mathbf{a} = I
  2. Compute βt\boldsymbol{\beta}_t from current (Π,Φ,Δa)(\boldsymbol{\Pi}, \boldsymbol{\Phi}, \Delta_\mathbf{a}) via GLS
  3. Update Π\boldsymbol{\Pi} via OLS of β^t\hat{\boldsymbol{\beta}}_t on zt\mathbf{z}_t
  4. Compute residuals ε^t=β^tΠ^zt\hat{\boldsymbol{\varepsilon}}_t = \hat{\boldsymbol{\beta}}_t - \hat{\boldsymbol{\Pi}}\mathbf{z}_t
  5. Estimate Φ\boldsymbol{\Phi} via multivariate AR(1) on ε^t\hat{\boldsymbol{\varepsilon}}_t
  6. Update Δa\Delta_\mathbf{a} from AR residuals
  7. Recompute GLS weights
  8. Repeat steps 2–7 until convergence

Convergence is typically achieved within a small number of cycles. The estimate of Π\boldsymbol{\Pi} provides the direct-effects component; the residual Lε^t\mathbf{L}\hat{\boldsymbol{\varepsilon}}_t contains the indirect effects.

Empirical Record (Swamy-Tavlas 1995, Table 3)

Nine macroeconomic forecasting applications comparing RC models to their best CFC alternative:

Application RC RMSE Best CFC RMSE Reduction
US M1 demand (missing money period) 4.6 19.8 77%
Dollar/DM exchange rate beats RW CFC above RW
Dollar/pound exchange rate beats RW CFC above RW
Dollar/yen exchange rate beats RW CFC above RW
US short-term interest rate lowest highest 11–60%

Schinasi-Swamy (1989) replicates the Meese-Rogoff (1983) finding for CFC models but shows RC models beat the random walk for all three dollar exchange rate pairs.

Testing Coefficient Constancy (Chow 1984 §10)

Test H0H_0 Statistic Reference
Chow F-test Known break at TBT_B Ratio of SSRs before/after Chow (1960)
CUSUM No structural change Cumulated recursive residuals vs. straight-line bounds Brown-Durbin-Evans (1975)
CUSUM2^2 No variance change Cumulated squared residuals Brown-Durbin-Evans (1975)
Quandt max-LRT Unknown break date maxλF(λ)\max_\lambda F(\lambda) over interior of sample Quandt (1960)
LMP (locally most powerful) / Nyblom V=0V = 0 Score statistic against random-walk alternative Nyblom (1983)
Pagan score V=0V = 0 Score statistic Pagan (1980)

Why It Matters

Open Questions

Related