TL;DR
This paper introduces a novel ABC approach for stochastic differential equations that leverages spectral and invariant measure properties, improving inference for complex models like Hamiltonian SDEs, demonstrated on EEG data.
Contribution
It proposes a measure-preserving, property-based ABC method using spectral density and invariant measures, applicable to a broad class of SDEs with invariant distributions.
Findings
Effective inference on Hamiltonian SDEs demonstrated with simulated data.
Application to real EEG data shows practical utility.
Method enhances robustness of ABC in stochastic models.
Abstract
Approximate Bayesian Computation (ABC) has become one of the major tools of likelihood-free statistical inference in complex mathematical models. Simultaneously, stochastic differential equations (SDEs) have developed to an established tool for modelling time dependent, real world phenomena with underlying random effects. When applying ABC to stochastic models, two major difficulties arise. First, the derivation of effective summary statistics and proper distances is particularly challenging, since simulations from the stochastic process under the same parameter configuration result in different trajectories. Second, exact simulation schemes to generate trajectories from the stochastic model are rarely available, requiring the derivation of suitable numerical methods for the synthetic data generation. To obtain summaries that are less sensitive to the intrinsic stochasticity of the…
| MP1 | ||
| MP2 | ||
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Spectral Density-Based and Measure-Preserving ABC
for partially observed diffusion processes
An illustration on Hamiltonian SDEs
Evelyn Buckwar, Massimiliano Tamborrino, Irene Tubikanec
Institute for Stochastics
Johannes Kepler University Linz, Austria
Abstract
Approximate Bayesian Computation (ABC) has become one of the major tools of likelihood-free statistical inference in complex mathematical models. Simultaneously, stochastic differential equations (SDEs) have developed to an established tool for modelling time dependent, real world phenomena with underlying random effects. When applying ABC to stochastic models, two major difficulties arise. First, the derivation of effective summary statistics and proper distances is particularly challenging, since simulations from the stochastic process under the same parameter configuration result in different trajectories. Second, exact simulation schemes to generate trajectories from the stochastic model are rarely available, requiring the derivation of suitable numerical methods for the synthetic data generation. To obtain summaries that are less sensitive to the intrinsic stochasticity of the model, we propose to build up the statistical method (e.g., the choice of the summary statistics) on the underlying structural properties of the model. Here, we focus on the existence of an invariant measure and we map the data to their estimated invariant density and invariant spectral density. Then, to ensure that these model properties are kept in the synthetic data generation, we adopt measure-preserving numerical splitting schemes. The derived property-based and measure-preserving ABC method is illustrated on the broad class of partially observed Hamiltonian type SDEs, both with simulated data and with real electroencephalography (EEG) data. The proposed ingredients can be incorporated into any type of ABC algorithm and directly applied to all SDEs that are characterised by an invariant distribution and for which a measure-preserving numerical method can be derived.
Keywords
Approximate Bayesian Computation, Likelihood-free inference, Stochastic differential equations, Numerical splitting schemes, Invariant measure, Neural mass models
Acknowledgements
This research was partially supported by the Austrian Science Fund (FWF): W1214-N15, project DK14.
1 Introduction
Over the last decades, SDEs have become an established and powerful tool for modelling time dependent, real world phenomena with underlying random effects. They have been successfully applied to a variety of scientific fields, ranging from biology over finance, to physics, chemistry, neuroscience and others. Diffusion processes obtained as solutions of SDEs are typically characterised by some underlying structural properties whose investigation and preservation is crucial. Examples are boundary properties, symmetries or the preservation of invariants or qualitative behaviour such as the ergodicity or the conservation of energy. Here, we focus on a specific structural property, namely the existence of a unique invariant measure. Besides the modelling, it is of primary interest to estimate the underlying model parameters. This is particularly difficult when the multivariate stochastic process is only partially observed through a -dimensional function of its coordinates (the output process), a scenario that we tackle here. Moreover, due to the increasing complexity of SDEs, needed to understand and reproduce the real data, the underlying likelihood is often unknown or intractable. Among several likelihood-free inference approaches, we focus on the simulation-based ABC method. We refer to Marin et al. (2012) and to the recently published book “Handbook of Approximate Bayesian Computation” for an exhaustive discussion (Sisson et al. 2018).
ABC has become one of the major tools for parameter inference in complex mathematical models in the last decade. The method is based on the idea of deriving an approximate posterior density targeting the true (unavailable) posterior by running massive simulations from the model to replace the intractable likelihood. It was first introduced in the context of population genetics; see, e.g., Beaumont et al. (2002). Since then, it has been successfully applied in a wide range of fields; see, e.g., Barnes et al. (2012); Blum (2010a); Boys et al. (2008); McKinley et al. (2017); Moores et al. (2015); Toni et al. (2009). Moreover, ABC has also been proposed to infer parameters from time series models (see, e.g., Drovandi et al. 2016; Jasra 2015), state space models (see, e.g., Martin et al. 2019; Tancredi 2019) and SDE models (see, e.g., Kypraios et al. 2017; Maybank et al. 2017; Picchini 2014; Picchini and Forman 2016; Picchini and Samson 2018; Sun et al. 2015; Zhu et al. 2016). Several advanced ABC algorithms have been proposed in the literature, such as, ABC-SMC, ABC-MCMC, sequential-annealing ABC, noisy ABC; see, e.g., Fan and Sisson (2018) and the references therein for a recent review. The idea of the basic acceptance-rejection algorithm is to keep a sampled parameter value from the prior as a realisation from the approximate posterior, if the distance between the summary statistics of the synthetic dataset, which is generated conditioned on this parameter value, and the summaries of the original reference data is smaller than some tolerance level. The goal of this paper is to illustrate how building up the ABC method on the structural properties of the underlying SDE and using a numerical method capable to preserve them in the generation of the data from the model leads to a successful inference even when applying ABC in this basic acceptance-rejection form.
The performance of any ABC method depends heavily on the choice of “informative enough” summary statistics, a suitable distance measure and a proper tolerance level . The quality of the approximation improves as decreases, and it has been shown that, under some conditions, the approximated ABC posterior converges to the true one when (Jasra 2015). At the same time though, the computational cost increases when decreases. A possibility is to use ad-hoc threshold selection procedures; see, e.g., Barber et al. (2015); Blum (2010b); Lintusaari et al. (2017); Prangle et al. (2014); Robert (2016). Here, we fix the tolerance level as a percentile of the calculated distances. This is another common practice used, for example, in Beaumont et al. (2002); Biau et al. (2015); Sun et al. (2015); Vo et al. (2015). Instructions for constructing effective summaries and distances are rare and they depend on the problem under consideration; see, e.g., Fearnhead and Prangle (2012) for a semi-automatic linear regression approach, Jiang et al. (2017) for an automatic construction approach based on training deep neural networks and Blum (2010b); Prangle (2018) for two recent reviews. To avoid the information loss caused by using non-sufficient summary statistics another common procedure is to work with the entire dataset; see, e.g., Jasra (2015); Sun et al. (2015). This requires the application of more sophisticated distances such as the Wasserstein metric (Bernton et al. 2019; Muskulus and Verduyn-Lunel 2011) or other distances designed for time series; for an overview see, e.g., Mori et al. (2016) and the references therein.
When working with stochastic models, simulations from the stochastic simulator, conditionally to the same parameter configuration, yield different trajectories. To consider summary statistics that are less sensitive to the intrinsic stochasticity of the model (Wood 2010), we choose them based on the structural property of an underlying invariant measure. The idea is to map the data, i.e., the realisations of the output process, to an object that is invariant for repeated simulations under the same parameter setting and that reacts sensitive to small changes in the parameters. In particular, we map the data to their estimated invariant density and invariant spectral density, taking thus the dependence structure of the dynamical model into account. The distance measure can then be chosen according to the mapped data.
As other simulation-based statistical methods, e.g., MCMC, SMC or machine learning algorithms, ABC relies on the ability of simulating data from the model. However, the exact simulation from complex stochastic models is rarely possible, and thus numerical methods need to be applied. This introduces a new level of approximation into the ABC framework. When the statistical method is build upon the structural properties of the underlying model, the successful inference can only be guaranteed when these properties are preserved in the synthetic data generated from the model. However, the issue of deriving a property-preserving numerical method when applying ABC to SDEs is usually seen as not so relevant, and it is usually recommended to use the Euler-Maruyama scheme or one of the higher order approximation methods described in Kloeden and Platen (1992); see, e.g., Picchini (2014); Picchini and Forman (2016); Picchini and Samson (2018); Sun et al. (2015). In general, these standard methods do not preserve the underlying structural properties of the model; see, e.g., Ableidinger et al. (2017); Malham and Wiese (2013); Moro and Schurz (2007); Strømmen Melbø and Higham (2004).
Here, we propose to apply structure-preserving numerical splitting schemes within the ABC algorithm. The idea of these methods is to split the SDE into explicitly solvable subequations and to apply a proper composition of the resulting exact solutions. Standard procedures are, for example, the Lie-Trotter method and the usually more accurate Strang approach; see, e.g., Leimkuhler et al. (2016). Since the only approximation enters through the composition of the derived explicit solutions, numerical splitting schemes usually preserve the structural properties of the underlying SDE and accurately reproduce its qualitative behaviour. Moreover, they usually have the same order of convergence as the frequently applied Euler-Maruyama method and are likewise efficient. We refer to Blanes et al. (2009) and Mclachlan and Quispel (2002) for an exhaustive discussion of splitting methods for broad classes of ordinary differential equations (ODEs), which partially have already been carried over to SDEs; see, e.g., Misawa (2001) for a general class of SDEs, Ableidinger and Buckwar (2016) for the stochastic Landau-Lifshitz equations, Bréhier and Goudenège (2019) for the Allen-Cahn equation and Ableidinger et al. (2017) for Hamiltonian type SDEs.
The main contribution of this work lies in the combination of the proposed invariant measure-based summary statistics and the measure-preserving numerical splitting schemes within the ABC framework. We demonstrate that a simulation-based inference method, here ABC, can only perform well if the underlying simulation method preserves the structural properties of the SDE. While the use of preserving splitting schemes within the ABC method yield successful results, applying a general purpose numerical method, such as the Euler-Maruyama discretisation, may result in seriously wrong inferences. We illustrate the proposed Spectral Density-Based and Measure-Preserving ABC method on the class of stochastic Hamiltonian type equations for which the existence of an underlying unique invariant distribution and measure-preserving numerical splitting schemes have been already intensively studied in the literature; see, e.g., Ableidinger et al. (2017); Mattingly et al. (2002); Leimkuhler and Matthews (2015); Milstein and Tretyakov (2004). Hamiltonian type SDEs have been investigated in molecular dynamics, where they are typically referred to as Langevin equations; see, e.g., Leimkuhler and Matthews (2015). Recently, they have also received considerable attention in the field of neuroscience as the so-called neural mass models (Ableidinger et al. 2017).
The paper is organised as follows. In Section 2, we recall the acceptance-rejection ABC setting. We introduce the invariant measure-based summary statistics and propose a proper distance. We then discuss the importance of considering measure-preserving numerical schemes for the synthetic data generation when exact simulation methods are not applicable and provide a short introduction to numerical splitting methods. In Section 3, we introduce Hamiltonian type SDEs and recall two splitting integrators preserving the invariant measure of the model. In Section 4, we validate the proposed method by investigating the stochastic harmonic oscillator, for which exact simulation is possible. In Section 5, we apply the proposed ABC method to the stochastic Jansen and Rit neural mass model (JR-NMM). We refer to Jansen and Rit (1995) for the original version, an ODE with a stochastic input function, and to Ableidinger et al. (2017) for its reformulation as a Hamiltonian type SDE. This model has been reported to successfully reproduce EEG data. We illustrate the performance of the proposed ABC method with both simulated and real data. Final remarks, possible extensions and conclusions are reported in Section 6. Further illustrations of the proposed ABC method are available in the provided supplementary material, here reported as Section 7. A sample code used to generate the main results is available on github.
2 Spectral Density-Based and Measure-Preserving ABC for partially observed SDEs with an invariant distribution
Let be a complete probability space with the right-continuous and complete filtration . Let , , be a vector of relevant model parameters. We consider the following -dimensional, , non-autonomous SDE of Itô-type describing the time evolution of a system of interest
[TABLE]
The initial value is either deterministic or a -valued random variable, measurable with respect to . Here, is a -dimensional, , Wiener process with independent and -adapted components. We further assume that the drift component and the diffusion component fulfil the necessary global Lipschitz and linear growth conditions, such that the existence and the pathwise uniqueness of an -adapted strong solution process of (1) is guaranteed; see, e.g., Arnold (1974).
We aim to infer the parameter vector inherent in the SDE (1), when the -dimensional solution process X is only partially observed through the 1-dimensional and parameter-dependent output process
[TABLE]
where is a real-valued continuous function of the components of X.
Further, we assume a specific underlying structural model property, namely the existence of a unique invariant measure on of the output process , where denotes the Borel Sigma-algebra. The process has invariant density and mean, autocovariance and variance given by
[TABLE]
If the solution process X of SDE (1) admits an invariant distribution on , then the output process inherits this structural property by means of the marginal invariant distributions of . Furthermore, if , then the process evolves according to the distribution for all . Our goal is to perform statistical inference for the parameter vector of the SDE (1), when the solution process X is partially observed through discrete time measurements of the output process given in (2), by benefiting from the (in general unknown) invariant distribution satisfying (3).
2.1 The ABC method
Let , , be the reference data, corresponding to discrete time observations of the output process . Let us denote by and the prior and the posterior density, respectively. For multivariate complex SDEs, the underlying likelihood is often unknown or intractable. The idea of the ABC method is to derive an approximate posterior density for by replacing the unknown likelihood by possibly billions of synthetic dataset simulations generated from the underlying model (1) and mapped to through (2). The basic acceptance-rejection ABC algorithm consists of three steps: i. Sample a value from the prior ; ii. Conditionally on , simulate a new artificial dataset from the model (1) and derive the synthetic data , from the process given by (2); iii. Keep the sampled parameter value as a realisation from the posterior if the distance between a vector of summary statistics , of the original and the synthetic data is smaller than some threshold level , i.e., .
When and is a vector of sufficient statistics for , the acceptance-rejection ABC (summarised in Algorithm 1) produces samples from the true posterior . Due to the complexity of the underlying SDE (1), we cannot derive non-trivial sufficient statistics for . Moreover, due to the underlying stochasticity of the model, . Thus, is required to be strictly positive. Hence, the acceptance-rejection ABC Algorithm 1 yields samples from an approximated posterior according to
[TABLE]
Besides the tolerance level , which we fix as a percentile of the calculated distances, the quality of the ABC method depends strongly on the choice of suitable summary statistics combined with a proper distance measure and on the numerical method used to generate the synthetic data from the model. In the following, we introduce summaries that are very effective for the class of models having an underlying invariant distribution, we suggest a proper distance based on them and we propose the use of measure-preserving numerical splitting schemes.
2.2 An effective choice of summaries and distances: Spectral Density-Based ABC
When applying ABC to stochastic models, an important statistical challenge arises. Due to the intrinsic randomness, repeated simulations of the process under the same parameter vector may yield very different trajectories. An illustration is given in Figure 1 (top and middle panels), where we report two trajectories of the output process of the stochastic JR-NMM (25) generated with an identical parameter configuration. This model is a specific SDE of type (1), observed through as in (2), and admitting an invariant distribution satisfying (3). See Section 5 for a description of the model. In the top panel, we visualise the full paths for a time , while in the middle panel we provide a zoom, showing only the initial part.
Proposal 1: To use the property of an invariant measure and to map the data to their estimated invariant density and invariant spectral density .
Instead of working with the output process , we take advantage of the structural model property and focus on its invariant density and its invariant spectral density . Both are deterministic functions characterized by the underlying parameters , and thus invariant for repeated simulations under the same parameter configuration. The invariant spectral density is obtained from the Fourier transformation of the autocovariance function , and it is given by
[TABLE]
for . The angular frequency relates to the ordinary frequency via . Since both and are typically unknown, we estimate them from a dataset . First, we estimate the invariant density with a kernel density estimator, denoted by ; see, e.g., Pons (2011). Second, we estimate the invariant spectral density (4) with a smoothed periodogram estimator (Cadonna et al. 2017; Quinn et al. 2014), denoted by , which is typically evaluated at Fourier frequencies. Differently from the invariant density, the invariant spectral density does not account for the mean but captures the dependence structure of the data coming from the model. We define the invariant measure-based summary statistics of a dataset as
[TABLE]
Figure 1 shows the two estimated invariant densities (left lower panel) and invariant spectral densities (right lower panel), all derived from the full paths of the output process (top panel).
After performing the data mapping (5), which significantly reduces the randomness in the output of the stochastic simulator, the distance can be chosen among the distance measures between two -valued functions. Here, we consider the integrated absolute error (IAE) defined by
[TABLE]
Another natural possibility could be a distance chosen among the so-called f-divergences (see, e.g., Sason and Verdú 2016), or the Wasserstein distance, recently proposed for ABC (Bernton et al. 2019). Within the ABC framework (see Step in Algorithm 1), we suggest to use the following distance
[TABLE]
returning a weighted sum of the areas between the densities estimated from the original and the synthetic datasets. Here, is a weight that we assign to the part related to the IAE of the invariant densities such that the two errors are of the same “order of magnitude”. This is particularly needed because, differently from the invariant density, the invariant spectral density does not integrate to 1. We obtain a value for the weight by performing an ABC pilot simulation. It consists in reiterating the following steps times:
1:Draw from the prior
2:Conditionally on , simulate two artificial datasets
and from the output process
3:Compute the corresponding summaries (5), i.e., and
4:Determine a value for the weight using (7), i.e.,
Then, we take the median of the resulting values . See, e.g., Prangle (2017) for alternative approaches for the derivation of weights among summary statistics. Since the densities and are estimated at discrete points, the IAE (6) is approximated applying trapezoidal integration.
In Algorithm 1, we assume to observe datasets referring to realisations of the output process sampled at discrete points in time, resulting in a matrix of observed data. The median of the distances (7) computed for each of the datasets
[TABLE]
is then returned as a global distance in Step 7. Other strategies can be adopted. For example, considering the mean instead yields similar results in all our experiments. One can interpret as a long-time trajectory (when using simulated observed reference data) or as a long-time recording of the modelled phenomenon (when using real observed reference data) that is cut into pieces. Alternatively, would consist of M independent repeated experiments or simulations, when dealing with real or simulated data, respectively. As expected, having datasets improves the quality of the estimation due to the increased number of observations.
2.3 A new proposal of synthetic data generation: Measure-Preserving ABC
A crucial aspect of ABC and of all other simulation-based methods is the ability of simulating from the model (Step of Algorithm 1). Consider a discretized time grid with the equidistant time step and let be a realisation from the process , obtained through a numerical method, approximating at the discrete data points, i.e., . The lack of exact simulation schemes, i.e., , introduces a new level of approximation in the statistical inference. In particular, Algorithm 1 samples from an approximated posterior density of the form
[TABLE]
As a consequence, in Step of Algorithm 1 is replaced by its numerical approximation .
The commonly used Euler-Maruyama scheme yields discretised trajectories of the solution process X of the SDE (1) through (Kloeden and Platen 1992)
[TABLE]
where are Gaussian vectors with null mean and variance , where denotes the -dimensional identity matrix. As previously discussed, in general, the Euler-Maruyama method does not preserve the underlying invariant distribution .
Proposal 2: To adopt a numerical method for the synthetic data generation that preserves the underlying invariant measure of the model.
We apply numerical splitting schemes within the ABC framework and provide a brief account of their theory. Let us assume that the drift and the diffusion of SDE (1) can be written as
[TABLE]
The goal is to decompose and in a way such that the resulting subequations
[TABLE]
for , can be solved exactly. Note that, the terms can be null, resulting in deterministic equations (ODEs). Let denote the exact solutions (flows) of the above subequations at time and starting from . Once these explicit solutions are derived, a proper composition needs to be applied. Here we use the Strang approach
[TABLE]
that provides a numerical solution for the original SDE (1).
In Figure 2, we illustrate how the numerical splitting method preserves the underlying invariant measure of the weakly damped stochastic harmonic oscillator (23), independently from the choice of the time step . This is a specific SDE of type (1), observed through as in (2) and with a known invariant distribution . See Section 3 for the detailed numerical splitting scheme and Section 4 for a description of the model. In contrast, the Euler-Maruyama scheme performs worse as increases. Each subplot shows a comparison of the true invariant density (blue solid lines) and the corresponding kernel estimate based on a path from the model, generated from the measure-preserving numerical splitting scheme (22) (dashed orange lines) or the Euler-Maruyama approach (dotted green lines). The data are generated under and different values for the time step, namely , , .
2.4 Notation
We apply the summary statistics (5) and the distance (8) in Algorithm 1. We use the notation Algorithm 1 (i) for the Spectral Density-Based ABC method when the synthetic data are simulated exactly, Algorithm 1 (ii) for the Spectral Density-Based and Measure-Preserving ABC method when a measure-preserving numerical splitting scheme is applied and Algorithm (1) (iii) when we generate the data with the non-preserving Euler-Maruyama scheme.
To evaluate the performance of the proposed ABC method, we analyse the marginal posterior densities, denoted by , , obtained from the posterior density corresponding to , or , depending on whether we obtain it from Algorithm 1 (i), (ii) or (iii). Following this notation, we define by the marginal ABC posterior means.
3 An illustration on Hamiltonian type SDEs
We illustrate the proposed ABC approach on Hamiltonian type SDEs and define the -dimensional (, ) stochastic process
[TABLE]
consisting of the two -dimensional components
[TABLE]
where denotes the transpose. The -dimensional SDE of Hamiltonian type with initial value and -dimensional () Wiener process W describes the time evolution of the process X by
[TABLE]
We denote with the -dimensional zero matrix and with and the gradient with respect to and , respectively. The SDE (10) consists of parts, each representing a specific type of behaviour. In this configuration, the first is the Hamiltonian part involving given by
[TABLE]
where is a diagonal matrix. The second is the linear damping part, described by the matrix . The third is the non-linear displacement part, consisting of the non-linear and globally Lipschitz continuous function . The fourth corresponds to the diffusion part, given by .
3.1 Structural model property
Under the requirement of non-degenerate matrices , and , i.e., strictly positive diagonal entries, Hamiltonian type SDEs as in (10) are often ergodic. As a consequence, the distribution of the solution process X (and thus of the output process ) converges exponentially fast towards a unique invariant measure on (and thus on ; see, e.g., Ableidinger et al. (2017) and the references therein.
3.2 Measure-Preserving numerical splitting schemes
Two splitting approaches for SDE (10) are provided, see Ableidinger et al. (2017). Due to the non-linear term , the SDE (10) cannot be solved explicitly. With the purpose of excluding , the Hamiltonian type SDE (10) is split into the two subsystems
[TABLE]
[TABLE]
where denotes the -dimensional zero vector. This results in the linear SDE with additive noise (11) and the non-linear ODE (12) that can be both explicitly solved. Indeed, since and , Subsystem (11) can be rewritten as
[TABLE]
with and B=\left(\begin{array}[]{c}\mathbb{O}_{d}\\ \Sigma_{\theta}\end{array}\right). The exact path of System (13) is obtained through
[TABLE]
where are -dimensional Gaussian vectors with null mean and variance , where the matrix follows the dynamics of the matrix-valued ODE
[TABLE]
see Arnold (1974). Moreover, since the non-linear term depends only on the component Q, the exact path of Subsystem (12) is obtained through
[TABLE]
We apply the Strang approach given by
[TABLE]
where and denote the exact solutions (14) and (16) of (11) and (12), respectively. Hence, given , we obtain the next value by applying the following three steps:
1:X_{b}=X(t_{i})+\left(\begin{array}[]{c}0_{d}\\ \frac{\Delta}{2}G(Q(t_{i});\theta)\end{array}\right)
2:
3:X(t_{i+1})=X_{a}+\left(\begin{array}[]{c}0_{d}\\ \frac{\Delta}{2}G(Q_{a};\theta)\end{array}\right)
The derivation of the two subsystems is not unique. For example, another possibility is to combine the stochastic term with the non-linear part, yielding the subsystems
[TABLE]
[TABLE]
The exact path of (18) is given by
[TABLE]
while the exact path of (19) is obtained through
[TABLE]
where are -dimensional Gaussian vectors with null mean and variance . The Strang approach is now given by
[TABLE]
where and denote the exact solutions (20) and (21) of (18) and (19), respectively. Thus, given , the next value is obtained via:
1:
2:X_{d}=X_{c}+\left(\begin{array}[]{c}0_{d}\\ \Delta G(Q_{c};\theta)+\Sigma_{\theta}\cdot\xi_{i}\end{array}\right)
3:
3.3 Implementation details
The ABC procedure is coded in the computing environment R (R Development Core Team 2011), using the package Rcpp (Eddelbuettel and François 2011), which offers a seamless integration of R and C++, drastically reducing the computational time of the algorithms. The code is then parallelised using the R-packages foreach and doParallel, taking advantage of the for-loop in the algorithm. All simulations are run on the HPC cluster RADON1, a high-performing multiple core cluster located at the Johannes Kepler University Linz. To obtain smoothed periodogram estimates, we apply the R-function spectrum. It requires the specification of a smoothing parameter span. In all our experiments, we use span . In addition, we avoid using a logarithmic scale by setting the log parameter to “no”. To obtain kernel estimates of the invariant density, we apply the R-function density. Here, we use the default value for the smoothing bandwidth bw and set the number of points at which the invariant density has to be estimated to n. The invariant spectral density is estimated at the default values of the spectrum function. A sample code is publicly available on github at https://github.com/massimilianotamborrino/sdbmpABC.
4 Validation of the proposed ABC method when exact simulation is possible
In this section, we illustrate the performance of the proposed ABC approach on a model problem (weakly damped stochastic harmonic oscillator) of Hamiltonian type (10) with vanishing non-linear displacement term . Linear SDEs of this type reduce to (13) and allow for an exact simulation of sample paths through (14). Therefore, we can apply the Spectral Density-Based ABC Algorithm 1 (i) under the optimal condition of exact, and thus -preserving data generation. Its performance is illustrated in Subsection 4.2. To investigate how the numerical error in the synthetic data generation impinges on the ABC performance, in Subsection 4.3 we compare with the posterior densities and obtained from Algorithm 1 (ii) and (iii) using the measure-preserving numerical splitting scheme (22) and the non-preserving Euler-Maryuama method (9), respectively.
4.1 Weakly damped stochastic harmonic oscillator: The model and its properties
We investigate the -dimensional Hamiltonian type SDE
[TABLE]
with strictly positive parameters , and . Depending on the choice of and , (23) models different types of harmonic oscillators, which are common in nature and of great interest in classical mechanics. Here, we focus on the weakly damped harmonic oscillator, satisfying the condition . Our goal is to estimate assuming that the solution process is partially observed through the first coordinate, i.e., . An illustration of the performance of Algorithm 1 (i) for the critically damped case satisfying , when only the second coordinate is observed, is reported in the supplementary material. The solution process X of SDE (23) is normally distributed according to
[TABLE]
with and introduced in (13) and (15), respectively. The invariant distribution of the solution process X is given by
[TABLE]
Consequently, the structural property of the output process becomes
[TABLE]
and the stationary dependency is captured by the autocovariance function
[TABLE]
where .
4.2 Validation of the Spectral Density-Based ABC Algorithm 1 (i)
To compare the performances of Algorithm 1 (i)-(iii) on the same data, we consider the same observed paths simulated with the exact scheme (14), using a time step over a time interval of length . As true parameters for the simulation of the reference data, we choose
[TABLE]
We use the exact simulation scheme (14) to generate synthetic datasets in and with the same time step as the observed data. We choose independent uniform priors, in particular,
[TABLE]
The tolerance level is chosen as the percentile of the calculated distances. Hence, we keep of all the sampled values for . In all the considered examples (see also the supplementary material), the performance of the ABC algorithms for the estimation of the parameters of SDE (23) does not improve when incorporating the information of the invariant densities into the distance (7). This is because the mean of the invariant distribution (24) is zero. Hence, to reduce the computational cost, we set and base our distance only on the invariant spectral density, estimated by the periodogram.
Figure 3 (top panels) shows the marginal ABC posterior densities (blue lines) and their flat uniform priors (red lines). The proposed ABC Algorithm 1 (i) provides marginal posterior densities centred around the true values , represented by the black vertical lines. The posterior means are given by
[TABLE]
In the lower panels of Figure 3, we report the pairwise scatterplots of the kept ABC posterior samples. Note that, since the kept values of are uncorrelated with those of the other parameters, the support of the obtained marginal posterior density is approximately the same as when estimating only or (cf. supplementary material). Vice versa, since the kept ABC posterior samples of the parameters and are correlated, the support of is larger than that obtained when estimating . Despite this correlation, Algorithm 1 (i) allows for a successful inference of all the three parameters.
4.3 Validation of the Spectral Density-Based and Measure-Preserving ABC Algorithm 1 (ii)
In Figure 4, we report the approximated marginal posteriors (blue solid lines) and (orange dashed lines) obtained with the same priors, , , , and as before, for different values of the time step . In particular, we choose (top panels), (middle panels) and (lower panels). The posteriors obtained from Algorithm 1 (ii) successfully targets , even for a time step as large as . On the contrary, Algorithm 1 (iii) is not even applicable. Indeed, the numerical scheme computationally pushes the amplitude of the oscillator towards infinity, resulting in a computer overflow, i.e., . Thus, neither nor can be computed and the density cannot be derived.
As a further illustration of the poor performance of the Euler-Maruyama scheme, even for smaller choices of , we now consider the simplest possible scenario where we only estimate one parameter, namely . We set , , percentile and we choose a uniform prior . To be able to derive , we simulate the synthetic data using the Euler-Maruyama method with the time steps , and . Figure 5 shows the three ABC posterior densities (blue solid lines), (orange dashed lines) and (green dotted lines) for the different choices of . The horizontal red lines and the black vertical lines denote the uniform prior and the true parameter value, respectively. In all cases, Algorithm 1 (iii) does not lead to a successful inference. In addition, these results are not stable for the different choices of , and the derived ABC posterior density may not even cover the true parameter value.
5 Validation of the Spectral Density-Based and Measure-Preserving ABC Algorithm 1 (ii) on simulated and real data
We now illustrate the performance of Algorithm 1 (ii) by applying it to the stochastic JR-NMM. We rely on the efficient numerical splitting scheme (17) to guarantee measure-preserving synthetic data generation within the ABC framework. After estimating the parameters from simulated data, we infer them from real EEG data. In the available supplementary material, we illustrate the performance of Algorithm 1 (ii) also on the non-linear damped stochastic oscillator, an extended version of the weakly damped harmonic oscillator discussed in Section 4.
5.1 The stochastic Jansen and Rit neural mass model
The stochastic JR-NMM describes the electrical activity of an entire population of neurons through their average properties by modelling the interaction of the main pyramidal cells with the surrounding excitatory and inhibitory interneurons. The model has been reported to successfully reproduce EEG data, and is applied in the research of neurological disorders such as epilepsy or schizophrenia (Wendling et al. 2000, 2002). The model is a -dimensional SDE of the form
[TABLE]
where the -dimensional solution process is given by with the two components and . None of the coordinates of X is directly observed. Only the difference between the second and third coordinates can be measured with EEG-recording techniques, yielding the output process
[TABLE]
In (25), the diagonal diffusion matrix is given by =diag with coefficients , . The matrix =diag is also diagonal with coefficients , representing the time constants of the excitatory and inhibitory postsynaptic potentials, respectively. The non-linear displacement term is given by
[TABLE]
where the sigmoid function Sigm: is defined as
[TABLE]
with referring to the maximum firing rate of the neural populations, describing the value for which of the maximum firing rate is attained and denoting the slope of the sigmoid function at . The parameters entering in are , , and , . The coefficients and describe the average excitatory and inhibitory synaptic gain, respectively. The parameters are internal connectivity constants, which reduce to only one parameter , by using the relations , , and ; see Jansen and Rit (1995).
5.2 Parameter inference from simulated data
Not all model parameters of the JR-NMM are of biological interest or can be simultaneously identified. For example, the noise coefficients and were introduced mainly for mathematical convenience in Ableidinger et al. (2017). To guarantee the existence of a unique invariant measure on , they are required to be strictly positive. However, from a modelling point of view, only the parameter plays a role. Hence, we fix and . The coefficients , , , , , and have been experimentally recorded; see, e.g., Jansen et al. (1993); Jansen and Rit (1995); van Rotterdam et al. (1982). Thus, we fix them according to these values reported, for example, in Table of Ableidinger et al. (2017). In contrast, the connectivity parameter , which represents the average number of synapses between the neural subpopulations and controls to what extent the main population interacts with the interneurons, varies under different physiological constraints. Changing allows, for example, a transition from -rhythmic activity to epileptic spiking behaviour; see, e.g., Ableidinger et al. (2017). Here, we focus on the -rhythmic activity. Since the parameters and are new in the SDE version (25), they have not yet been estimated. They can be interpreted as stochastic and deterministic external inputs coming from neighbouring or more distant cortical columns, respectively. Thus, together with the internal connectivity parameter , they are of specific interest. Before inferring , we take into account the coefficients and to discuss a model-specific issue of identifiability.
5.2.1 Identifiability issues: The detection of an invariant manifold, i.e., a set of parameters yielding the same type of data
For the original JR-NMM, it has been shown that different combinations of the parameters , and yield the same type of output, namely the -rhythmic brain activity. Applying the proposed Spectral Density-Based and Measure-Preserving ABC Algorithm 1 (ii) for the inference of , with given and , we confirm that the same non identifiability arises for the SDE version (25). We choose observed paths generated assuming
[TABLE]
as suggested in the literature (Jansen and Rit 1995). The reference and synthetic data are generated over a time interval of length and using a time step . Within the algorithm, we generate synthetic datasets. We choose the weight in (7) according to the procedure introduced in Subsection 2.2 (based on iterations) and fix the tolerance level percentile. Further, we choose independent uniform prior distributions, namely
[TABLE]
Figure 6 (top panels) shows the marginal ABC posterior densities and the uniform prior densities . Clearly, the parameters cannot be inferred simultaneously. The kept ABC posterior values of the parameters , and are strongly correlated, as observed in the pairwise scatterplots (middle panels) and in the -dimensional scatterplot (two different views, lower panels). The cuboid covers all possible values for drawn from the prior. After running the ABC algorithm, the kept values of from the ABC posterior form an invariant manifold, in the sense that all the parameter values lying on this manifold yield similar paths of the output process. This is shown in Figure 7, where we report four trajectories that have been simulated with the same random numbers but using the parameters (green dot in Figure 6) and three of the kept ABC posterior samples lying on the invariant manifold (red, orange and grey dots in Figure 6). A segment of is split in the top and middle panels. In addition, we visualise the corresponding estimated invariant densities (bottom left) and invariant spectral densities (bottom right). This explains why the parameters , and are not simultaneously identifiable from the observed data. Since the internal connectivity parameter has an important neuronal meaning, in the following we assume and to be known and infer . The estimation of when is known is reported in the supplementary material.
5.2.2 Inference of
Now, we keep the same ABC setting as before and choose independent uniform priors according to
[TABLE]
The reference data are simulated under
[TABLE]
In Figure 8, we report the marginal ABC posterior densities (blue lines), the uniform prior densities (red lines) and the true parameter values (black vertical lines). We obtain unimodal posterior densities, centred around the true parameter values. The posterior density of is slightly broader compared to that obtained when is known (cf. Figure 19 of the supplementary material). This results from a weak correlation that we detect among the kept ABC posterior samples of the parameters and (figures not reported). The posterior means are equal to
[TABLE]
and are thus close to . These results suggest an excellent performance of the proposed Spectral Density-Based and Measure-Preserving ABC Algorithm 1 (ii).
Similar satisfactory results are obtained even when adding a fourth parameter, for example, when inferring (cf. Figure of the supplementary material). When applying Algorithm 1 (ii) to real EEG data (cf. Figure of the supplementary material), the marginal posterior for is centred around the value , which is that reported in the literature. Due to the existence of underlying invariant manifolds, identifiability issues, similar to those reported in Figure 6, arise when adding further or other coefficients, revealing model-specific issues for the stochastic JR-NMM.
To illustrate again the importance of the structure-preservation within the ABC method, we now apply Algorithm 1 (iii) combined with the Euler-Maruyama scheme (9). We use the same conditions as before, except for a smaller time step used for the generation of the observed reference data with the Euler-Maruyama method aiming for a realistic data structure. In Figure 9, we report the marginal ABC posterior densities (top panels) and the uniform prior densities. In the -dimensional scatterplot of Figure 9 (lower panel), the green dots in the middle of the cuboid represent the kept ABC posterior samples when applying Algorithm 1 (ii) (see the previous results reported in Figure 8), which are nicely spread-out around the true parameter vector (black dot). The red dots correspond to the kept ABC posterior samples from . Hence, Algorithm 1 (iii) based on the Euler-Maruyama scheme provides a posterior that is far off from the true parameter vector.
5.3 Parameter inference from real EEG data
Finally, we use the Spectral Density-Based and Measure-Preserving ABC Algorithm 1 (ii) to estimate the parameter vector of the stochastic JR-NMM from real EEG recordings. We use -rhythmic recordings, rescaled to a realistic range. The EEG data were sampled according to a sampling rate of 173.61 Hz, i.e., a time step of approximately over a time interval of length s. All measurements were carried out with a standardised electrode placement scheme; see Andrzejak et al. (2001) for further information on the data111The data are available on: http://ntsa.upf.edu/downloads/andrzejak-rg-et-al-2001-indications-nonlinear-deterministic-and-finite-dimensional. Figure 10 shows the first seconds of one of the observed EEG datasets. Here, we simulate synthetic paths from the output process of the stochastic JR-NMM (25) over the same time interval as the real data, with a time step and percentile. We choose independent uniform priors according to
[TABLE]
Figure 11 shows the resulting marginal ABC posterior densities and the uniform prior densities . All ABC marginal posteriors are unimodal, with means given by
[TABLE]
Since and have not been estimated before, we cannot compare the obtained results with those available in the literature. The ABC posterior density for is centred around that is the reference literature value for -rhythmic EEG data.
In Figure 12, we report the first seconds of a trajectory of the output process of the fitted stochastic JR-NMM (25), generated with the numerical splitting scheme (17), choosing and . Note how the path shows a similar oscillatory behaviour as in Figure 10. This is confirmed by noting the satisfactory matches between the invariant densities (bottom left) and the invariant spectral densities (bottom right) estimated from the EEG recording (red dashed lines) and from the fitted model (blue solid lines). The match is poor only for low frequencies of the invariant spectral density, even when choosing broader priors. This may result from a lack of fit of the JR-NMM or of stationarity in the considered EEG data. A deeper investigation of the model and of its ability in reproducing real EEG data is currently under investigation, but it is out of the scope of this work.
6 Conclusion
When performing parameter inference through ABC, crucial and non-trivial tasks are to propose suitable summary statistics and distances to compare the observed and the synthetic datasets. When the underlying models are stochastic, repeated simulations from the same parameter setting yield different outputs, making the comparison between the observed and the synthetic data more difficult. To derive summary statistics that are less sensitive to the intrinsic randomness of the stochastic model, we propose to map the data to their invariant density and invariant spectral density, estimated by a kernel density estimator and a smoothed periodogram, respectively. By doing this, different trajectories of the output process are mapped to the same objects only when they are generated from the same underlying parameters, provided that all parameters are simultaneously identifiable. These transformations are based on the existence of an underlying invariant measure for the model, fully characterised by the parameters. A necessary condition of ABC, and of all other simulation-based methods, is the ability to generate data from the model. This is often taken for granted but, in general, it is not the case. Indeed, exact simulation is rarely possible and property-preserving numerical methods have to be derived.
The combination of the measure-preserving numerical splitting schemes and the use of the spectral density-based distances in the ABC algorithm leads to a successful inference of the parameters, as illustrated on stochastic Hamiltonian type equations. We validated the proposed ABC approach on both linear model problems, allowing for an exact simulation of the synthetic data, and non-linear problems, including an application to real EEG data. Our choice of the crucial ingredients (summary statistics and distances based on the underlying invariant distribution and a measure-preserving numerical method) yields excellent results even when applied to ABC in its basic acceptance-rejection form. However, they can be directly applied to more advanced ABC algorithms. In contrast, the ABC method based on the Euler-Maruayma scheme drastically fails. Its performance may improve for “small enough” time steps. However, there is a trade-off between the runtime and the acceptance performance of Algorithm 1 (iii). Indeed, the simulation of one trajectory with a time step requires approximately hundred times more than the generation of one trajectory using a time step . Hence, a runtime of a few hours would turn to months. In addition, even for “arbitrary small” time steps, one cannot guarantee that the Euler-Maruyama scheme preserves the underlying invariant measure. For these reasons, it is crucial to base our ABC method on the reliable measure-preserving numerical splitting scheme combined with the invariant measure-based distances. Our results were discussed in the case of an observable 1-dimensional output process. However, the approach can be directly applied to -dimensional output processes, , as long as the underlying SDEs are characterised by an invariant distribution and a measure-preserving numerical method can be derived. In particular, one can compute the distances in (8) for each of the components and derive a global distance by combining them, e.g., via their sum. Moreover, to account for possible dependences between the observed components, one can incorporate the cross-spectral densities which are expected to provide further information resulting in an improvement of the performance of the method. An investigation in this direction is currently undergoing. Finally, our proposed ABC method may be also used to investigate invariant manifolds characterised by sets of parameters yielding the same type of data, as illustrated on the stochastic JR-NMM. This may result in a better understanding of the qualitative behaviour of the underlying model and its ability of reproducing the true features of the modelled phenomenon.
7 Supplementary Material
In this supplementary material, we extend the illustration of the performance of the proposed ABC approach by more examples. In particular, we consider two additional SDEs. First, the critically damped harmonic oscillator (23), fulfilling , for which an exact simulation of sample paths is possible, allowing for a validation of Algorithm 1 (i). Second, a non-linear weakly damped stochastic oscillator, for which we need to apply a measure-preserving numerical splitting scheme, and thus investigate Algorithm 1 (ii). Moreover, we also report the simultaneous inference of the new parameters in the stochastic JR-NMM (25), when the connectivity parameter is known (while in the main manuscript, we estimate ). Finally, we report the estimation of , based on both simulated and real EEG data.
7.1 Validation of the Spectral Density-Based ABC Algorithm 1 (i)
We denote by Model Problem (MP1) the critically damped harmonic oscillator obtained from (23) with (introduced below), and with Model Problem (MP2) the weakly damped harmonic oscillator, satisfying (see Section 4 of the main manuscript). Figure 13 shows two realisations of the output process of MP1 generated with the same choice of parameters. Figure 14 shows two paths of the output process of MP2 simulated under the same parameter setting. We perform a step by step investigation of Algorithm 1 (i), starting with the estimation of one single model parameter and closing with the successful inference of all parameters.
7.1.1 Critically damped stochastic harmonic oscillator: The model and its properties
We recall the harmonic oscillator (23), focusing on the critically damped case, i.e., . We assume that the -dimensional process is partially observed through the second component, i.e., . The invariant distribution of the process X is given by
[TABLE]
Consequently, the invariant distribution of the output process equals
[TABLE]
and the autocovariance function is given by
[TABLE]
7.1.2 Task 1: Inferring one parameter
At first, we estimate one specific parameter of the model problems, keeping the others fixed. For MP1, we set and fix . For MP2, we focus on , fixing and . The ABC Algorithm 1 (i) is applied to both model problems with observed paths simulated with the exact scheme (14) using a time step over a time interval of length . In addition, we generate synthetic datasets over the same time domain with equal time steps using the exact simulation scheme (14). We set the tolerance level to percentile of the calculated distances. Furthermore, we choose uniform prior distributions according to
[TABLE]
We use the same parameter setting as in Figure 13 and Figure 14 for the simulation of the observed reference datasets. In particular, the true parameter values are
[TABLE]
In Figure 15, we report the results obtained from the proposed Spectral Density-Based ABC Algorithm 1 (i). The left panel (referring to MP1) and the right panel (referring to MP2) show the ABC posterior densities (blue lines). The horizontal red and vertical black lines denote the prior densities and the true parameter values, respectively. It is remarkable how the flat uniform prior densities are updated by means of the observed data resulting in narrow and unimodal posterior densities that are centered around the true parameter values. The ABC posterior means for this and the other scenarios (i.e. the inference of two and three parameters) are reported in Table 1.
7.1.3 Task 2: Inferring two parameters
We aim for the simultaneous estimation of two parameters, keeping the parameter fixed in MP2. In particular, we consider for MP1 and for MP2. We apply Algorithm 1 (i) combined with the exact scheme (14) under the same values for , and as before. Now, we generate synthetic datasets and fix percentile of the calculated distances, keeping the same number of ABC posterior samples as before. We choose the independent uniform priors according to
[TABLE]
The true parameter values are
[TABLE]
The ABC marginal posterior densities (blue lines) are reported in the left and middle panels of Figure 16 for MP1 (top panels) and MP2 (lower panels), while the right panels of Figure 16 show the scatterplots of the kept ABC posterior samples. Also in this case, the posteriors are unimodal and centered around the true parameter values. Note that, the support of for MP2 is approximately the same as in Figure 15, suggesting that, in the case of inferring two parameters, the proposed ABC method is able to identify the same region for as in the case of estimating one parameter. The reason is that the kept ABC posterior samples of and are not correlated, as it can be observed in the right lower panel of Figure 16. On the contrary, the support of for MP1 is broader than in Figure 15, due to a correlation among the kept ABC posterior samples of and (cf. right top panel of Figure 16). In spite of this, the ABC marginal posterior density resembles that derived when estimating only one parameter (cf. left panel of Figure 15).
7.1.4 Task 3: Inferring three parameters
The last goal is the simultaneous inference of all the three parameters of MP2.222Task 3 is already presented in Subsection 4.2 of the main manuscript. For completeness, we recall it here. In Figure 3 (top panels) we report the ABC marginal posterior densities (blue lines) and the prior densities (red lines). In the lower panels, we show the pairwise scatterplots of the kept ABC posterior samples. The kept posterior values of turned out to be not correlated with those of the other two parameters, yielding approximately the same support as in Figure 15 and Figure 16. Similar to MP1, the kept ABC posterior samples of and are correlated (cf. right lower panel of Figure 3), leading to a support for broader than that in Figure 16. The ABC marginal posterior densities shown in Figures 3, 15 and 16, and the results reported in Table 1 highlight the good performance of the proposed Spectral Density-Based ABC Algorithm 1 (i) under the optimal condition of exact, and thus measure-preservative data simulation from the underlying model.
7.2 Validation of the Spectral Density-Based and Measure-Preserving ABC Algorithm 1 (ii) on an extended version of MP2
We now consider an extended non-linear version of the previously studied Model Problem . Due to the non-linearity in the model, an exact simulation scheme is not available. Hence, we consider the measure-preserving numerical splitting scheme (17), and thus investigate the performance of Algorithm 1 (ii).
7.2.1 A non-linear weakly damped stochastic oscillator
We consider a stochastic oscillator that incorporates a high-amplitude sine wave represented by the non-linear displacement term . In particular, we study the -dimensional SDE
[TABLE]
with the strictly positive parameters . The condition guarantees a weak damping. The -dimensional solution process is partially observed through the first coordinate, i.e., . Figure 17 shows two realisations of the output process generated with the same choice of parameters.
7.2.2 Parameter inference from simulated data
We assume to observe paths of the output process simulated with the measure-preserving numerical scheme (17) over a time interval of length using a time step and the same true parameter values as in Figure 17, i.e.,
[TABLE]
We then use the same and to generate synthetic datasets within ABC. We further choose the tolerance level percentile of the calculated distances, set in (7) and use independent uniform prior distributions
[TABLE]
Figure 18 shows the ABC marginal posterior densities . They are unimodal, narrow and centered around the true parameter values. The ABC posterior means are given by
[TABLE]
In spite of the presence of the non-linear term , the inference via Algorithm 1 (ii) yields results similar to those obtained for MP2 when applying Algorithm 1 (i) under the exact data generation.
7.3 Application of the Spectral Density-Based and Measure-Preserving ABC Algorithm 1 (ii) for the inference of the new parameters of the stochastic JR-NMM
We now estimate of the stochastic JR-NMM (25) (see Section 5 of the main manuscript). These are new parameters introduced by Ableidinger et al. (2017) in the SDE reformulation of the original JR-NMM (Jansen and Rit 1995). Differently from the other parameters, these parameters have not yet been estimated in the literature. Here, we fix and apply Algorithm 1 (ii) with , , and . We fix percentile of the calculated distances and choose uniform prior distributions according to
[TABLE]
The true parameter values used to generate the observed data are given by
[TABLE]
Figure 19 shows the ABC marginal posterior densities (left and middle top panels) obtained by applying the Spectral Density-Based and Measure-Preserving ABC Algorithm 1 (ii). The posteriors are centered around the true parameter values, leading to marginal ABC posterior means given by
[TABLE]
From the scatterplot of the kept ABC posterior samples of and (right top panel), we conclude that they are not correlated. The successful performance of the proposed ABC approach is also visible by looking at the contour plot of the ABC posterior density (lower panel). Indeed, the proposed algorithm is able to detect a plain region of posterior values for around .
7.4 Application of the Spectral Density-Based and Measure-Preserving ABC Algorithm 1 (ii) for the inference of of the stochastic JR-NMM
We now demonstrate that we obtain satisfactory results even when inferring the four parameters of the stochastic JR-NMM (25). Since the parameters of main interest are , and , in the main manuscript (see Section ) we did not take into account the well-reported coefficient , which takes the value in the literature; see, e.g., Jansen and Rit (1995) and the references therein.
7.4.1 Inference from simulated data
We start with inferring from simulated data and apply Algorithm 1 (ii) for , , and . We fix percentile and use the following uniform priors
[TABLE]
[TABLE]
The reference data is generated under
[TABLE]
In Figure 20, we report the marginal ABC posterior densities , which are again centered around the true parameter values. The marginal posterior means are given by
[TABLE]
7.4.2 Inference from real EEG data
Finally, we infer from real EEG data. Algorithm 1 (ii) is applied under the same conditions as in Subsection 5.3 of the main manuscript, except fixing percentile of calculated distances and choosing the uniform priors according to
[TABLE]
[TABLE]
Figure 21 shows the unimodal marginal ABC posterior densities , yielding posterior means given by
[TABLE]
Focusing on the coefficient , the corresponding marginal posterior density is centered around , which is the value reported in the literature.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1Ableidinger and Buckwar (2016) Ableidinger, M., Buckwar, E.: Splitting Integrators for the Stochastic Landau–Lifshitz Equation. SIAM J. Sci. Comput. 38, A 1788–A 1806 (2016)
- 2Ableidinger et al. (2017) Ableidinger, M., Buckwar, E., Hinterleitner, H.: A Stochastic Version of the Jansen and Rit Neural Mass Model: Analysis and Numerics. J. Math. Neurosci. 7(8) (2017)
- 3Andrzejak et al. (2001) Andrzejak, R. G., Lehnertz, K., Mormann, F., Rieke, C., David, P., Elger, C. E.: Indications of nonlinear deterministic and finite-dimensional structures in time series of brain electrical activity: Dependence on recording region and brain state. Phys. Rev. E 64, 061907 (2001)
- 4Arnold (1974) Arnold, L.: Stochastic differential equations: theory and applications. Wiley, New York (1974)
- 5Barber et al. (2015) Barber, S., Voss, J., Webster, M.: The rate of convergence for approximate Bayesian computation. Electron. J. Stat. 9(1), 80–105 (2015)
- 6Barnes et al. (2012) Barnes, C., Filippi, S., Stumpf, M., Thorne, T.: Considerate approaches to constructing summary statistics for ABC model selection. Stat. Comput. 22(6), 1181–1197 (2012)
- 7Beaumont et al. (2002) Beaumont, M. A., Zhang, W., Balding, D. J.: Approximate Bayesian Computation in Population Genetics. Genetics 162(4), 2025–2035 (2002)
- 8Bernton et al. (2019) Bernton, E., Jacob, P. E., Gerber, M., Robert, C. P.: Approximate Bayesian computation with the Wasserstein distance. J. Roy. Stat. Soc. B (2019)
