Next Article in Journal
Design Techniques for Low-Voltage RF/mm-Wave Circuits in Nanometer CMOS Technologies
Next Article in Special Issue
Chinese Geomagnetic Reference Field 2020 by the Revised Surface Spline Method
Previous Article in Journal
Development of a System Dynamics Simulation for Assessing Manufacturing Systems Based on the Digital Twin Concept
Previous Article in Special Issue
Wavelet Model of Geomagnetic Field Variations and Its Application to Detect Short-Period Geomagnetic Anomalies
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Processing Non-Gaussian Data Residuals in Geomagnetism

by
Andrey Khokhlov
1,2
1
Geophysical Center RAS, 3, Molodezhnaya St., 119296 Moscow, Russia
2
IEPT Russian Academy of Sciences, 84/32, Profsoyuznaya, 117997 Moscow, Russia
Appl. Sci. 2022, 12(4), 2097; https://doi.org/10.3390/app12042097
Submission received: 14 December 2021 / Revised: 2 February 2022 / Accepted: 11 February 2022 / Published: 17 February 2022

Abstract

:

Featured Application

A possible application of the data processing method described below is to separate noise due to external effects from noise due to the limited accuracy of the sensor itself. Such a model may reveal the need for a calibration process and impose some statistical constraints on external effects.

Abstract

Some time ago, we considered non-Gaussian shapes of histograms of quantities that were related to residuals in data: we showed at a qualitative level that non-Gaussianity is most likely the result of mixing of Gaussian distributions. In this addendum, we argue that there is a quantitative description that can be used in fairly general situations. Briefly, we present here the same magnetic measurement data that were reported in the original publication: Khokhlov, A.; Hulot, G. On the cause of the non-Gaussian distribution of residuals in geomagnetism. Geophys. J. Int. 2017, 209, 1036–1047.

1. Introduction

Observations of long-term natural processes, in particular magnetometry, at first sight, fully meet the initial requirements of mathematical statistics and, thus, the methods of this scientific discipline are widely used in data processing. At the same time, the characteristic of deviation (from mean values, baseline, mean scatter of instrument readings, etc.), which is usually referred to as the residual term, is important enough for estimating the quality of observations. Corresponding statistics are related to the simplest statistical formula, which works fine in theory in the situation of fairness of the Gaussian hypothesis for the recorded data. The same hypothesis, at first sight, should be fulfilled in the situation of vector magnetic measurements because the observed value of the magnetic vector is always a sum of magnetic influences from many local and global sources, and the distribution law for sums of random variables is predicted by the Central Limit Theorem of Probability Theory, which states that under rather simple conditions, the sum of many independent random influences is very well approximated by the Gaussian law.
Therefore, it is a common opinion that in processing observational data and calculating the characteristics of these data (for example, calculating the mean value of the residual), we can use Gaussian statistics without any restrictions and there is no reason to doubt the numerical value of the answer, which corresponds to the RMS deviation σ of a Gaussian random variable. However, the stationary nature of natural fluctuations can be assumed only with respect to specific time intervals: magnetic field measurements over a relatively short time can include significant nonstationarity of external factors—seasonal variations, magnetic storms, the presence of specific technological disturbances, etc. Thus, the idea that the observational series is just a sample of the general population corresponding to a fixed Gaussian random variable will generally give a very unrealistic picture. A more adequate model seems to be that of a mixture of random variables differing in parameters, and parameter variations are described by a separate random variable whose value distribution can be neglected only in a stationary situation.
Earlier, the general approach was outlined in the article [1] for the example of real magnetic data, referring, however, not to ground-based magnetic observations, but to observations of magnetic satellites of the project Swarm, crossing different intensities of magnetic fields. In this case, in a relatively small time interval, it is possible to collect a lot of data that reflect random field variations, the corresponding data model was substantiated in detail in [1].
In the present article, we will consider the computations and, for the convenience of understanding the statistical model of variability, we will refer to exactly the same data as in [1]. The difference in the method of processing a large volume of SWARM magnetometer data and a large volume of observatory magnetometer data is insignificant for the explanation of the method as such.
Recall that typical appropriate statistical assumptions are being made with respect to the distribution of the uncertainties σ i affecting the data used. The statistical properties of these uncertainties, however, are not always well characterized. In such circumstances, assuming that uncertainties follow a Gaussian distribution would a priori make sense, since such a distribution often arises naturally as a consequence of the central limit theorem (i.e., when errors act in an additive manner). Relying on this assumption, and provided that s i is an adequate measure of the error affecting the datum γ i , standard statistical estimations are then used to infer the model. The normalized residuals γ i γ ^ i s i ( here γ ^ i being the datum value predicted by the model) are expected to follow a standard normal distribution.
Yet, residuals of geomagnetic observations of an arbitrary type often display a sharper distribution, sometimes much closer to that of the so-called Laplace distribution (e.g., [2,3,4,5]). We suggested in [1] that residuals may be incorrectly normalized and, therefore, their common statistical distribution is a mixture of Gaussian distributions. In particular, we demonstrated in [1] several examples of the variability in σ determination that indeed lead to the non-Gaussian shape of the histogram. Thus, we assume that the observable residual θ is a mixture of individual Gaussian random variables with zero expectations and random variances β 2 . In the present short note, we argue that the distribution of the random variable β can be well approximated by the lognormal distribution with pdf
f β ( t ) = 1 t s 2 π exp ln 2 t 2 s 2
We also provide the method that recovers the value of s in the real data case.

