Bayesian linear regression applies Bayes's theorem to the normal linear model y=Xβ+ε, ε∼N(0,σ2I), combining the likelihood with a prior distribution on (β,σ) to produce a posterior distribution over the regression coefficients. The form of the posterior depends critically on what is assumed about the error variance(s) and on the choice of prior. When a second sample shares the same β but has an independent unknown variance, the posterior is a product of two multivariate t-distributions — the "double-t" distribution (Tiao-Zellner 1964).
Key Ideas
Posterior = prior × likelihood: Bayes's theorem combines p(β,σ) with ℓ(β,σ∣y) to give p(β,σ∣y)∝p(β,σ)ℓ(β,σ∣y).
Noninformative (Jeffreys-Savage) prior: When little is known a priori, set p(β)∝1 and p(logσ)∝1 (i.e., p(σ)∝1/σ). The marginal posterior of β is then a multivariate t-distribution.
Conjugate (Normal-Inverse-Gamma) prior: A normal prior on β and an inverse-gamma prior on σ2 yield a multivariate t marginal posterior with closed-form parameters — the standard textbook result.
Heterogeneous variances → double-t: When two samples share β but have independent unknown variances σ12 and σ22, independent noninformative priors on logσ1 and logσ2 yield a product-of-t posterior that does not reduce to a single t-distribution.
Precision-weighted pooling: The leading-term posterior mean under the double-t is βˉ=D−1(M1β^1+M2β^2) where D=M1+M2 and Mi=Zi/si2, the precision-weighted average of the two ordinary least squares (OLS) estimates. This is the Bayesian analogue of the Theil (1963) mixed estimator.
How It Works
Noninformative Prior (Single Sample)
The likelihood for the regression model y=Xβ+ε with ε∼N(0,σ2I) is:
ℓ(β,σ∣y)=(σ2π1)Texp{−2σ21[νs2+Q(β,β^,Z)]}
where Z=X′X, β^=Z−1X′y, ν=T−p, s2=(y−Xβ^)′(y−Xβ^)/ν, and Q(β,η,A)≡(β−η)′A(β−η).
Under p(β)∝1, p(σ)∝1/σ, the joint posterior is:
p(β,σ∣y)∝σ−(T+1)exp{−2σ21[νs2+Q(β,β^,Z)]}
Integrating out σ gives the marginal posterior of β:
p(β∣y)∝{1+νs2Q(β,β^,Z)}−21(ν+p)
This is a multivariate t-distribution with ν=T−p degrees of freedom, mean β^, and precision matrix Z/s2. The marginal posterior of any single element βi is univariate t with T−p degrees of freedom.
Conjugate (Normal-Inverse-Gamma) Prior
With β∣σ2∼N(β0,σ2V0) and σ2∼IG(a0/2,b0/2), the posterior is:
β∣σ2,y∼N(βn,σ2Vn),σ2∣y∼IG(an/2,bn/2)
with Vn−1=V0−1+X′X, βn=Vn(V0−1β0+X′y), an=a0+T, bn=b0+(y−Xβn)′(y−Xβn)+(βn−β0)′V0−1(βn−β0). Marginalizing σ2: β∣y∼tan(βn,bnVn/an).
Double-t Distribution (Heterogeneous Variances)
When two samples (y1,X1,T1) and (y2,X2,T2) share the same β but have independent unknown variances σ12 and σ22, independent log-uniform priors on σ1 and σ2 yield:
where Qi=Q(β,β^i,Mi) with Mi=Zi/si2, and k=∫f(β)dβ is a p-dimensional integral without a closed form. This is the multivariate double-t distribution (Tiao-Zellner 1964, eq. 2.12) — the multivariate extension of the Behrens-Fisher problem.
Asymptotic expansion. Expanding each t-factor as {1+Qi/νi}−21(νi+p)=e−21Qi∑j=0∞pjνi−j and multiplying, the posterior becomes:
with D=M1+M2, βˉ=D−1(M1β^1+M2β^2). The leading term (d00=1) is N(βˉ,D−1); higher-order terms give finite-sample corrections via mixed cumulants of Q1 and Q2. As ν1,ν2→∞, the posterior converges to this normal exactly.
Behrens-Fisher connection. For p=1, the univariate double-t agrees with Fisher's (1961) fiducial solution to the problem of combining two normal samples with unequal unknown variances.
Theil mixed estimator as a limiting case. If σ12 is treated as known and ν1→∞, the first-sample posterior collapses to a degenerate normal and the posterior mean converges to Theil's (1963) mixed estimator βˉ=D−1(M1β^1+M2β^2). The Bayesian framework thus provides the full posterior distribution around what Theil obtained as a point estimate.
Why It Matters
The noninformative-prior result establishes the multivariate t-distribution as the fundamental posterior for regression coefficients when variance is unknown, replacing classical interval estimates with a complete probabilistic description. The double-t generalizes this to heterogeneous-variance settings that arise naturally whenever data come from sources with different noise levels — manufacturing process comparisons, cross-country regressions with country-specific volatility, or panel data with heteroskedastic equations. The asymptotic expansion technique developed by Tiao-Zellner (1964) anticipates modern Laplace approximation methods; the underlying intractability they identified is now resolved routinely by Markov Chain Monte Carlo (MCMC).
Open Questions
For large p, the double-t normalizing constant is still challenging outside MCMC — variational and Laplace approximations may not be accurate.
The double-t assumes independence of σ12 and σ22; correlated scale parameters (as in full Seemingly Unrelated Regression, SUR) require the full Zellner (1971) / Chib-Greenberg (1995) treatment.