Jump to content

Approximate entropy

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by 128.119.91.13 (talk) at 16:39, 16 December 2011 (Introduction). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Introduction

In statistics, an Approximate Entropy (ApEn) is a technique used to quantify the amount of regularity and the unpredictability of fluctuations over time-series data.[1]

For example, there are two series of data:

series 1: {10,20,10,20,10,20,10,20,10,20,10,20...}, which alternates 10 and 20.
series 2: {10,10,20,10,20,20,20,10,10,20,10,20,20...}, which has either a value of 10 or 20, randomly chose, each with probability 1/2.

Moment statistics, such as mean and variance, will not distinguish between these two series. Nor will rank order statistics distinguish between these series. Yet series 1 is "perfectly regular"; knowing one term has the value of 20 enables one to predict with certainty that the next term will have the value of 10. Series 2 is randomly valued; knowing one term has the value of 20 gives no insight into what value the next term will have.

Regularity was originally measured by exact regularity statistics, which has mainly centered around various entropy measures.[1] However, accurate entropy calculation requires vast amounts of data, and the results will be greatly influenced by system noise[2], therefore it is not practical to apply these methods to experimental data. ApEn was developed by Steve M. Pincus to handle these limitations by modifying an exact regularity statistic, K-S entropy. It was initially developed to analyze medical data, such as heart rate, and later spread its applications in finance[3] , psychology[4], and human factors engineering[5].

The Algorithm

: Form a time series of data . These are raw data values from measurement equally spaced in time.

: Fix , an integer, and , a positive real number. The value of represents the length of compared run of data, and specifies a filtering level.

: Form a sequence of vectors ,,...,, in , real -dimensional space defined by .

: Use the sequence ,,..., to construct, for each ,

in which is defined as

The are the scalar components of . represents the distance between the vectors and , given by the maximum difference in their respective scalar components.

: Define

,

where is the natural logarithm.

: Define Approximate Entropy as

for and fixed as in Step 2.

Parameter selection: typically choose or , and depends greatly on the application.

The Interpretation

The presence of repetitive patterns of fluctuation in a time series renders it more predictable than a time series in which such patterns are absent. ApEn reflects the likelihood that similar patterns of observations will not be followed by additional similar observations[6]. A time series containing many repetitive patterns has a relatively small ApEn; a less predictable (i.e. more complex) process has a higher ApEn.

One Example

Illustration of the Heart Rate Sequence

Suppose , and the sequence consists of 51 samples of heart rate equally spaced in time:

(i.e., the sequence is periodic with a period of 3). Let's choose and (the values of and can be varied without affecting the result).

Form a sequence of vectors:

Distance is calculated as follows:

Note , so

Similarly,

Therefore, such that include , and the total number is 16.

...

Please note in Step 4, for , . So the such that include , and the total number is 15.

Then we repeat the above steps for m=3. First form a sequence of vectors:

By calculating distances between vector , we find the vectors satisfying the filtering level have the following characteristic:

Therefore,

...

Finally,

The value is small, so it implies the sequence is regular and predictable, which is consistent with the observation.

Advantages

As pointed out by Pincus (1991)[2], the advantages of ApEn include:

Lower Computational Demand

ApEn can be designed to work for small data samples (n < 50 points) and can be applied in real time.

Less Noise Effects

If data are noisy, the ApEn measure can be compared to the noise level in the data to determine what quality of true information may be present in the data.

Limitations

ApEn algorithm counts each sequence as matching itself to avoid the occurrence of ln (0) in the calculations. This step might cause bias of ApEn. As argued by Richman and Moorman (2000)[7], this bias causes ApEn to lack two important expected properties in practice.

First, ApEn is heavily dependent on the record length and is uniformly lower than expected for short records.

Second, it lacks relative consistency. That is, if ApEn of one data set is higher than that of another, it should, but does not, remain higher for all conditions tested.

Reference

  1. ^ a b Pinus, S.M.; Gladstone, I.M.; Ehrenkranz, R.A. (1991). "A REGULARITY STATISTIC FOR MEDICAL DATA ANALYSIS". Journal of Clinical Monitoring and Computing. 7 (4): 335–345. doi:10.1007/BF01619355.
  2. ^ a b Pinus, S.M. (1991). "Approximate entropy as a measure of system complexity". Proceedings of the National Academy of Sciences. 88 (6): 2297–2301.
  3. ^ Pinus, S.M.; Kalman, E.K. (2004). "Irregularity, volatility, risk, and financial market time series". Proceedings of the National Academy of Sciences. 101 (38): 13709–13714.
  4. ^ Pinus, S.M.; Goldberger, A.L. (1994). "Physiological time-series analysis: what does regularity quantify?". The American journal of physiology. 266 (4): 1643–1656.
  5. ^ McKinley, R.A.; McIntire, L.K.; Schmidt, R; Repperger, D.W.; Caldwell, J.A. (2011). "Evaluation of Eye Metrics as a Detector of Fatigue". HUMAN FACTORS. 53 (4): 403–414. {{cite journal}}: Text "DOI:10.1177/0018720811411297" ignored (help)
  6. ^ Ho, K.K.; Moody, G.B.; Peng, C.K.; Mietus, J.E.; Larson, M.G.; levy, D; Goldberger, A.L. (1997). "Predicting survival in heart failure case and control subjects by use of fully automated methods for deriving nonlinear and conventional indices of heart rate dynamics". Circulation. 96 (3): 842–848. PMID 9264491.
  7. ^ Richman, J.S.; Moorman, J.R. (2000). "Physiological time-series analysis using approximate entropy and sample entropy". American journal of physiology. Heart and circulatory physiology. 278 (6): 2039–2049.