2. Mixture Model

2.1. The Unformal Interpretation

The mixture model is appropriate for the situation when the data are inhomogeneous, for instance, they come from several locations such that each region slightly perturbs the assumed data distribution law, i.e., the corresponding distribution formulae differ slightly in their parameters. In practice, we often face an even simpler situation: each set of regional data is Gaussian with mean zero but the corresponding σ -value depends on the region. However, we rarely can select the region with absolutely homogeneous data in it; therefore, we better simulate these situations by means of sequential small perturbations of the initially homogeneous Gaussian population. Can the limit distribution be described given the very small intermediate perturbations?
Of course, the model of successive repeated small random perturbations applied to a stationary process is only one of many possible ones. However, this model allows statistical estimation of residuals in a simple and straightforward computational procedure and eventually allows the model data to be simulated in order to compare them with the actually observed data. Relevant comparison procedures are available in nonparametric statistics, such as the well-known Kolmogorov–Smirnov test.
The statistical Kolmogorov–Smirnov criterion on large samples is very sensitive and therefore can certainly indicate more subtle effects, even of non-random nature, present in the data.

2.2. Version of the General Formula

If ζ is an arbitrary random variable with density f ζ , then for fixed y 0 > 0 , the ratio ζ / y 0 has density f ζ ( x y 0 ) y 0 , see also (see, e.g., [6]). Let now the denominator not be fixed but a positive random variable with density g η , then, we obtain the pdf for this ratio
h ( x ) = 0 + f ζ ( x y ) y g η ( y ) d y
We may now compare the mixture of unbiased Gaussian distributions (i.e., with pdf f α = N ( 0 , σ 2 ) ) by randomizing their standard deviations using a random variable β > 0 :
f θ ( x ) = 1 2 π 0 exp 1 2 x 2 t 2 t 1 f β ( t ) d t = 0 1 2 π exp 1 2 y 2 x 2 y g η ( y ) d y
Obviously, f θ can be interpreted as the pdf of the ratio.
For instance, recall the following example of [1]: the uniform mixture of unbiased Gaussian distributions with standard deviations varying between 0 and 1, i.e., mixing pdf is
f β ( t )   =   1 0 < t < 1 0 otherwise
We may treat that mixture as the ratio of standard Gaussian α divided by η —the inverse of the uniform distribution:
g η ( y )   =   1 y 2 y > 1 0 y 1

2.3. Sequential Small Mixtures

