A generalized functional linear model (GFLM) is a statistical framework that extends the generalized linear model (GLM) to accommodate functional data—data where the predictors, responses, or both are functions (curves, surfaces, or other infinite-dimensional objects) rather than scalar vectors. It provides a unified approach for regression analysis when the relationship between a scalar or functional response and functional predictors is nonlinear in the mean but linear on a transformed scale via a link function.
Model Formulation
Let $Y$ denote a random response variable (scalar or functional) and $X(t)$ denote a random predictor function defined on a compact interval $\mathcal{T} \subset \mathbb{R}$. The GFLM assumes that the conditional distribution of $Y$ given $X$ belongs to an exponential family with mean $\mu = E(Y|X)$. The model connects the mean to the functional predictor through a linear functional:
$$ g(\mu) = \eta = \alpha + \int_{\mathcal{T}} X(t)\beta(t)dt $$
where:
- $g(\cdot)$ is a known, monotone, differentiable link function (e.g., identity, logit, log).
- $\alpha$ is a scalar intercept.
- $\beta(t)$ is the slope function (or coefficient function) representing the effect of the predictor $X(t)$ at location $t$ on the linear predictor $\eta$.
- The integral $\int_{\mathcal{T}} X(t)\beta(t)dt$ defines the linear functional of the predictor.
If the response $Y$ is also functional, $Y(s)$, the model extends to a bivariate slope function $\beta(s,t)$: $$ g(E[Y(s)|X]) = \alpha(s) + \int_{\mathcal{T}} X(t)\beta(s,t)dt $$
Estimation
Because the slope function $\beta(t)$ is an infinite-dimensional parameter, direct maximum likelihood estimation is ill-posed (the problem is ill-posed due to the compactness of the integral operator). Regularization is required. Common approaches include:
- Basis Expansion: Representing $X(t)$ and $\beta(t)$ using finite basis systems (e.g., B-splines, Fourier bases, wavelets, or functional principal component analysis (FPCA) bases). This reduces the problem to a finite-dimensional penalized GLM.
- Penalized Likelihood: Adding a roughness penalty $P(\beta) = \lambda \int (\beta^{(m)}(t))^2 dt$ (or similar) to the log-likelihood to enforce smoothness on $\hat{\beta}(t)$. The smoothing parameter $\lambda$ is typically selected via cross-validation, generalized cross-validation (GCV), or information criteria (AIC, BIC).
- Functional Principal Component Regression (FPCR): Projecting the predictor onto its leading functional principal components and regressing the response on the resulting scores.
Asymptotic Properties
Under regularity conditions (bounded eigenvalues of the covariance operator, smoothness of $\beta$, appropriate growth of basis dimension or decay of $\lambda$), estimators of $\beta(t)$ achieve convergence rates in $L^2$ norm. For scalar responses, the convergence rate is typically slower than parametric rates (often $n^{-2r/(2r+1)}$ where $r$ relates to the smoothness of $\beta$ and the eigenvalue decay of the predictor covariance), reflecting the nonparametric nature of the infinite-dimensional parameter.
Applications
GFLMs are widely used in Functional Data Analysis (FDA) across various domains:
- Chemometrics/Spectroscopy: Predicting chemical composition (scalar $Y$) from near-infrared (NIR) spectra (functional $X$).
- Biomedicine: Modeling disease status (binary $Y$) from longitudinal biomarker trajectories or brain imaging curves (functional $X$).
- Environmental Science: Forecasting pollution levels or temperature curves using historical functional records.
- Economics: Analyzing the impact of continuous-time financial processes (e.g., yield curves) on scalar outcomes.
Relationship to Other Models
- Functional Linear Model (FLM): The special case where $g(\mu) = \mu$ (identity link) and $Y$ is Gaussian.
- Generalized Linear Model (GLM): The finite-dimensional counterpart where $X$ is a $p$-vector and $\beta$ is a $p$-vector; the integral is replaced by an inner product $X^T\beta$.
- Functional Generalized Additive Models (FGAM): Extensions allowing non-linear effects of the functional predictor (e.g., $\int f(X(t), t) dt$).
- Scalar-on-Function vs. Function-on-Scalar: GFLM typically refers to "scalar-on-function" regression. "Function-on-function" regression involves a functional response $Y(s)$.
Key References
- James, G. M. (2002). "Generalized Linear Models with Functional Predictors." Journal of the Royal Statistical Society, Series B, 64(3), 411–432.
- Müller, H. G., & Stadtmüller, U. (2005). "Generalized Functional Linear Models." Annals of Statistics, 33(2), 774–805.
- Ramsay, J. O., & Silverman, B. W. (2005). Functional Data Analysis (2nd ed.). Springer. (Chapter 15).
- McLean, M. W., et al. (2014). "Functional Generalized Linear Inference." Annals of Statistics (for function-on-scalar).