arXiv:2610.37500math.STOct 2026

Manuscript Offprint

arXiv:2610.37500

Regression Functions as Fields on Covariate Space: Evolution Equations, the Hessian, and Identification

Nobuaki Tanaka

Abstract

For each time tt, the regression function mt(x)=E[Yt∣Xt=x]m_t(x) = \mathbb{E}[Y_t \mid X_t = x] of an outcome on contemporaneous covariates can be regarded as a field on covariate space. We study how this field evolves when the covariates of individual units move as a diffusion and the outcome attached to each unit changes according to its own dynamics. Under mild regularity we show that mtm_t satisfies a second-order evolution equation whose diffusion term is 12tr⁡(Σ∇2mt)\frac{1}{2} \operatorname{tr}(\Sigma \nabla^2 m_t), the trace of the Hessian of the regression function weighted by the instantaneous covariance Σ\Sigma of the covariate increments, whose transport term is the drift of the time-reversed covariate process, and whose source term is the conditional mean rate of change of the outcome. The equation is a regression-theoretic reading of a classical transport law, and it yields a Feynman–Kac representation of mtm_t along reversed covariate paths. We connect the Hessian appearing in the equation to the Hessian estimated by quadratic regression (under Gaussian design the best quadratic approximation has Hessian E[∇2m(X)]\mathbb{E}[\nabla^2 m(X)] exactly) and to the leading bias of kernel smoothers. For binary outcomes governed by bistable replicator dynamics with imitation among units with similar covariates, the closed equation is of Nagumo type, its planar travelling fronts are exactly logistic in (x,t)(x, t), and a single logistic regression of the outcome on covariates and time identifies the ratio of diffusion to reaction and the direction of invasion. We discuss identification under panel versus repeated cross-sectional designs and a two-stage estimation strategy, and we illustrate the results with simulations.

Keywords: regression function; reaction–diffusion equation; Hessian; time reversal of diffusions; Feynman–Kac formula; replicator dynamics; logistic regression; local polynomial regression.

1 Introduction

A common way to add spatial structure to a dynamical model is to append a diffusion term to an ordinary differential equation, turning y˙=R(y)\dot{y} = R(y) into a reaction–diffusion equation ∂ty=κΔy+R(y)\partial_t y = \kappa \Delta y + R(y) on a physical domain. This paper takes the same step with a different notion of space: the space of covariates of a regression.

Fix a time tt and regress an outcome YtY_t on contemporaneous covariates Xt∈RdX_t \in \mathbb{R}^d. The regression function

mt(x)=E[Yt∣Xt=x]m_{t}(x)=\mathbb{E}[Y_{t}\mid X_{t}=x]

is a field on covariate space. As tt varies, the covariates of individual units drift and fluctuate, and the outcome attached to each unit changes. The question we ask is: what equation does mtm_t satisfy as a function of (t,x)(t, x)?

Our main result (Theorem 3.1) answers this under a diffusion model for covariates. The equation contains three terms with distinct interpretations:

(i) a diffusion term 12tr⁡(Σ∇2mt)\frac{1}{2} \operatorname{tr}(\Sigma \nabla^2 m_t), where ∇2mt\nabla^2 m_t is the Hessian of the regression function and Σ\Sigma the covariance rate of covariate increments; for Σ=2κI\Sigma = 2\kappa I it is κΔmt=κtr⁡∇2mt\kappa \Delta m_t = \kappa \operatorname{tr} \nabla^2 m_t;

(ii) a transport term bˉ⋅∇mt\bar{b} \cdot \nabla m_t, where bˉ\bar{b} is the drift of the time-reversed covariate process; it contains a correction Σ∇log⁡ft\Sigma \nabla \log f_t involving the covariate density ftf_t;

(iii) a source term equal to the conditional mean rate of change of the outcome.

The diffusion coefficient is not chosen by the analyst: it is the covariance of covariate increments, which removes the arbitrariness of choosing a metric on a space whose coordinates carry different units. The equation is invariant under affine changes of covariates.

Relation to known results. Mathematically, the evolution equation is a regression-theoretic reading of classical facts. The product qt=mtftq_t = m_t f_t obeys a conservation law, and mtm_t plays the role of a mass fraction in species transport; the transport coefficient is the reverse-time drift of Anderson [3] and Haussmann and Pardoux [15]; and the same structure underlies the partial differential equation satisfied by the denoiser E[x0∣xt=x]\mathbb{E}[x_0 \mid x_t = x] in diffusion generative models [10]. Backward Kolmogorov equations for conditional expectations of future quantities are standard in option pricing [19] and in fate mapping of single cells [18]. Forward equations for the density of agents in a state space are central in heterogeneous-agent economics [1, 14] and in trajectory inference from single-cell snapshots [25, 28], and replicator–mutator equations place diffusion on a continuous trait space [2, 17]. Section 9 discusses these connections. To our knowledge, however, the regression function of an outcome on contemporaneous covariates has not been treated systematically as the unknown of such an equation, together with the resulting questions of interpretation, identification and estimation that are natural in regression analysis. That is the purpose of this paper.