The small multiplicative randomization is described in terms of a random β > 0 with pdf f β 0 out of [ 1 ε , 1 + ε ] for some small ε , we may assume β = e δ where expectancy E ( δ ) 0 and variance D ( δ ) ε 2 . For the sequential small mixtures (with independent β i ), we obtain the ratio
α η 1 · η 2 · η m = α e i m δ i
However, under the mild conditions, the distribution of i m δ i rapidly converges to a Gaussian distribution N ( a , s 2 ) with a 0 and s i m ε i 2 . Thus, the limit pdf for sequential arbitrary, but small mixtures can be approximated by
f θ ( x ) = 0 1 t σ 2 π exp 1 2 x 2 t 2 σ 2 1 t s 2 π exp ( ln t a ) 2 2 s 2 d t , a 0
If we rescale x x σ in this expression, then we obtain the representation for f θ x σ ; we also apply the change of variables t σ t = u and derive another formula of f θ ( x ) in terms of N ( 0 , 1 ) :
f θ ( x ) = 0 1 t σ 2 π exp 1 2 x 2 t 2 σ 2 1 t s 2 π exp ln 2 t 2 s 2 d t
for some suitable parameters s and σ .
Of course, the model of successive repeated small random perturbations applied to a stationary process is only one of many possible ones. However, this model allows statistical estimation of residuals in a simple and straightforward computational procedure and eventually allows the model data to be simulated in order to compare them with the actually observed data.

3. Method: Real Data Analysis

As in [1], we consider the absolute scalar data acquired by two of the Swarm satellites (Satellites Alpha and Bravo) at quasi-latitudes ranging between + 55 and 55 , and computed residuals with respect to the so-called VFM model of [7]: for the the array S T 1 of one-day std of residuals, take a look at Figure 1 borrowed from our article. Rescale this array S T 1 as r σ 1 r = y where σ 1 = mean ( S T 1 ) and r S T 1 ; by virtue of Equation (2), the array y i is expected to obey the lognormal distribution with parameter s 1 (see Equation (3)) and we can directly calculate σ 1 and s 1 .
Now, repeat all these computations for arrays S T 0.25 , S T 0.5 , S T 0.75 (i.e., corresponding to time intervals of 0.25 to 0.75 days). The results are as follows:
  • S T 1 : Satellite A σ 1 = 2.41 s 1 = 0.33 , Satellite B σ 1 = 2.40 s 1 = 0.36
  • S T 0.75 : Satellite A σ 0.75 = 2.34 s 0.75 = 0.36 , Satellite B σ 0.75 = 2.35 s 0.75 = 0.39
  • S T 0.5 : Satellite A σ 0.5 = 2.22 s 0.5 = 0.39 , Satellite B σ 0.5 = 2.21 s 0.5 = 0.46
  • S T 0.25 : Satellite A σ 0.25 = 1.99 s 0.25 = 0.43 , Satellite B σ 0.25 = 1.96 s 0.25 = 0.49
As often happens, a limited amount of lognormal data cannot provide stable statistical estimates. So, what are the “true values” of s and σ ? To answer this question, let us use the following well-known method of the statistical moments of θ , namely:
E | θ | = + | x | f θ ( x ) d x = 0 + | x | 1 t σ 2 π exp 1 2 x 2 t 2 σ 2 d x · 1 t s 2 π exp ln 2 t 2 s 2 ] d t = 0 σ 2 π · t 1 t s 2 π exp ln 2 t 2 s 2 d t = σ 2 π E β = σ 2 π e s 2 / 2 E θ 2 = + x 2 f θ ( x ) d x = 0 E α 2 · t 2 1 t s 2 π exp ln 2 t 2 s 2 d t = σ 2 E β 2 = σ 2 e 2 s 2
Thus, we obtain the explicit expressions of the unknown parameters
s 2 = ln 2 π + ln E θ 2 2 ln E | θ | σ 2 = π 2 4 · ( E | θ | ) 4 E θ 2
In practice, we recover from real data the estimates of the moments E θ 2 , E | θ | and then get (the estimates of) the unknown parameters.
The satellite scalar data [7] cover a little less than a year (between 29 November 2013 and 25 September 2014) and were further selected following a number of criteria, among which magnetically quiet and night-time conditions, to ensure that as little as possible non-modeled external signal is included in the data. This resulted in 42,160 data points for the Alpha satellite and 42,175 for the Bravo satellite. These data can be expected to reflect the signal of the field of internal origin the model tries to model, any other source of signal being treated as a source of noise acting on top of the very low instrumental and satellite noise (less than 0.3 nT, see [8,9,10]).
We may now add the quantitative details of the data distribution to the qualitative analysis of it that was published in [1]: namely, using formula (4), we may now recover the estimates of the parameters s and σ (the latter can be treated as an estimate for the “inner precision” of measurements); Figure 2 actually confirms the fact that this close-to-Laplacian distribution indeed can be represented as the result of a lognormal mixture according to formula (3).

