ArticleslgStudy

mathematics

Sample entropy

Sample entropy is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Sample entropy rather than just read about it. In short: Sample entropy (SampEn; more appropriately K_2 entropy or Takens–Grassberger–Procaccia correlation entropy ) is a modification of approximate entropy (ApEn; more appropriately "Procaccia–Cohen entropy"), used for assessing the complexity of physiological and other time-series signals, diagnosing e.g. diseased states. SampEn has two advantages over ApEn: data length independence and a relatively trouble-free implemen…

Key takeaways

  • Sample entropy belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Sample entropy to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Sample entropy from memory before moving on to harder problems.

Reference excerpt

Sample entropy (SampEn; more appropriately K_2 entropy or Takens–Grassberger–Procaccia correlation entropy ) is a modification of approximate entropy (ApEn; more appropriately "Procaccia–Cohen entropy"), used for assessing the complexity of physiological and other time-series signals, diagnosing e.g. diseased states. SampEn has two advantages over ApEn: data length independence and a relatively trouble-free implementation. Also, there is a small computational difference: In ApEn, the comparison between the template vector (see below) and the rest of the vectors also includes comparison with itself. This guarantees that probabilities C i ′ m ( r ) {\displaystyle C_{i}'^{m}(r)} are never zero. Consequently, it is always possible to take a logarithm of probabilities. Because template comparisons with itself lower ApEn values, the signals are interpreted to be more regular than they actually are. These self-matches are not included in SampEn. However, since SampEn makes direct use of the correlation integrals, it is not a real measure of information but an approximation. The foundations and differences with ApEn, as well as a step-by-step tutorial for its application is available at. SampEn is indeed identical to the "correlation entropy" K_2 of Grassberger & Procaccia, except that it is suggested in the latter that certain limits should be taken in order to achieve a result invariant under changes of variables. No such limits and no invariance properties are considered in SampEn. There is a multiscale version of SampEn as well, suggested by Costa and others. SampEn can be used in biomedical and biomechanical research, for example to evaluate postural control.

Definition Like approximate entropy (ApEn), Sample entropy (SampEn) is a measure of complexity. But it does not include self-similar patterns as ApEn does. For a given embedding dimension m {\displaystyle m} , tolerance r {\displaystyle r} and number of data points N {\displaystyle N} , SampEn is the negative natural logarithm of the probability that if two sets of simultaneous data points of length m {\displaystyle m} have distance < r {\displaystyle <r} then two sets of simultaneous data points of length m + 1 {\displaystyle m+1} also have distance < r {\displaystyle <r} . And we represent it by S a m p E n ( m , r , N ) {\displaystyle SampEn(m,r,N)} (or by S a m p E n ( m , r , τ , N ) {\displaystyle SampEn(m,r,\tau ,N)} including sampling time τ {\displaystyle \tau } ). Now assume we have a time-series data set of length N = { x 1 , x 2 , x 3 , . . . , x N } {\displaystyle N={\{x_{1},x_{2},x_{3},...,x_{N}\}}} with a constant time interval τ {\displaystyle \tau } . We define a template vector of length m {\displaystyle m} , such that X m ( i ) = { x i , x i + 1 , x i + 2 , . . . , x i + m − 1 } {\displaystyle X_{m}(i)={\{x_{i},x_{i+1},x_{i+2},...,x_{i+m-1}\}}} and the distance function d [ X m ( i ) , X m ( j ) ] {\displaystyle d[X_{m}(i),X_{m}(j)]} (i≠j) is to be the Chebyshev distance (but it could be any distance function, including Euclidean distance). We define the sample entropy to be

S a m p E n = − ln ⁡ A B {\displaystyle SampEn=-\ln {A \over B}}

Where

A {\displaystyle A} = number of template vector pairs having d [ X m + 1 ( i ) , X m + 1 ( j ) ] < r {\displaystyle d[X_{m+1}(i),X_{m+1}(j)]<r}

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Sample entropy

Start with the simplest possible case. Write down what Sample entropy claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Sample entropy before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Sample entropy ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Sample entropy

In research
Sample entropy appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Sample entropy in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Sample entropy is common in secondary-school and first-year university syllabi. It links to neighbouring topics Entropy, Statistical signal processing, so understanding it makes those chapters shorter.
In everyday life
Look for Sample entropy outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Sample entropy in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Sample entropy means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Sample entropy out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Sample entropy in simple terms?

Sample entropy (SampEn; more appropriately K_2 entropy or Takens–Grassberger–Procaccia correlation entropy ) is a modification of approximate entropy (ApEn; more appropriately "Procaccia–Cohen entropy"), used for assessing the complexity of physiological and other time-series signals, diagnosing e…

Why does Sample entropy matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Sample entropy?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Sample entropy.

Tags

  • Entropy
  • Statistical signal processing

Keep exploring