Functional additive models

From HandWiki
Revision as of 17:32, 6 February 2024 by Wincert (talk | contribs) (linkage)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

In statistics, functional additive models (FAM) can be viewed as extensions of generalized functional linear models where the linearity assumption between the response (scalar or functional) and the functional linear predictor is replaced by an additivity assumption.

Overview

Functional Additive Model

In these models, functional predictors ([math]\displaystyle{ X }[/math]) are paired with responses ([math]\displaystyle{ Y }[/math]) that can be either scalar or functional. The response can follow a continuous or discrete distribution and this distribution may be in the exponential family. In the latter case, there would be a canonical link that connects predictors and responses. Functional predictors (or responses) can be viewed as random trajectories generated by a square-integrable stochastic process. Using functional principal component analysis and the Karhunen-Loève expansion, these processes can be equivalently expressed as a countable sequence of their functional principal component scores (FPCs) and eigenfunctions. In the FAM[1] the responses (scalar or functional) conditional on the predictor functions are modeled as function of the functional principal component scores of the predictor function in an additive structure. This model can be categorized as a Frequency Additive Model since it is additive in the predictor FPC scores.

Continuously Additive Model

The Continuously Additive Model (CAM)[2] assumes additivity in the time domain. The functional predictors are assumed to be smooth across the time domain since the times contained in an interval domain are an uncountable set, an unrestricted time-additive model is not feasible. This motivates to approximate sums of additive functions by integrals so that the traditional vector additive model be replaced by a smooth additive surface. CAM can handle generalized responses paired with multiple functional predictors.

Functional Generalized Additive Model

The Functional Generalized Additive Model (FGAM)[3] is an extension of generalized additive model with a scalar response and a functional predictor. This model can also deal with multiple functional predictors. The CAM and the FGAM are essentially equivalent apart from implementation details and therefore can be covered under one description. They can be categorized as Time-Additive Models.

Functional Additive Model

Model

Functional Additive Model for scalar and functional responses respectively, are given by

[math]\displaystyle{ E(Y\mid X) = \mu_Y + \sum_{k=1}^\infty f_k(\xi_k) }[/math]
[math]\displaystyle{ E(Y(t)\mid X) = \mu_Y(t) + \sum_{k=1}^\infty \sum_{m=1}^\infty f_{km}(\xi_k)\psi_m(t), }[/math]

where [math]\displaystyle{ \xi_k }[/math] and [math]\displaystyle{ \zeta_m }[/math] are FPC scores of the processes [math]\displaystyle{ X }[/math] and [math]\displaystyle{ Y }[/math] respectively, [math]\displaystyle{ \phi_k }[/math] and [math]\displaystyle{ \psi_m }[/math] are the eigenfunctions of processes [math]\displaystyle{ X }[/math] and [math]\displaystyle{ Y }[/math] respectively, and [math]\displaystyle{ f_k }[/math] and [math]\displaystyle{ f_{km} }[/math] are arbitrary smooth functions.

To ensure identifiability one may require, [math]\displaystyle{ Ef_k(\xi_k) = 0,\quad k=1,2,\ldots Ef_{km}(\xi_k) = 0, k=1,2,\ldots m=1,2,\ldots }[/math]

Implementation

The above model is considered under the assumption that the true FPC scores [math]\displaystyle{ \xi_k }[/math] for predictor processes are known. In general, estimation in the generalized additive model requires backfitting algorithm or smooth backfitting to account for the dependencies between predictors. Now FPCs are always uncorrelated and if the predictor processes are assumed to be gaussian then the FPCs are independent. Then

[math]\displaystyle{ E(Y-\mu_Y|\xi_k)=E\{E(Y-\mu_Y|X)|\xi_k\}=E\{\sum_{j=1}^{\infty}f_j(\xi_j)|\xi_k\}=f_k(\xi_k), }[/math]

similarly for functional responses

[math]\displaystyle{ E(\zeta_m|\xi_k)=f_{km}(\xi_k), }[/math]

This simplifies the estimation and requires only one-dimensional smoothing of responses against individual predictor scores and will yield consistent estimates of [math]\displaystyle{ f_j. }[/math] In data analysis one needs to estimate [math]\displaystyle{ \xi_k }[/math] before proceeding to infer the functions [math]\displaystyle{ f_k }[/math] and [math]\displaystyle{ f_{km} }[/math], so there are errors in the predictors. functional principal component analysis generates estimates [math]\displaystyle{ \hat{\xi_k} }[/math] of [math]\displaystyle{ \xi_k }[/math] for individual predictor trajectories along with estimates for eigenfunctions, eigenvalues, mean functions and covariance functions. Different smoothing methods can be applied to the data [math]\displaystyle{ \{\hat{\xi}_{ik},Y_i\}_{i=1,...,n} }[/math] and [math]\displaystyle{ \{\hat{\xi}_{ik},\hat{\zeta}_{im}\}_{i=1,...,n} }[/math] to estimate [math]\displaystyle{ f_k }[/math] and [math]\displaystyle{ f_{km} }[/math] respectively.

The fitted Functional Additive Model for scalar response is given by

[math]\displaystyle{ \hat{E}(Y|X)=\bar{Y}+\sum_{k=1}^{K}\hat{f_k}(\xi_k), }[/math] and the fitted Functional Additive Model for functional responses is by
[math]\displaystyle{ \hat{E}(Y(t)|X)=\hat{\mu}_Y(t)+\sum_{m=1}^{M}\sum_{k=1}^{K}\hat{f}_{km}(\xi_k)\hat{\psi}_m(t), t\in{T} }[/math]

Note: The truncation points [math]\displaystyle{ K }[/math] and [math]\displaystyle{ M }[/math] need to be chosen data-adaptively. Possible methods include pseudo-AIC, fraction of variance explained or minimization of prediction error or cross-validation.[citation needed]

Extensions

For the case of multiple functional predictors with a scalar response, the Functional Additive Model can be extended by fitting a functional regression which is additive in the FPCs of each of the predictor processes [math]\displaystyle{ X_j,j=1,...,d }[/math]. The model considered here is Additive Functional Score Model (AFSM) given by

[math]\displaystyle{ E(Y|X_1,X_2,...,X_d)=\sum_{j=1}^{d}\sum_{k}f_{jk}(\xi_{jk}) }[/math]

In case of multiple predictors the FPCs of different predictors are in general correlated and a smooth backfitting[4] technique has been developed to obtain consistent estimates of the component functions [math]\displaystyle{ f_{jk} }[/math] when the predictors are observed with errors having unknown distribution.

Continuously Additive Model

Model

Since the number of time points on an interval domain is uncountable, an unrestricted time-additive model [math]\displaystyle{ E(Y|X)=\sum_{\{t\in[0,T]\}}f_t(X(t)) }[/math] is not feasible. Thus a sequence of time-additive models is considered on an increasingly dense finite time grid [math]\displaystyle{ t_1,t_2,...,t_m }[/math] in [math]\displaystyle{ T }[/math] leading to

[math]\displaystyle{ E(Y|X(t_1 ),...,X(t_m))= E(Y)+\sum_{j=1}^mf_j(X_{t_j}) }[/math] where [math]\displaystyle{ f_j(\cdot)=g(t_j,\cdot) }[/math] for a smooth bivariate function [math]\displaystyle{ g }[/math] with [math]\displaystyle{ E(\{g(t_j,X(t_j)\})=0 }[/math] (to ensure identifiability). In the limit [math]\displaystyle{ m\rightarrow\infty }[/math] this becomes the continuously additive model
[math]\displaystyle{ E(Y|X)=E(Y)+\lim_{m\to\infty}\frac{1}{m}\sum_{j=1}^mg\{t_j,X(t_j)\}=E(Y)+\int_{T}g\{t,X(t)\}dt. }[/math]

Special Cases

Generalized Functional Linear Model

For [math]\displaystyle{ g\{t,X(t)\}=\beta(t)\{X(t)-EX(t)\} }[/math] the model reduces to generalized functional linear model

Functional Transformation Model

For non-Gaussian predictor process, [math]\displaystyle{ g\{t,X(t)\}=\beta(t)[\zeta\{X(t)\}-E\zeta\{X(t)\}, }[/math] where [math]\displaystyle{ \zeta }[/math] is a smooth transformation of [math]\displaystyle{ X(t) }[/math] reduces CAM to a Functional Transformation model.

Extensions

This model has also been introduced with a different notation under the name Functional Generalized Additive Model (FGAM). Adding a link function [math]\displaystyle{ h }[/math] to the mean-response and applying a probability transformation [math]\displaystyle{ G_t }[/math] to [math]\displaystyle{ X(t) }[/math] yields the FGAM given by

[math]\displaystyle{ h(E(Y|X)=\theta_0+\int_{T}F[G_t\{X_i(t)\},t]dt, }[/math]

where [math]\displaystyle{ \theta_0 }[/math] is the intercept.
Note: For estimation and implementation see[2][3]

References

  1. Müller and Yao (2008). "Functional Additive Models". Journal of the American Statistical Association 103 (484): 1534–1544. doi:10.1198/016214508000000751. 
  2. 2.0 2.1 Müller, Wu and Yao (2013). "Continuously Additive models for nonlinear functional regression". Biometrika 100 (3): 607–622. doi:10.1093/biomet/ast004. 
  3. 3.0 3.1 McLean (2014). "Functional Generalized additive models". Journal of Computational and Graphical Statistics 23 (1): 249–269. doi:10.1080/10618600.2012.729985. PMID 24729671. 
  4. Han, Müller and Park (2017). "Smooth Backfitting for Additive Modeling with Small Errors-in-Variables, with an Application to Additive Functional Regression for Multiple Predictor Functions". Bernoulli.