4. Discussion

In general, the study of the behavior of residuals in the case of magnetic observations is aimed at quantifying the accuracy of instrumental measurements and to quantify external influences, which are calculated differently in the Gaussian data model and in the mixed model.
As part of the reasoning for the applicability of the aforementioned mixture model in case of SWARM data, it appears that for moderate amounts of data ( N 10 3 ), the KS test does not reject the model; nevertheless, as N grows to several tens of thousands measurements, the model clearly does not exhaust the complexity of inhomogeneous effects available in the SWARM magnetic data and is therefore formally rejected by the KS criterion.
An important detail related to our model is that we assume a continuous mixture and obtain its analytic form. This is certainly an idealistic assumption, which needs not be absolutely true, especially if we have strong discrete effects in the magnetic data: for example, if we consider daytime and nighttime observations simultaneously. In this case, we are better off using a probabilistic model, which assumes that all data points appear from a mixture of a finite number of Gaussian distributions with unknown parameters. Fortunately, when the number of Gaussian distributions involved is known (at least approximately), then a well-known EM algorithm can provide (via maximum likelihood estimation) the parameters of the corresponding discrete statistical model.

5. Conclusions

This purely numerical approach is not new, but in the present study, we consider an assumption that seems to be a rather novel approach to practical residuals. Which approach is more appropriate depends on the specific situation. For example, the continuous analytical formula given above gives hope that in the case of ground-based magnetic observations over a relatively short time interval, our methods for calculating the unsteadiness will prove to be a useful refinement and, at the same time, allow us to isolate subtle effects of unsteady field behavior.

Funding

This work was conducted in the framework of budgetary funding of the Geophysical Center of Russian Academy of Sciences, adopted by the Ministry of Science and Higher Education of the Russian Federation.

Data Availability Statement

The data used in this study have already been published in [1,7].

Conflicts of Interest

The author declares no conflict of interest.

