Long-range dependence
By approximating a long-range dependent process using a mixture of four AR(1) processes we are able to achieve efficient and accurate Bayesian inference. This methodology was used to model global mean surface temperature.
1. Background
After finishing my master's thesis at NTNU in September 2016, I started my PhD at UiT The Arctic University of Norway, under the supervision of Sigrunn Holbek Sørbye (UiT), and co-supervision of Håvard Rue (KAUST) and Martin Rypdal (UiT). The main aim of my PhD thesis was to develop an efficient approximation of long-memory processes that allows for fast Bayesian inference, and to use this methodology to analyze global mean surface temperature records. In addition to my supervisors, I also collaborated with Hege-Beate Fredriksen (UiT) and Kristoffer Rypdal (UiT).
2. Introduction
2.1. Fractional Gaussian noise
Long-range dependence (LRD) or long memory is a property relating to the rate of decay of statistical dependence of two observations as the distance between them increases. A common definition for long-memory behavior is given by a hyperbolic (as opposed to an exponential) decay of the autocovariance function.
Here, measures the degree of long-range dependence and is commonly referred to as the Hurst exponent. The exponent is named after H.E. Hurst, who, while studying the storage requirements of reservoirs on the Nile River, observed that the rescaled range statistic of hydrological records followed a power-law (Hurst, 1951), which could not be explained using contemporary short memory models. Hurst's results led to increased interest in the topic, and both hydrologists and mathematicians tried to find theoretical explanations of the so-called Hurst phenomenon.
A major breakthrough came with the introduction of fractional Brownian motion and its increment process, fractional Gaussian noise (fGn), by Mandelbrot and van Ness (1968). This is a process with an autocovariance function that decays hyperbolically
The fractional Gaussian noise has since become a widely used model for long-memory behaviour, with applications in fields such as hydrology, dendrochronology, finance, among others. For my thesis I focused on applications in climate science, specifically on global mean surface temperature records, where long memory has been observed (Rypdal and Rypdal, 2016; Rybski et al., 2006; Lovejoy and Schertzer, 2013; Huybers and Curry, 2006; Franzke, 2010; Fredriksen and Rypdal, 2016).
2.2. Efficient Bayesian inference
It can be shown (see e.g. Theorem 2.2 in Rue and Held, 2005) that if two variables and , in a Gaussian random field , are conditionally independent given the other variables in the field, , the corresponding term in the precision matrix is zero, i.e. . Thus, if has a high degree of conditional independence we say that it is a Gaussian Markov random field (GMRF) and the precision matrix (inverse covariance matrix) will then be sparse. For example, since each node of an AR(1) process is only conditionally dependent on its immediate predecessor it is a GMRF with a tridiagonal precision matrix.
The sparse precision matrix associated with the Markov property allows for many efficient algorithms for key operations to be utilized. This includes computing the log-likelihood (Rue, 2001), performing Cholesky factorization and producing samples. This is particularly important for Bayesian inference, where the posterior distributions are typically evaluated using time-consuming sampling-based methods such as Markov chain Monte Carlo (MCMC). The Markov property allows for these methods to be implemented more efficiently, but also allows for more efficient alternatives such as integrated nested Laplace approximations (INLA, Rue et al., 2009). INLA utilizes the sparse structure of the precision matrix to compute the posterior marginal distributions numerically, foregoing the need for sampling.
Unlike Markov processes like the AR(1), long-memory processes exhibit persistent correlations over extended time periods, where each variable is conditionally dependent on all other variables. This means that the precision matrix is dense, and key inference algorithms have a computational cost that scales cubically with the number of observations, making them impractical for large datasets. In simple cases it is possible to exploit the Toeplitz structure of the covariance matrix to achieve cost, but in many situations, such as when we have inhomogeneous variance, the Toeplitz structure breaks and the cost increases to . This motivates the need for an approximate model that can capture the long range dependence of the fGn process while retaining the Markov property, allowing for efficient inference algorithms to be utilized.
Granger (1980) showed that if the lag-one autocorrelation parameter of an AR(1) process is sampled from a beta distribution the aggregation of AR(1) processes would exhibit long-range dependence according to a fractionally integrated process. It should therefore, in theory, be possible to express an fGn process through a mixture of short memory processes, which would grant the Markov property and possibly reduce computational cost.
Unfortunately, as pointed out by Haldrup and Vera-Valdés (2017), the number of AR(1) processes (with drawn from a beta distribution) required to exhibit long-range dependence is so large that any gains in the Markov property would be lost to the increase in variables associated with the high number of AR(1) processes, making a sampling-based approach impractical for inference.
3. AR(1) mixture approximation
In Sørbye et al. (2019) we propose a numerical approach to approximating long-range dependence by aggregating AR(1) processes. Specifically, we approximate the fGn process by:
where denote independent AR(1) processes with unit variance and lag-one correlation . To avoid a singular precision matrix for the joint GMRF we add a small noise term . Instead of drawing the lag-one parameters from a random distribution we instead used numerical optimization to find the weights and lag-one parameters which results in the autocorrelation function (acf), , which (up to a selected lag ) best approximates the target acf, , of an fGn with some Hurst exponent ,
Formally, the optimization problem can be expressed as:
and is repeated for all in a grid covering the persistent range, . The weighting term is used to give more importance to small lags in the optimization procedure, which are more important for estimation accuracy. The optimization yields a mapping from to a corresponding set of weights and lag-one autocorrelation parameters , which in turn gives us an approximate fGn process expressed as a mixture of AR(1) processes. We find that only using AR(1) processes in the aggregation provides excellent approximation of the autocorrelation function. We also find good estimation accuracy even for time series exceeding . See Sørbye et al. (2019) or Myrvoll-Nilsen (2020) for more details.
To fully exploit the computational advantages of a GMRF approximation of an fGn we formulate a latent Gaussian model, and perform full Bayesian inference using INLA through its implementation in R (r-inla.org). Being able to incorporate the model into the R-INLA framework allows us to easily add other model components such as seasonal trends and random effects. The model has since been incorporated into R-INLA as a standard model.
The approximate fGn model laid the foundation for my PhD thesis, and was subsequently applied to a number of real-world problems in climate science.
4. Incorporating radiative forcing
Reliable quantification of the global mean surface temperature (GMST) response to radiative forcing is essential for assessing the risk of dangerous anthropogenic climate change. For time scales ranging from months to centuries this response can be expressed as scale-invariant (Rypdal and Rypdal, 2016; Rybski et al., 2006; Lovejoy and Schertzer, 2013; Huybers and Curry, 2006; Franzke, 2010; Fredriksen and Rypdal, 2016), implying long memory properties.
To understand how radiative forcing affects the GMST we can use a simple energy balance model, which describes the change in heat content of the climate system as a function of the radiative forcing and the heat loss to space. This can be expressed as
and , where is the change in the system's heat content, is the heat capacity, is the temperature anomaly and is the feedback parameter. The forcing can be decomposed into a known component , and an unknown, stochastic component . By solving the energy balance model we find that the GMST can be expressed as the sum of two components. First, the response to known forcing
where is the Green's function. And second, an Ornstein-Uhlenbeck process which describes the response to the stochastic forcing component
When discretized, the stochastic component results in an AR(1) process. This model is, however, not consistent with observations (Rypdal and Rypdal, 2014) due to the slow climate response associated with the energy exchange with the deep ocean. This simple energy balance model can be extended to an -box model where heat is exchanged between 'boxes', representing different layers of the deep ocean. Mathematically, the -box model can be expressed as
Here, is a matrix representing the heat exchange between the boxes. As the number of boxes increases towards infinity, the Green's function can be expressed as a scale invariant response function (Fredriksen and Rypdal, 2017)
which means that the response to the stochastic component can be expressed as a fractional Gaussian noise process with Hurst exponent . Moreover, letting denote an unknown shift parameter in the known forcing, and and be scaling parameters for the stochastic and known forcing, respectively, we can express the GMST as
Since none of the default R-INLA models support this specific formulation we need to construct the latent model component using the custom modeling framework of R-INLA called rgeneric. To make the temperature response model easily accessible to other researchers we have developed a user-friendly R-package called INLA.climate, which takes care of the technical implementation of the model and allows users to easily fit the model to their data using R-INLA. This package is available at my GitHub repository: INLA.climate, and a demonstration and short description is also available under the 'Software' section of this website. A more detailed description and tutorial of this package can be found in Appendix A in my PhD thesis (Myrvoll-Nilsen, 2020).
5. Climate applications
There are several benefits of having the model specified through the R-INLA framework. For example, any missing values in the GMST will be imputed automatically using the posterior predictive distribution (but the known forcing has to be provided as input for all points). This also means that we can very easily use the model for prediction. In Myrvoll-Nilsen et al. (2020) we predict the GMST under the four Representation Concentration Pathways (RCP) provided by the Coupled Model Intercomparison Project (CMIP) for the period 2006-2100, and find that the model provides good predictive performance even for long-term predictions up to 100 years into the future.
In other applications we use the model to estimate both the transient climate sensitivity (Myrvoll-Nilsen et al., 2020) and the equilibrium climate sensitivity (Rypdal et al., 2018), which are key metrics for understanding the risk of dangerous anthropogenic climate change. In Myrvoll-Nilsen et al. (2019) we exploit the reduced computational cost in order to fit the model to all local temperature records in the spatio-temporal dataset, GISS Surface Temperature Analysis version 4 (GISTEMP v4) (GISTEMP Team, 2018; Lenssen et al., 2019).
6. Relevant publications in this field
References
- Franzke, C. (2010). Long-range dependence and climate noise characteristics of Antarctic temperature data. Journal of Climate, 23(22), 6074–6081. doi:10.1175/2010JCLI3654.1
- Fredriksen, H.-B. and Rypdal, K. (2016). Spectral characteristics of instrumental and climate model surface temperatures. Journal of Climate, 29(4), 1253–1268. doi:10.1175/JCLI-D-15-0457.1
- Fredriksen, H.-B. and Rypdal, M. (2017). Long-range persistence in global surface temperatures explained by linear multibox energy balance models. Journal of Climate, 30(18), 7157–7168. doi:10.1175/JCLI-D-16-0877.1
- GISTEMP Team (2018). GISS Surface Temperature Analysis (GISTEMP). NASA Goddard Institute for Space Studies. data.giss.nasa.gov/gistemp/
- Granger, C. W. J. (1980). Long memory relationships and the aggregation of dynamic models. Journal of Econometrics, 14(2), 227–238. doi:10.1016/0304-4076(80)90092-5
- Haldrup, N. and Vera-Valdés, J. E. (2017). Long memory, fractional integration, and cross-sectional aggregation. Journal of Econometrics, 199(1), 1–11. doi:10.1016/j.jeconom.2017.03.001
- Hurst, H. E. (1951). Long-term storage capacity of reservoirs. Transactions of the American Society of Civil Engineers, 116, 770–799. doi:10.1061/TACEAT.0006518
- Huybers, P. and Curry, W. (2006). Links between annual, Milankovitch and continuum temperature variability. Nature, 441, 329–332. doi:10.1038/nature04745
- Lenssen, N. J. L., Schmidt, G. A., Hansen, J. E., Menne, M. J., Persin, A., Ruedy, R. and Zyss, D. (2019). Improvements in the GISTEMP uncertainty model. Journal of Geophysical Research: Atmospheres, 124(12), 6307–6326. doi:10.1029/2018JD029522
- Lovejoy, S. and Schertzer, D. (2013). The Weather and Climate: Emergent Laws and Multifractal Cascades. Cambridge University Press.
- Mandelbrot, B. B. and van Ness, J. W. (1968). Fractional Brownian motions, fractional noises and applications. SIAM Review, 10(4), 422–437. doi:10.1137/1010093
- Myrvoll-Nilsen, E. (2020). Efficient Bayesian analysis of long memory processes applied to climate. PhD thesis, UiT The Arctic University of Norway. doi:https://hdl.handle.net/10037/18148
- Myrvoll-Nilsen, E., Fredriksen, H.-B., Sørbye, S. H. and Rypdal, M. (2019). Warming trends and long-range dependent climate variability since year 1900: A Bayesian approach. Frontiers in Earth Science, 7, 214. doi:10.3389/feart.2019.00214
- Myrvoll-Nilsen, E., Sørbye, S. H., Fredriksen, H.-B., Rue, H. and Rypdal, M. (2020). Statistical estimation of global surface temperature response to forcing under the assumption of temporal scaling. Earth System Dynamics, 11(2), 329–345. doi:10.5194/esd-11-329-2020
- Rue, H. (2001). Fast sampling of Gaussian Markov random fields. Journal of the Royal Statistical Society: Series B, 63(2), 325–338. doi:10.1111/1467-9868.00288
- Rue, H. and Held, L. (2005). Gaussian Markov Random Fields: Theory and Applications. Chapman & Hall/CRC, Boca Raton.
- Rue, H., Martino, S. and Chopin, N. (2009). Approximate Bayesian inference for latent Gaussian models by using integrated nested Laplace approximations. Journal of the Royal Statistical Society: Series B, 71(2), 319–392. doi:10.1111/j.1467-9868.2008.00700.x
- Rybski, D., Bunde, A., Havlin, S. and von Storch, H. (2006). Long-term persistence in climate and the detection problem. Geophysical Research Letters, 33(6), L06718. doi:10.1029/2005GL025591
- Rypdal, K. and Rypdal, M. (2014). Long-memory effects in linear response models of Earth's temperature and implications for future global warming. Journal of Climate, 27(14), 5240–5258. doi:10.1175/JCLI-D-13-00296.1
- Rypdal, M. and Rypdal, K. (2016). Late Quaternary temperature variability described as abrupt transitions on a 1/f noise background. Earth System Dynamics, 7(1), 281–293. doi:10.5194/esd-7-281-2016
- Rypdal, M., Fredriksen, H.-B., Myrvoll-Nilsen, E., Rypdal, K. and Sørbye, S. H. (2018). Emergent scale invariance and climate sensitivity. Climate, 6(4), 93. doi:10.3390/cli6040093
- Sørbye, S. H., Myrvoll-Nilsen, E. and Rue, H. (2019). An approximate fractional Gaussian noise model with computational cost. Statistics and Computing, 29, 821–833. doi:10.1007/s11222-018-9843-1