References

  1. Khokhlov, A.; Hulot, G. On the cause of the non-Gaussian distribution of residuals in geomagnetism. Geophys. J. Int. 2017, 209, 1036–1047. [Google Scholar] [CrossRef]
  2. Jackson, A.; Jonkers, A.R.T.; Walker, M.R. Four centuries of geomagnetic secular variation from historical records. Philos. Trans. R. Soc. Lond. A 2000, 358, 957–990. [Google Scholar] [CrossRef]
  3. Panovska, S.; Finlay, C.C.; Donadini, F.; Hirt, A. Spline analysis of Holocene sediment magnetic records: Uncertainty estimates for field modeling. JGR Solid Earth 2012, 117, B02101. [Google Scholar] [CrossRef]
  4. Panovska, S.; Korte, M.; Finlay, C.C.; Constable, C.G. Limitations in paleomagnetic data and modelling techniques and their impact on Holocene geomagnetic field models. Geophys. J. Int. 2015, 202, 402–418. [Google Scholar] [CrossRef]
  5. Walker, M.R.; Jackson, A. Robust modelling of the Earth’s magnetic field. Geophys. J. Int. 2000, 143, 799–808. [Google Scholar] [CrossRef] [Green Version]
  6. Feller, W. An Introduction to Probability Theory and Its Applications, 3rd ed.; Wiley: New York, NY, USA, 1971; Volume 2. [Google Scholar]
  7. Vigneron, P.; Hulot, G.; Olsen, N.; Léger, J.M.; Jager, T.; Brocco, L.; Sirol, O.; Coïsson, P.; Lalanne, X.; Chulliat, A.; et al. A 2015 International Geomagnetic Reference Field (IGRF) Candidate Model Based on Swarms Experimental Absolute Magnetometer Vector Mode Data. Earth Planets Space 2015, 67, 95. [Google Scholar] [CrossRef] [Green Version]
  8. Fratter, I.; Léger, J.M.; Bertrand, F.; Jager, T.; Hulot, G.; Brocco, L.; Vigneron, P. Swarm Absolute Scalar Magnetometers first in-orbit results. Acta Astronaut. 2016, 121, 76–87. [Google Scholar] [CrossRef]
  9. Léger, J.M.; Jager, T.; Bertrand, F.; Hulot, G.; Brocco, L.; Vigneron, P.; Lalanne, X.; Chulliat, A.; Fratter, I. In-flight performances of the absolute scalar magnetometer vector mode on board the Swarm satellites. Earth Planets Space 2015, 67, 57. [Google Scholar] [CrossRef] [Green Version]
  10. Olsen, N.; Hulot, G.; Lesur, V.; Finlay, C.C.; Beggan, C.; Chulliat, A.; Sabaka, T.J.; Floberghagen, R.; Friis-Christensen, E.; Haagmans, R.; et al. The Swarm Initial Field Model for the 2014 geomagnetic field. Geophys. Res. Lett. 2015, 42, 1092–1098. [Google Scholar] [CrossRef] [Green Version]
Figure 1. Standard deviations (in nT) computed every day for the mid-latitude residuals of the Swarm scalar data used to compute the VFM model of Vigneron et al. (2015). Blue large dots: data from the Swarm Alpha satellite and red dots: data from the Swarm Bravo satellite. Days are counted in Julian days, with 1 January 2000 taken as the reference.
Figure 1. Standard deviations (in nT) computed every day for the mid-latitude residuals of the Swarm scalar data used to compute the VFM model of Vigneron et al. (2015). Blue large dots: data from the Swarm Alpha satellite and red dots: data from the Swarm Bravo satellite. Days are counted in Julian days, with 1 January 2000 taken as the reference.
Applsci 12 02097 g001
Figure 2. Left: Histogram of the residuals (circles) of the Swarm Alpha scalar data used to compute the VFM model [7] together with histogram (triangles) of an identical number of simulated mixture of Gaussian distributions according to the parameters s = 0.41 , σ = 2.18 recovered from the real data; right: the same plots but for the Swarm Bravo scalar data, parameters s = 0.47 and σ = 2.10 .
Figure 2. Left: Histogram of the residuals (circles) of the Swarm Alpha scalar data used to compute the VFM model [7] together with histogram (triangles) of an identical number of simulated mixture of Gaussian distributions according to the parameters s = 0.41 , σ = 2.18 recovered from the real data; right: the same plots but for the Swarm Bravo scalar data, parameters s = 0.47 and σ = 2.10 .
Applsci 12 02097 g002
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Khokhlov, A. Processing Non-Gaussian Data Residuals in Geomagnetism. Appl. Sci. 2022, 12, 2097. https://doi.org/10.3390/app12042097

AMA Style

Khokhlov A. Processing Non-Gaussian Data Residuals in Geomagnetism. Applied Sciences. 2022; 12(4):2097. https://doi.org/10.3390/app12042097

Chicago/Turabian Style

Khokhlov, Andrey. 2022. "Processing Non-Gaussian Data Residuals in Geomagnetism" Applied Sciences 12, no. 4: 2097. https://doi.org/10.3390/app12042097

APA Style

Khokhlov, A. (2022). Processing Non-Gaussian Data Residuals in Geomagnetism. Applied Sciences, 12(4), 2097. https://doi.org/10.3390/app12042097

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop