<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title><![CDATA[MKLab - PROBABILITY AND STATISTICS]]></title>
		<link>https://mklab.gr/</link>
		<description><![CDATA[MKLab - https://mklab.gr]]></description>
		<pubDate>Thu, 29 Oct 2026 10:17:19 +0000</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[A 250-Year-Old Theorem Walks into a Courtroom]]></title>
			<link>https://mklab.gr/showthread.php?tid=2369</link>
			<pubDate>Thu, 29 Oct 2026 01:41:20 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://mklab.gr/member.php?action=profile&uid=1">mklabgr</a>]]></dc:creator>
			<guid isPermaLink="false">https://mklab.gr/showthread.php?tid=2369</guid>
			<description><![CDATA[<span style="font-weight: bold;" class="mycode_b">A 250-Year-Old Theorem Walks into a Courtroom</span><br />
<br />
In their article, Tommy Andersson and Erik Angner examine how mathematics can help explain the reliability of jury decisions. They discuss research investigating whether increasing the number of jurors improves the probability of reaching a correct verdict. Although a recent study correctly calculated how majority accuracy changes with jury size, the authors point out that its central result had already been established in 1785 by the French mathematician and philosopher <span style="font-weight: bold;" class="mycode_b">Marquis de Condorcet</span>, through what is now known as Condorcet’s Jury Theorem.<br />
<br />
The theorem states that when each juror independently has a probability greater than 50% of making the correct decision, the probability that the majority reaches the correct verdict increases as the jury grows. Conversely, if each juror is more likely to be wrong than right, adding more jurors makes the collective decision increasingly likely to be incorrect. The article connects this mathematical result to a much older philosophical debate between <span style="font-weight: bold;" class="mycode_b">Plato</span>, who was sceptical of collective decision-making, and <span style="font-weight: bold;" class="mycode_b">Aristotle</span>, who recognised that groups can benefit from combining the knowledge and judgement of their members.<br />
<br />
The authors also explain how the development of <span style="font-weight: bold;" class="mycode_b">probability theory</span>, particularly the work of Jacob Bernoulli and his nephew Nicolaus Bernoulli, made it possible to analyse collective decisions mathematically rather than relying solely on philosophical arguments. The article illustrates the continuing relevance of classical mathematical results to modern research in law, political science and social choice. Its broader lesson is that <span style="font-weight: bold;" class="mycode_b">mathematical knowledge can reveal when collective decisions are more reliable than individual judgements—but only when the underlying assumptions, especially the accuracy and independence of individual decisions, are satisfied</span>.<br />
<br />
Source: <a href="https://link.springer.com/article/10.1007/s00283-026-10556-9?utm_source=chatgpt.com" target="_blank" rel="noopener" class="mycode_url">A 250-Year-Old Theorem Walks into a Courtroom</a>.]]></description>
			<content:encoded><![CDATA[<span style="font-weight: bold;" class="mycode_b">A 250-Year-Old Theorem Walks into a Courtroom</span><br />
<br />
In their article, Tommy Andersson and Erik Angner examine how mathematics can help explain the reliability of jury decisions. They discuss research investigating whether increasing the number of jurors improves the probability of reaching a correct verdict. Although a recent study correctly calculated how majority accuracy changes with jury size, the authors point out that its central result had already been established in 1785 by the French mathematician and philosopher <span style="font-weight: bold;" class="mycode_b">Marquis de Condorcet</span>, through what is now known as Condorcet’s Jury Theorem.<br />
<br />
The theorem states that when each juror independently has a probability greater than 50% of making the correct decision, the probability that the majority reaches the correct verdict increases as the jury grows. Conversely, if each juror is more likely to be wrong than right, adding more jurors makes the collective decision increasingly likely to be incorrect. The article connects this mathematical result to a much older philosophical debate between <span style="font-weight: bold;" class="mycode_b">Plato</span>, who was sceptical of collective decision-making, and <span style="font-weight: bold;" class="mycode_b">Aristotle</span>, who recognised that groups can benefit from combining the knowledge and judgement of their members.<br />
<br />
The authors also explain how the development of <span style="font-weight: bold;" class="mycode_b">probability theory</span>, particularly the work of Jacob Bernoulli and his nephew Nicolaus Bernoulli, made it possible to analyse collective decisions mathematically rather than relying solely on philosophical arguments. The article illustrates the continuing relevance of classical mathematical results to modern research in law, political science and social choice. Its broader lesson is that <span style="font-weight: bold;" class="mycode_b">mathematical knowledge can reveal when collective decisions are more reliable than individual judgements—but only when the underlying assumptions, especially the accuracy and independence of individual decisions, are satisfied</span>.<br />
<br />
Source: <a href="https://link.springer.com/article/10.1007/s00283-026-10556-9?utm_source=chatgpt.com" target="_blank" rel="noopener" class="mycode_url">A 250-Year-Old Theorem Walks into a Courtroom</a>.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Why Probability Theory is Hard]]></title>
			<link>https://mklab.gr/showthread.php?tid=2231</link>
			<pubDate>Tue, 29 Sep 2026 00:34:13 +0300</pubDate>
			<dc:creator><![CDATA[<a href="https://mklab.gr/member.php?action=profile&uid=1">mklabgr</a>]]></dc:creator>
			<guid isPermaLink="false">https://mklab.gr/showthread.php?tid=2231</guid>
			<description><![CDATA[Summary<br />
<span style="font-weight: bold;" class="mycode_b">Probability theory is difficult not because people are unintelligent, but because probability is fundamentally non-intuitive.</span> In everyday life, we learn intuition from systems that behave consistently: if we turn a steering wheel in a particular way, the car responds predictably. Random systems do not behave this way. The same input can produce different outcomes, so the brain cannot easily build the kind of automatic intuition it develops for deterministic systems. As a result, people often look for patterns in randomness that are not actually there. <br />
<br />
The second difficulty is that probability generally requires <span style="font-weight: bold;" class="mycode_b">slow, deliberate reasoning</span> rather than instinctive thinking. The article connects this to Daniel Kahneman's distinction between fast, intuitive <span style="font-weight: bold;" class="mycode_b">System 1</span> thinking and slower, analytical <span style="font-weight: bold;" class="mycode_b">System 2</span> thinking. Probability problems tend to remain in System 2 because our intuitive mechanisms are poorly adapted to uncertainty. Even extensive experience may improve our ability to solve probability problems, but this often means becoming faster at deliberate reasoning rather than developing a genuinely automatic probabilistic intuition.<br />
<br />
Probability is also <span style="font-weight: bold;" class="mycode_b">conceptually confusing</span> because there is no single universally intuitive way to interpret what probability actually represents. Different frameworks—including <span style="font-weight: bold;" class="mycode_b">frequentism, Bayesianism, subjective probability, objective probability, and the Kolmogorov axiomatic approach</span>—emphasize different interpretations. For simple problems such as dice or coin tosses, these distinctions may remain hidden, but they become much more important when dealing with real-world uncertainty. Consequently, students can end up memorizing formulas and rules without developing a deep conceptual understanding.<br />
<br />
Nevertheless, the author argues that learning probability is <span style="font-weight: bold;" class="mycode_b">well worth the effort</span>. Even relatively simple probabilistic models can provide a rigorous framework for reasoning about uncertainty and making better-informed decisions. For example, instead of treating an event as simply possible or impossible, probability allows us to quantify uncertainty through values such as &#36;P(A)=0.2&#36;. More sophisticated models can then describe relationships between events using concepts such as conditional probability, &#36;P(A\mid B)&#36;, and expected value, &#36;E[X]&#36;. The central message is therefore that probability is hard because it conflicts with natural intuition—but a relatively small amount of mathematical understanding can go a surprisingly long way.<br />
<br />
Key takeaways<br />
<ol type="1" class="mycode_list"><li><span style="font-weight: bold;" class="mycode_b">Probability is inherently non-intuitive</span> because random systems do not respond predictably to identical conditions.<br />
</li>
<li>The human brain is much better at learning <span style="font-weight: bold;" class="mycode_b">deterministic patterns</span> than reasoning naturally about randomness.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Probability requires System 2 thinking</span>: deliberate, analytical, and cognitively demanding reasoning.<br />
</li>
<li>Experience can make probability calculations <span style="font-weight: bold;" class="mycode_b">faster and more effective</span>, but does not necessarily create automatic probabilistic intuition.<br />
</li>
<li>Probability has several competing interpretations, including <span style="font-weight: bold;" class="mycode_b">frequentist, Bayesian, subjective, objective, and axiomatic</span> approaches.<br />
</li>
<li>Students often compensate for the conceptual difficulty by <span style="font-weight: bold;" class="mycode_b">memorizing formulas and procedures</span> rather than understanding the underlying ideas.<br />
</li>
<li>Basic probability provides a mathematical framework for dealing with <span style="font-weight: bold;" class="mycode_b">uncertainty</span>, replacing vague intuition with quantitative reasoning.<br />
</li>
<li>The difficulty of probability is therefore <span style="font-weight: bold;" class="mycode_b">normal rather than a sign of mathematical inability</span>.<br />
</li>
<li>The article's overall message is essentially: <span style="font-weight: bold;" class="mycode_b">probability is hard, but learning even its fundamentals is extremely valuable.</span> <br />
</li>
</ol>
<br />
<div style="text-align: center;" class="mycode_align"><a href="https://www.cantorsparadise.com/why-probability-theory-is-hard-af838f053882" target="_blank" rel="noopener" class="mycode_url">====&gt;ARTICLE&lt;=====</a></div>]]></description>
			<content:encoded><![CDATA[Summary<br />
<span style="font-weight: bold;" class="mycode_b">Probability theory is difficult not because people are unintelligent, but because probability is fundamentally non-intuitive.</span> In everyday life, we learn intuition from systems that behave consistently: if we turn a steering wheel in a particular way, the car responds predictably. Random systems do not behave this way. The same input can produce different outcomes, so the brain cannot easily build the kind of automatic intuition it develops for deterministic systems. As a result, people often look for patterns in randomness that are not actually there. <br />
<br />
The second difficulty is that probability generally requires <span style="font-weight: bold;" class="mycode_b">slow, deliberate reasoning</span> rather than instinctive thinking. The article connects this to Daniel Kahneman's distinction between fast, intuitive <span style="font-weight: bold;" class="mycode_b">System 1</span> thinking and slower, analytical <span style="font-weight: bold;" class="mycode_b">System 2</span> thinking. Probability problems tend to remain in System 2 because our intuitive mechanisms are poorly adapted to uncertainty. Even extensive experience may improve our ability to solve probability problems, but this often means becoming faster at deliberate reasoning rather than developing a genuinely automatic probabilistic intuition.<br />
<br />
Probability is also <span style="font-weight: bold;" class="mycode_b">conceptually confusing</span> because there is no single universally intuitive way to interpret what probability actually represents. Different frameworks—including <span style="font-weight: bold;" class="mycode_b">frequentism, Bayesianism, subjective probability, objective probability, and the Kolmogorov axiomatic approach</span>—emphasize different interpretations. For simple problems such as dice or coin tosses, these distinctions may remain hidden, but they become much more important when dealing with real-world uncertainty. Consequently, students can end up memorizing formulas and rules without developing a deep conceptual understanding.<br />
<br />
Nevertheless, the author argues that learning probability is <span style="font-weight: bold;" class="mycode_b">well worth the effort</span>. Even relatively simple probabilistic models can provide a rigorous framework for reasoning about uncertainty and making better-informed decisions. For example, instead of treating an event as simply possible or impossible, probability allows us to quantify uncertainty through values such as &#36;P(A)=0.2&#36;. More sophisticated models can then describe relationships between events using concepts such as conditional probability, &#36;P(A\mid B)&#36;, and expected value, &#36;E[X]&#36;. The central message is therefore that probability is hard because it conflicts with natural intuition—but a relatively small amount of mathematical understanding can go a surprisingly long way.<br />
<br />
Key takeaways<br />
<ol type="1" class="mycode_list"><li><span style="font-weight: bold;" class="mycode_b">Probability is inherently non-intuitive</span> because random systems do not respond predictably to identical conditions.<br />
</li>
<li>The human brain is much better at learning <span style="font-weight: bold;" class="mycode_b">deterministic patterns</span> than reasoning naturally about randomness.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Probability requires System 2 thinking</span>: deliberate, analytical, and cognitively demanding reasoning.<br />
</li>
<li>Experience can make probability calculations <span style="font-weight: bold;" class="mycode_b">faster and more effective</span>, but does not necessarily create automatic probabilistic intuition.<br />
</li>
<li>Probability has several competing interpretations, including <span style="font-weight: bold;" class="mycode_b">frequentist, Bayesian, subjective, objective, and axiomatic</span> approaches.<br />
</li>
<li>Students often compensate for the conceptual difficulty by <span style="font-weight: bold;" class="mycode_b">memorizing formulas and procedures</span> rather than understanding the underlying ideas.<br />
</li>
<li>Basic probability provides a mathematical framework for dealing with <span style="font-weight: bold;" class="mycode_b">uncertainty</span>, replacing vague intuition with quantitative reasoning.<br />
</li>
<li>The difficulty of probability is therefore <span style="font-weight: bold;" class="mycode_b">normal rather than a sign of mathematical inability</span>.<br />
</li>
<li>The article's overall message is essentially: <span style="font-weight: bold;" class="mycode_b">probability is hard, but learning even its fundamentals is extremely valuable.</span> <br />
</li>
</ol>
<br />
<div style="text-align: center;" class="mycode_align"><a href="https://www.cantorsparadise.com/why-probability-theory-is-hard-af838f053882" target="_blank" rel="noopener" class="mycode_url">====&gt;ARTICLE&lt;=====</a></div>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Why Our Brains Do Not Intuitively Grasp Probabilities]]></title>
			<link>https://mklab.gr/showthread.php?tid=2229</link>
			<pubDate>Tue, 29 Sep 2026 00:24:03 +0300</pubDate>
			<dc:creator><![CDATA[<a href="https://mklab.gr/member.php?action=profile&uid=1">mklabgr</a>]]></dc:creator>
			<guid isPermaLink="false">https://mklab.gr/showthread.php?tid=2229</guid>
			<description><![CDATA[<span style="font-weight: bold;" class="mycode_b">Summary</span><br />
The article explains how <span style="font-weight: bold;" class="mycode_b">randomness and probability</span> can create events that appear to be miracles. For example, two friends may call each other at exactly the same moment, or someone may dream about a person’s death shortly before it happens. Although these events seem extraordinarily unlikely, they become increasingly probable when we consider the enormous number of opportunities for them to occur. Even if an event has a probability of one in a million, millions of opportunities can produce several seemingly miraculous coincidences over time.<br />
<br />
The author illustrates this with a calculation based on human perception. Assuming we receive one bit of information per second while awake for 12 hours a day, we process approximately &#36;43,200&#36; bits of information daily. Even if &#36;99.999%&#36; of this information is meaningless, the remaining information could still produce approximately &#36;1.3&#36; seemingly miraculous events per month, or about &#36;15.5&#36; per year. <span style="font-weight: bold;" class="mycode_b">Confirmation bias</span> then explains why we remember extraordinary coincidences while forgetting the enormous number of ordinary events. We tend to notice evidence that confirms our beliefs and discount evidence that contradicts them.<br />
<br />
The article also examines <span style="font-weight: bold;" class="mycode_b">death premonition dreams</span> using probability. An average person experiences approximately five dreams per night, or &#36;1,825&#36; dreams per year. If only one tenth are remembered, this gives about &#36;182.5&#36; remembered dreams per person annually. Across &#36;300&#36; million Americans, this would produce approximately &#36;54.7&#36; billion remembered dreams per year. Given millions of deaths and billions of social connections between people, it is statistically unsurprising that some dreams will coincidentally correspond to subsequent deaths. In fact, considering the enormous number of possible combinations, it would be surprising if no such coincidences occurred.<br />
<br />
Finally, the author introduces the concept of <span style="font-weight: bold;" class="mycode_b">folk numeracy</span> — our natural tendency to misunderstand probability, randomness and statistical trends. Human perception evolved in what Richard Dawkins calls <span style="font-style: italic;" class="mycode_i">Middle World</span>, the range of sizes, speeds and timescales that humans can directly experience. We easily perceive short-term changes but struggle with extremely large numbers, very slow processes and very long timescales. As a result, we often mistake random fluctuations for meaningful patterns and overlook broader statistical trends. <span style="font-weight: bold;" class="mycode_b">Statistical thinking and probabilistic reasoning</span> can therefore help us distinguish genuine patterns from coincidences.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">KEY TAKEAWAYS</span><br />
<ol type="1" class="mycode_list"><li><span style="font-weight: bold;" class="mycode_b">Randomness creates coincidences:</span> Extremely unlikely events can occur when there are enough opportunities for them to happen.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Confirmation bias distorts perception:</span> We remember extraordinary coincidences while forgetting countless ordinary events.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Large numbers matter:</span> Billions of events and relationships make seemingly extraordinary coincidences statistically unsurprising.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Anecdotes are not statistical evidence:</span> A coincidence does not by itself establish a causal or supernatural explanation.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Folk numeracy leads to errors:</span> Humans naturally struggle to understand probability, randomness and very large datasets.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Short-term fluctuations can be misleading:</span> We often focus on temporary changes while ignoring long-term trends.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Human perception has limitations:</span> Our brains evolved for everyday scales rather than atomic, cosmic or geological timescales.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Statistical thinking is essential:</span> Probability helps us distinguish meaningful patterns from random events.<br />
</li>
</ol>
<br />
<a href="https://archive.is/20260128024306/https://www.scientificamerican.com/article/why-our-brains-do-not-intuitively-grasp-probabilities/" target="_blank" rel="noopener" class="mycode_url">ARTICLE</a>]]></description>
			<content:encoded><![CDATA[<span style="font-weight: bold;" class="mycode_b">Summary</span><br />
The article explains how <span style="font-weight: bold;" class="mycode_b">randomness and probability</span> can create events that appear to be miracles. For example, two friends may call each other at exactly the same moment, or someone may dream about a person’s death shortly before it happens. Although these events seem extraordinarily unlikely, they become increasingly probable when we consider the enormous number of opportunities for them to occur. Even if an event has a probability of one in a million, millions of opportunities can produce several seemingly miraculous coincidences over time.<br />
<br />
The author illustrates this with a calculation based on human perception. Assuming we receive one bit of information per second while awake for 12 hours a day, we process approximately &#36;43,200&#36; bits of information daily. Even if &#36;99.999%&#36; of this information is meaningless, the remaining information could still produce approximately &#36;1.3&#36; seemingly miraculous events per month, or about &#36;15.5&#36; per year. <span style="font-weight: bold;" class="mycode_b">Confirmation bias</span> then explains why we remember extraordinary coincidences while forgetting the enormous number of ordinary events. We tend to notice evidence that confirms our beliefs and discount evidence that contradicts them.<br />
<br />
The article also examines <span style="font-weight: bold;" class="mycode_b">death premonition dreams</span> using probability. An average person experiences approximately five dreams per night, or &#36;1,825&#36; dreams per year. If only one tenth are remembered, this gives about &#36;182.5&#36; remembered dreams per person annually. Across &#36;300&#36; million Americans, this would produce approximately &#36;54.7&#36; billion remembered dreams per year. Given millions of deaths and billions of social connections between people, it is statistically unsurprising that some dreams will coincidentally correspond to subsequent deaths. In fact, considering the enormous number of possible combinations, it would be surprising if no such coincidences occurred.<br />
<br />
Finally, the author introduces the concept of <span style="font-weight: bold;" class="mycode_b">folk numeracy</span> — our natural tendency to misunderstand probability, randomness and statistical trends. Human perception evolved in what Richard Dawkins calls <span style="font-style: italic;" class="mycode_i">Middle World</span>, the range of sizes, speeds and timescales that humans can directly experience. We easily perceive short-term changes but struggle with extremely large numbers, very slow processes and very long timescales. As a result, we often mistake random fluctuations for meaningful patterns and overlook broader statistical trends. <span style="font-weight: bold;" class="mycode_b">Statistical thinking and probabilistic reasoning</span> can therefore help us distinguish genuine patterns from coincidences.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">KEY TAKEAWAYS</span><br />
<ol type="1" class="mycode_list"><li><span style="font-weight: bold;" class="mycode_b">Randomness creates coincidences:</span> Extremely unlikely events can occur when there are enough opportunities for them to happen.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Confirmation bias distorts perception:</span> We remember extraordinary coincidences while forgetting countless ordinary events.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Large numbers matter:</span> Billions of events and relationships make seemingly extraordinary coincidences statistically unsurprising.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Anecdotes are not statistical evidence:</span> A coincidence does not by itself establish a causal or supernatural explanation.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Folk numeracy leads to errors:</span> Humans naturally struggle to understand probability, randomness and very large datasets.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Short-term fluctuations can be misleading:</span> We often focus on temporary changes while ignoring long-term trends.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Human perception has limitations:</span> Our brains evolved for everyday scales rather than atomic, cosmic or geological timescales.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Statistical thinking is essential:</span> Probability helps us distinguish meaningful patterns from random events.<br />
</li>
</ol>
<br />
<a href="https://archive.is/20260128024306/https://www.scientificamerican.com/article/why-our-brains-do-not-intuitively-grasp-probabilities/" target="_blank" rel="noopener" class="mycode_url">ARTICLE</a>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Probability of Randomly Choosing a Prime Number]]></title>
			<link>https://mklab.gr/showthread.php?tid=2205</link>
			<pubDate>Sat, 26 Sep 2026 18:13:23 +0300</pubDate>
			<dc:creator><![CDATA[<a href="https://mklab.gr/member.php?action=profile&uid=1">mklabgr</a>]]></dc:creator>
			<guid isPermaLink="false">https://mklab.gr/showthread.php?tid=2205</guid>
			<description><![CDATA[<span style="color: #1f1f1f;" class="mycode_color"><span style="font-family: 'Google Sans Text', sans-serif;" class="mycode_font">The concept of <span style="font-weight: bold;" class="mycode_b">probability</span> in the context of choosing a <span style="font-weight: bold;" class="mycode_b">prime number</span> at random relies heavily on the definition of the chosen <span style="font-weight: bold;" class="mycode_b">sample space</span>. A <span style="font-weight: bold;" class="mycode_b">prime number</span> is defined as an integer strictly greater than &#36;1&#36; that has no positive divisors other than &#36;1&#36; and itself. When dealing with a finite, bounded set of positive integers—such as the set ranging from &#36;1&#36; to &#36;n&#36;—the <span style="font-weight: bold;" class="mycode_b">probability</span> &#36;P&#36; of randomly selecting a <span style="font-weight: bold;" class="mycode_b">prime number</span> is determined by dividing the total count of <span style="font-weight: bold;" class="mycode_b">prime numbers</span> within that range by the overall number of elements &#36;n&#36;. For instance, in the first &#36;10&#36; positive integers, the <span style="font-weight: bold;" class="mycode_b">prime numbers</span> are &#36;2, 3, 5,&#36; and &#36;7&#36;, yielding a <span style="font-weight: bold;" class="mycode_b">probability</span> of &#36;P = \frac{4}{10} = 0.4&#36;.<br />
<br />
As the upper limit of the <span style="font-weight: bold;" class="mycode_b">sample space</span> &#36;n&#36; increases, the absolute frequency of <span style="font-weight: bold;" class="mycode_b">prime numbers</span> continues to grow, but the relative density or proportion of these <span style="font-weight: bold;" class="mycode_b">primes</span> begins to decrease. This fundamental behavior is formalized by the famous <span style="font-weight: bold;" class="mycode_b">Prime Number Theorem</span>, which states that the number of <span style="font-weight: bold;" class="mycode_b">prime numbers</span> less than or equal to &#36;n&#36;, denoted as &#36;\pi(n)&#36;, can be approximated as &#36;\pi(n) \approx \frac{n}{\ln n}&#36;. Consequently, the approximate <span style="font-weight: bold;" class="mycode_b">probability</span> of selecting a <span style="font-weight: bold;" class="mycode_b">prime number</span> at random from a large finite set of size &#36;n&#36; is given by the expression &#36;P \approx \frac{1}{\ln n}&#36;. This inverse logarithmic relationship demonstrates that as numbers become larger, finding a <span style="font-weight: bold;" class="mycode_b">prime</span> becomes significantly less likely.<br />
<br />
When considering the asymptotic behavior as the <span style="font-weight: bold;" class="mycode_b">sample space</span> approaches infinity, the limit of this <span style="font-weight: bold;" class="mycode_b">probability</span> tends to zero. Mathematically, this is expressed using limits as &#36;\lim_{n \to \infty} \frac{\pi(n)}{n} = 0&#36;. Even though there are infinitely many <span style="font-weight: bold;" class="mycode_b">prime numbers</span>, their infinite cardinality is sparse compared to the infinitude of all natural numbers. Therefore, if one attempts to choose a <span style="font-weight: bold;" class="mycode_b">prime number</span> uniformly at random from the entire set of infinite integers, the theoretical <span style="font-weight: bold;" class="mycode_b">probability</span> is evaluated as &#36;0&#36;.<br />
<br />
In practical applications, such as modern <span style="font-weight: bold;" class="mycode_b">cryptography</span> and <span style="font-weight: bold;" class="mycode_b">number theory</span>, mathematicians frequently test large numbers for <span style="font-weight: bold;" class="mycode_b">primality</span> rather than picking them blindly. Algorithms and theorems—such as <span style="font-weight: bold;" class="mycode_b">Fermat's Little Theorem</span>—help assess whether a given large integer has the characteristics of a <span style="font-weight: bold;" class="mycode_b">prime</span>. By understanding the declining density of <span style="font-weight: bold;" class="mycode_b">primes</span> governed by logarithmic decay, researchers can better estimate the computational effort required to locate large <span style="font-weight: bold;" class="mycode_b">prime numbers</span> essential for secure data encryption protocols.<br />
<br />
<span style="font-family: 'Google Sans', sans-serif;" class="mycode_font">Key Takeaways</span></span></span><ul class="mycode_list"><li><span style="color: #1f1f1f;" class="mycode_color"><span style="font-family: 'Google Sans Text', sans-serif;" class="mycode_font">A <span style="font-weight: bold;" class="mycode_b">prime number</span> is an integer greater than &#36;1&#36; whose only divisors are &#36;1&#36; and itself.<br />
</span></span><br />
</li>
<li><span style="color: #1f1f1f;" class="mycode_color"><span style="font-family: 'Google Sans Text', sans-serif;" class="mycode_font">The basic <span style="font-weight: bold;" class="mycode_b">probability</span> within a finite set is calculated as &#36;P = \frac{\text{Number of Primes}}{\text{Total Numbers in Set}}&#36;.<br />
</span></span><br />
</li>
<li><span style="color: #1f1f1f;" class="mycode_color"><span style="font-family: 'Google Sans Text', sans-serif;" class="mycode_font">The <span style="font-weight: bold;" class="mycode_b">Prime Number Theorem</span> estimates the number of <span style="font-weight: bold;" class="mycode_b">primes</span> up to &#36;n&#36; as &#36;\pi(n) \approx \frac{n}{\ln n}&#36;.<br />
</span></span><br />
</li>
<li><span style="color: #1f1f1f;" class="mycode_color"><span style="font-family: 'Google Sans Text', sans-serif;" class="mycode_font">The approximate <span style="font-weight: bold;" class="mycode_b">probability</span> of randomly selecting a <span style="font-weight: bold;" class="mycode_b">prime</span> from numbers up to &#36;n&#36; is given by &#36;P \approx \frac{1}{\ln n}&#36;.<br />
</span></span><br />
</li>
<li><span style="color: #1f1f1f;" class="mycode_color"><span style="font-family: 'Google Sans Text', sans-serif;" class="mycode_font">As the <span style="font-weight: bold;" class="mycode_b">sample space</span> extends to infinity, the limit of the <span style="font-weight: bold;" class="mycode_b">probability</span> drops to zero: &#36;\lim_{n \to \infty} \frac{\pi(n)}{n} = 0&#36;.</span></span><br />
</li>
</ul>
<br />
<span style="color: #1f1f1f;" class="mycode_color"><span style="font-family: 'Google Sans Text', sans-serif;" class="mycode_font"><a href="https://www.thoughtco.com/probability-of-randomly-choosing-prime-number-3126592" target="_blank" rel="noopener" class="mycode_url">ARTICLE</a> / <a href="https://math.stackexchange.com/questions/82074/percentage-of-primes-among-the-natural-numbers" target="_blank" rel="noopener" class="mycode_url">ARTICLE 2</a></span></span>]]></description>
			<content:encoded><![CDATA[<span style="color: #1f1f1f;" class="mycode_color"><span style="font-family: 'Google Sans Text', sans-serif;" class="mycode_font">The concept of <span style="font-weight: bold;" class="mycode_b">probability</span> in the context of choosing a <span style="font-weight: bold;" class="mycode_b">prime number</span> at random relies heavily on the definition of the chosen <span style="font-weight: bold;" class="mycode_b">sample space</span>. A <span style="font-weight: bold;" class="mycode_b">prime number</span> is defined as an integer strictly greater than &#36;1&#36; that has no positive divisors other than &#36;1&#36; and itself. When dealing with a finite, bounded set of positive integers—such as the set ranging from &#36;1&#36; to &#36;n&#36;—the <span style="font-weight: bold;" class="mycode_b">probability</span> &#36;P&#36; of randomly selecting a <span style="font-weight: bold;" class="mycode_b">prime number</span> is determined by dividing the total count of <span style="font-weight: bold;" class="mycode_b">prime numbers</span> within that range by the overall number of elements &#36;n&#36;. For instance, in the first &#36;10&#36; positive integers, the <span style="font-weight: bold;" class="mycode_b">prime numbers</span> are &#36;2, 3, 5,&#36; and &#36;7&#36;, yielding a <span style="font-weight: bold;" class="mycode_b">probability</span> of &#36;P = \frac{4}{10} = 0.4&#36;.<br />
<br />
As the upper limit of the <span style="font-weight: bold;" class="mycode_b">sample space</span> &#36;n&#36; increases, the absolute frequency of <span style="font-weight: bold;" class="mycode_b">prime numbers</span> continues to grow, but the relative density or proportion of these <span style="font-weight: bold;" class="mycode_b">primes</span> begins to decrease. This fundamental behavior is formalized by the famous <span style="font-weight: bold;" class="mycode_b">Prime Number Theorem</span>, which states that the number of <span style="font-weight: bold;" class="mycode_b">prime numbers</span> less than or equal to &#36;n&#36;, denoted as &#36;\pi(n)&#36;, can be approximated as &#36;\pi(n) \approx \frac{n}{\ln n}&#36;. Consequently, the approximate <span style="font-weight: bold;" class="mycode_b">probability</span> of selecting a <span style="font-weight: bold;" class="mycode_b">prime number</span> at random from a large finite set of size &#36;n&#36; is given by the expression &#36;P \approx \frac{1}{\ln n}&#36;. This inverse logarithmic relationship demonstrates that as numbers become larger, finding a <span style="font-weight: bold;" class="mycode_b">prime</span> becomes significantly less likely.<br />
<br />
When considering the asymptotic behavior as the <span style="font-weight: bold;" class="mycode_b">sample space</span> approaches infinity, the limit of this <span style="font-weight: bold;" class="mycode_b">probability</span> tends to zero. Mathematically, this is expressed using limits as &#36;\lim_{n \to \infty} \frac{\pi(n)}{n} = 0&#36;. Even though there are infinitely many <span style="font-weight: bold;" class="mycode_b">prime numbers</span>, their infinite cardinality is sparse compared to the infinitude of all natural numbers. Therefore, if one attempts to choose a <span style="font-weight: bold;" class="mycode_b">prime number</span> uniformly at random from the entire set of infinite integers, the theoretical <span style="font-weight: bold;" class="mycode_b">probability</span> is evaluated as &#36;0&#36;.<br />
<br />
In practical applications, such as modern <span style="font-weight: bold;" class="mycode_b">cryptography</span> and <span style="font-weight: bold;" class="mycode_b">number theory</span>, mathematicians frequently test large numbers for <span style="font-weight: bold;" class="mycode_b">primality</span> rather than picking them blindly. Algorithms and theorems—such as <span style="font-weight: bold;" class="mycode_b">Fermat's Little Theorem</span>—help assess whether a given large integer has the characteristics of a <span style="font-weight: bold;" class="mycode_b">prime</span>. By understanding the declining density of <span style="font-weight: bold;" class="mycode_b">primes</span> governed by logarithmic decay, researchers can better estimate the computational effort required to locate large <span style="font-weight: bold;" class="mycode_b">prime numbers</span> essential for secure data encryption protocols.<br />
<br />
<span style="font-family: 'Google Sans', sans-serif;" class="mycode_font">Key Takeaways</span></span></span><ul class="mycode_list"><li><span style="color: #1f1f1f;" class="mycode_color"><span style="font-family: 'Google Sans Text', sans-serif;" class="mycode_font">A <span style="font-weight: bold;" class="mycode_b">prime number</span> is an integer greater than &#36;1&#36; whose only divisors are &#36;1&#36; and itself.<br />
</span></span><br />
</li>
<li><span style="color: #1f1f1f;" class="mycode_color"><span style="font-family: 'Google Sans Text', sans-serif;" class="mycode_font">The basic <span style="font-weight: bold;" class="mycode_b">probability</span> within a finite set is calculated as &#36;P = \frac{\text{Number of Primes}}{\text{Total Numbers in Set}}&#36;.<br />
</span></span><br />
</li>
<li><span style="color: #1f1f1f;" class="mycode_color"><span style="font-family: 'Google Sans Text', sans-serif;" class="mycode_font">The <span style="font-weight: bold;" class="mycode_b">Prime Number Theorem</span> estimates the number of <span style="font-weight: bold;" class="mycode_b">primes</span> up to &#36;n&#36; as &#36;\pi(n) \approx \frac{n}{\ln n}&#36;.<br />
</span></span><br />
</li>
<li><span style="color: #1f1f1f;" class="mycode_color"><span style="font-family: 'Google Sans Text', sans-serif;" class="mycode_font">The approximate <span style="font-weight: bold;" class="mycode_b">probability</span> of randomly selecting a <span style="font-weight: bold;" class="mycode_b">prime</span> from numbers up to &#36;n&#36; is given by &#36;P \approx \frac{1}{\ln n}&#36;.<br />
</span></span><br />
</li>
<li><span style="color: #1f1f1f;" class="mycode_color"><span style="font-family: 'Google Sans Text', sans-serif;" class="mycode_font">As the <span style="font-weight: bold;" class="mycode_b">sample space</span> extends to infinity, the limit of the <span style="font-weight: bold;" class="mycode_b">probability</span> drops to zero: &#36;\lim_{n \to \infty} \frac{\pi(n)}{n} = 0&#36;.</span></span><br />
</li>
</ul>
<br />
<span style="color: #1f1f1f;" class="mycode_color"><span style="font-family: 'Google Sans Text', sans-serif;" class="mycode_font"><a href="https://www.thoughtco.com/probability-of-randomly-choosing-prime-number-3126592" target="_blank" rel="noopener" class="mycode_url">ARTICLE</a> / <a href="https://math.stackexchange.com/questions/82074/percentage-of-primes-among-the-natural-numbers" target="_blank" rel="noopener" class="mycode_url">ARTICLE 2</a></span></span>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[What is the chance of a message in a bottle being found?]]></title>
			<link>https://mklab.gr/showthread.php?tid=2191</link>
			<pubDate>Fri, 25 Sep 2026 20:54:13 +0300</pubDate>
			<dc:creator><![CDATA[<a href="https://mklab.gr/member.php?action=profile&uid=1">mklabgr</a>]]></dc:creator>
			<guid isPermaLink="false">https://mklab.gr/showthread.php?tid=2191</guid>
			<description><![CDATA[The RTÉ Brainstorm article explores the surprisingly small probability that a <span style="font-weight: bold;" class="mycode_b">message in a bottle will both be found and be more than 100 years old</span>. Although bottles can travel enormous distances through ocean currents, many are never found: they may drift into remote regions, break apart, become buried in sediment, or sink after filling with water. The authors, Kevin Burke and David O'Sullivan of the University of Limerick, use this real-world problem to demonstrate how elementary probability can be applied to an unusual historical question.<br />
<br />
The first component is the probability that a bottle containing a message is found at all. The authors use an estimate of approximately <span style="font-weight: bold;" class="mycode_b">1 in 10</span>, based on expert estimates and historical "drift bottle" experiments. Recovery rates have varied considerably by location: some historical experiments produced recovery rates such as 14% in the Gulf of Mexico, 8% in the Caribbean and 7% near northern Brazil, while a more recent Canada–Greenland experiment produced about 5%. Thus, the probability is strongly dependent on geography and ocean circulation.<br />
<br />
The second component concerns the <span style="font-weight: bold;" class="mycode_b">age of bottles that are eventually found</span>. Using historical records of old message bottles, the authors observe that the number recovered generally decreases as age increases. They estimate the number of bottles in the 0–25-year category and obtain approximately 106 bottles in their assembled dataset, of which 12 were more than 100 years old. Consequently, the estimated conditional probability that a <span style="font-style: italic;" class="mycode_i">found</span> bottle is at least 100 years old is approximately &#36;12/106 \approx 1/10&#36;. <br />
<br />
The two probabilities can then be combined using the <span style="font-weight: bold;" class="mycode_b">multiplication rule</span>. If &#36;P(F)&#36; is the probability that a bottle is found and &#36;P(A\mid F)&#36; is the probability that it is over 100 years old given that it has been found, then &#36;P(F\cap A)=P(F)P(A\mid F)&#36;. Using the article's estimates gives &#36;1/10\times1/10=1/100&#36;. The authors therefore estimate roughly a <span style="font-weight: bold;" class="mycode_b">1-in-100 chance</span> that a message bottle will both be found and be at least 100 years old. If 100,000 such bottles were floating in the oceans, about 1,000 might satisfy both conditions; under a deliberately simplified assumption that anyone among 8 billion people is equally likely to find one, an individual person's chance would be around 1 in 8 million.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Key takeaways</span><ul class="mycode_list"><li><span style="font-weight: bold;" class="mycode_b">Multiplication rule:</span><br />
&#36;P(A\cap B)=P(A)P(B\mid A)&#36;<br />
</li>
<li>For the article's estimates:<br />
&#36;P(\text{found})\approx\frac{1}{10}&#36;<br />
</li>
<li>Among bottles that are found:<br />
&#36;P(\text{100+ years old}\mid\text{found})\approx\frac{1}{10}&#36;<br />
</li>
<li>Therefore:<br />
&#36;P(\text{found and 100+ years old})\approx\frac{1}{10}\times\frac{1}{10}=\frac{1}{100}&#36;<br />
</li>
<li>With 100,000 bottles:<br />
&#36;100,000\times\frac{1}{100}=1,000&#36;<br />
</li>
<li>With 8 billion people and equal likelihood:<br />
&#36;\frac{1,000}{8,000,000,000}=\frac{1}{8,000,000}&#36;<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Important statistical caveat:</span> these are estimates based on incomplete historical data, and the true probability depends heavily on ocean currents, geography, bottle durability, human population density and how likely people are to notice and report a bottle.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Mathematical lesson:</span> a complicated real-world probability can often be decomposed into simpler conditional probabilities and then recombined using the multiplication rule.<br />
</li>
</ul>
<br />
<a href="https://www.rte.ie/brainstorm/2026/0528/1575530-message-in-a-bottle-maths-probability-distance-years-sea/" target="_blank" rel="noopener" class="mycode_url">ARTICLE</a>]]></description>
			<content:encoded><![CDATA[The RTÉ Brainstorm article explores the surprisingly small probability that a <span style="font-weight: bold;" class="mycode_b">message in a bottle will both be found and be more than 100 years old</span>. Although bottles can travel enormous distances through ocean currents, many are never found: they may drift into remote regions, break apart, become buried in sediment, or sink after filling with water. The authors, Kevin Burke and David O'Sullivan of the University of Limerick, use this real-world problem to demonstrate how elementary probability can be applied to an unusual historical question.<br />
<br />
The first component is the probability that a bottle containing a message is found at all. The authors use an estimate of approximately <span style="font-weight: bold;" class="mycode_b">1 in 10</span>, based on expert estimates and historical "drift bottle" experiments. Recovery rates have varied considerably by location: some historical experiments produced recovery rates such as 14% in the Gulf of Mexico, 8% in the Caribbean and 7% near northern Brazil, while a more recent Canada–Greenland experiment produced about 5%. Thus, the probability is strongly dependent on geography and ocean circulation.<br />
<br />
The second component concerns the <span style="font-weight: bold;" class="mycode_b">age of bottles that are eventually found</span>. Using historical records of old message bottles, the authors observe that the number recovered generally decreases as age increases. They estimate the number of bottles in the 0–25-year category and obtain approximately 106 bottles in their assembled dataset, of which 12 were more than 100 years old. Consequently, the estimated conditional probability that a <span style="font-style: italic;" class="mycode_i">found</span> bottle is at least 100 years old is approximately &#36;12/106 \approx 1/10&#36;. <br />
<br />
The two probabilities can then be combined using the <span style="font-weight: bold;" class="mycode_b">multiplication rule</span>. If &#36;P(F)&#36; is the probability that a bottle is found and &#36;P(A\mid F)&#36; is the probability that it is over 100 years old given that it has been found, then &#36;P(F\cap A)=P(F)P(A\mid F)&#36;. Using the article's estimates gives &#36;1/10\times1/10=1/100&#36;. The authors therefore estimate roughly a <span style="font-weight: bold;" class="mycode_b">1-in-100 chance</span> that a message bottle will both be found and be at least 100 years old. If 100,000 such bottles were floating in the oceans, about 1,000 might satisfy both conditions; under a deliberately simplified assumption that anyone among 8 billion people is equally likely to find one, an individual person's chance would be around 1 in 8 million.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Key takeaways</span><ul class="mycode_list"><li><span style="font-weight: bold;" class="mycode_b">Multiplication rule:</span><br />
&#36;P(A\cap B)=P(A)P(B\mid A)&#36;<br />
</li>
<li>For the article's estimates:<br />
&#36;P(\text{found})\approx\frac{1}{10}&#36;<br />
</li>
<li>Among bottles that are found:<br />
&#36;P(\text{100+ years old}\mid\text{found})\approx\frac{1}{10}&#36;<br />
</li>
<li>Therefore:<br />
&#36;P(\text{found and 100+ years old})\approx\frac{1}{10}\times\frac{1}{10}=\frac{1}{100}&#36;<br />
</li>
<li>With 100,000 bottles:<br />
&#36;100,000\times\frac{1}{100}=1,000&#36;<br />
</li>
<li>With 8 billion people and equal likelihood:<br />
&#36;\frac{1,000}{8,000,000,000}=\frac{1}{8,000,000}&#36;<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Important statistical caveat:</span> these are estimates based on incomplete historical data, and the true probability depends heavily on ocean currents, geography, bottle durability, human population density and how likely people are to notice and report a bottle.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Mathematical lesson:</span> a complicated real-world probability can often be decomposed into simpler conditional probabilities and then recombined using the multiplication rule.<br />
</li>
</ul>
<br />
<a href="https://www.rte.ie/brainstorm/2026/0528/1575530-message-in-a-bottle-maths-probability-distance-years-sea/" target="_blank" rel="noopener" class="mycode_url">ARTICLE</a>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[How Random Are Goals in Soccer?]]></title>
			<link>https://mklab.gr/showthread.php?tid=2182</link>
			<pubDate>Fri, 25 Sep 2026 20:17:47 +0300</pubDate>
			<dc:creator><![CDATA[<a href="https://mklab.gr/member.php?action=profile&uid=1">mklabgr</a>]]></dc:creator>
			<guid isPermaLink="false">https://mklab.gr/showthread.php?tid=2182</guid>
			<description><![CDATA[The article <span style="font-weight: bold;" class="mycode_b">“How Random Are Goals in Soccer?”</span> explores whether soccer goals can be treated as random events using statistical analysis. The author examines soccer data from the 2015–16 La Liga season and observes that teams scored an average of approximately &#36;2.74&#36; goals per match. Although individual goals are influenced by many factors, the article asks whether the <span style="font-weight: bold;" class="mycode_b">aggregate number of goals</span> can nevertheless be described using a relatively simple probability model.<br />
<br />
The main mathematical tool is the <span style="font-weight: bold;" class="mycode_b">Poisson distribution</span>. If &#36;X&#36; represents the number of goals scored in a match and &#36;\lambda&#36; is the expected number of goals, then the probability of observing exactly &#36;k&#36; goals is given by &#36;P(X=k)=\frac{e^{-\lambda}\lambda^k}{k!}&#36;. Using the observed average, the model takes &#36;\lambda\approx2.74&#36;. This provides a straightforward way of calculating probabilities for outcomes such as 0, 1, 2, 3, or more goals.<br />
<br />
The article also considers the timing of goals. If goals were distributed uniformly throughout a 90-minute match, the approximate probability of a goal occurring during any particular minute would be &#36;p\approx\frac{2.74}{90}\approx0.0304&#36;. By simulating many matches using this probability, one can generate a distribution of total goals that resembles the distribution found in real soccer data. This demonstrates an important statistical principle: <span style="font-weight: bold;" class="mycode_b">a process can appear highly unpredictable at the individual level while still exhibiting predictable patterns when observed over many repetitions</span>.<br />
<br />
However, soccer is not genuinely a perfectly random Poisson process. The probability of scoring can change depending on the scoreline, the strength of the teams, tactical decisions, substitutions, red cards, fatigue, and the time remaining. Consequently, the Poisson model should be regarded as a useful approximation rather than a complete description of soccer. Its real value is methodological: it demonstrates how relatively simple mathematics, probability theory, and computer simulation can be used to investigate a complex real-world phenomenon.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Key Takeaways</span><ul class="mycode_list"><li> Soccer goals can be approximated using <span style="font-weight: bold;" class="mycode_b">probabilistic models</span>.<br />
</li>
<li>The average number of goals per match in the dataset is approximately &#36;\lambda=2.74&#36;.<br />
</li>
<li>The Poisson probability formula is &#36;P(X=k)=\frac{e^{-\lambda}\lambda^k}{k!}&#36;.<br />
</li>
<li>With &#36;\lambda=2.74&#36;, the model can estimate the probability of different goal totals.<br />
</li>
<li>An approximate per-minute goal probability is &#36;p=\frac{2.74}{90}\approx0.0304&#36;.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Individual events can be unpredictable while aggregate behaviour remains statistically predictable.</span><br />
</li>
<li>Simulation allows the theoretical probability model to be compared with real soccer data.<br />
</li>
<li>The Poisson model assumes events occur independently at a roughly constant rate.<br />
</li>
<li>Real soccer violates these assumptions because the scoring rate changes with game conditions.<br />
</li>
<li>The example provides a practical introduction to <span style="font-weight: bold;" class="mycode_b">Poisson distributions, expected value, probability, independence, random variables, and Monte Carlo simulation</span>.<br />
</li>
<li>For teaching mathematics, soccer provides an intuitive real-world context for explaining why statistical models do not need to reproduce every individual event to describe the overall behaviour of a system.<br />
</li>
</ul>
<br />
<a href="https://towardsdatascience.com/how-random-are-goals-in-soccer-8a822c1f3bc/" target="_blank" rel="noopener" class="mycode_url">ARTICLE</a>]]></description>
			<content:encoded><![CDATA[The article <span style="font-weight: bold;" class="mycode_b">“How Random Are Goals in Soccer?”</span> explores whether soccer goals can be treated as random events using statistical analysis. The author examines soccer data from the 2015–16 La Liga season and observes that teams scored an average of approximately &#36;2.74&#36; goals per match. Although individual goals are influenced by many factors, the article asks whether the <span style="font-weight: bold;" class="mycode_b">aggregate number of goals</span> can nevertheless be described using a relatively simple probability model.<br />
<br />
The main mathematical tool is the <span style="font-weight: bold;" class="mycode_b">Poisson distribution</span>. If &#36;X&#36; represents the number of goals scored in a match and &#36;\lambda&#36; is the expected number of goals, then the probability of observing exactly &#36;k&#36; goals is given by &#36;P(X=k)=\frac{e^{-\lambda}\lambda^k}{k!}&#36;. Using the observed average, the model takes &#36;\lambda\approx2.74&#36;. This provides a straightforward way of calculating probabilities for outcomes such as 0, 1, 2, 3, or more goals.<br />
<br />
The article also considers the timing of goals. If goals were distributed uniformly throughout a 90-minute match, the approximate probability of a goal occurring during any particular minute would be &#36;p\approx\frac{2.74}{90}\approx0.0304&#36;. By simulating many matches using this probability, one can generate a distribution of total goals that resembles the distribution found in real soccer data. This demonstrates an important statistical principle: <span style="font-weight: bold;" class="mycode_b">a process can appear highly unpredictable at the individual level while still exhibiting predictable patterns when observed over many repetitions</span>.<br />
<br />
However, soccer is not genuinely a perfectly random Poisson process. The probability of scoring can change depending on the scoreline, the strength of the teams, tactical decisions, substitutions, red cards, fatigue, and the time remaining. Consequently, the Poisson model should be regarded as a useful approximation rather than a complete description of soccer. Its real value is methodological: it demonstrates how relatively simple mathematics, probability theory, and computer simulation can be used to investigate a complex real-world phenomenon.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Key Takeaways</span><ul class="mycode_list"><li> Soccer goals can be approximated using <span style="font-weight: bold;" class="mycode_b">probabilistic models</span>.<br />
</li>
<li>The average number of goals per match in the dataset is approximately &#36;\lambda=2.74&#36;.<br />
</li>
<li>The Poisson probability formula is &#36;P(X=k)=\frac{e^{-\lambda}\lambda^k}{k!}&#36;.<br />
</li>
<li>With &#36;\lambda=2.74&#36;, the model can estimate the probability of different goal totals.<br />
</li>
<li>An approximate per-minute goal probability is &#36;p=\frac{2.74}{90}\approx0.0304&#36;.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Individual events can be unpredictable while aggregate behaviour remains statistically predictable.</span><br />
</li>
<li>Simulation allows the theoretical probability model to be compared with real soccer data.<br />
</li>
<li>The Poisson model assumes events occur independently at a roughly constant rate.<br />
</li>
<li>Real soccer violates these assumptions because the scoring rate changes with game conditions.<br />
</li>
<li>The example provides a practical introduction to <span style="font-weight: bold;" class="mycode_b">Poisson distributions, expected value, probability, independence, random variables, and Monte Carlo simulation</span>.<br />
</li>
<li>For teaching mathematics, soccer provides an intuitive real-world context for explaining why statistical models do not need to reproduce every individual event to describe the overall behaviour of a system.<br />
</li>
</ul>
<br />
<a href="https://towardsdatascience.com/how-random-are-goals-in-soccer-8a822c1f3bc/" target="_blank" rel="noopener" class="mycode_url">ARTICLE</a>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Probability underlies much of the modern world]]></title>
			<link>https://mklab.gr/showthread.php?tid=2181</link>
			<pubDate>Fri, 25 Sep 2026 20:10:51 +0300</pubDate>
			<dc:creator><![CDATA[<a href="https://mklab.gr/member.php?action=profile&uid=1">mklabgr</a>]]></dc:creator>
			<guid isPermaLink="false">https://mklab.gr/showthread.php?tid=2181</guid>
			<description><![CDATA[Probability is presented as a mathematical framework for describing <span style="font-weight: bold;" class="mycode_b">randomness and uncertainty</span>, rather than a method for predicting every individual event. A key distinction is between an individual outcome and the <span style="font-weight: bold;" class="mycode_b">long-run patterns</span> that emerge from repeated experiments. For example, a fair coin has probability &#36;P(H)=0.5&#36; of landing heads, but eight actual flips need not produce exactly four heads. The article emphasizes that probability depends on how we define the <span style="font-weight: bold;" class="mycode_b">sample space</span>, the events being studied, and the assumptions incorporated into our model. <br />
<br />
The coin-flipping example illustrates an important principle of mathematical modeling: probability is not necessarily a perfect description of physical reality. Real coins are influenced by factors such as their initial orientation and the mechanics of the toss. Nevertheless, when a physical process is sufficiently sensitive to small variations, treating it probabilistically can provide a useful model. The article also distinguishes <span style="font-weight: bold;" class="mycode_b">probability</span> from <span style="font-weight: bold;" class="mycode_b">frequency</span>: a frequency is what has actually happened in a finite sequence, while probability describes the expected long-run behavior of a model.<br />
<br />
The article then connects probability to modern technology. <span style="font-weight: bold;" class="mycode_b">Artificial intelligence</span>, particularly large language models, relies heavily on probabilities when predicting what token or word should come next. Cryptography also depends on randomness: secure passwords and cryptographic keys require outcomes that are difficult for an attacker to predict. In statistics and experimental science, randomization is equally important. Randomized controlled trials use random assignment to reduce systematic differences between treatment groups, helping researchers determine whether an observed effect can be attributed to the treatment rather than to other variables.<br />
<br />
The broader message is that probability is best understood as a <span style="font-weight: bold;" class="mycode_b">model for reasoning under uncertainty</span>. It does not eliminate randomness or guarantee that an individual event will conform to the expected pattern. Instead, it allows us to quantify uncertainty and make meaningful statements about collections of events. This makes probability fundamental not only to mathematics and statistics but also to AI, cryptography, scientific experimentation, and many other aspects of modern life.<br />
<span style="font-weight: bold;" class="mycode_b"><br />
Key Takeaways</span><ul class="mycode_list"><li><span style="font-weight: bold;" class="mycode_b">Probability models uncertainty:</span> it assigns numerical values between &#36;0&#36; and &#36;1&#36; to possible events.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Probability ≠ frequency:</span> frequency describes observed outcomes; probability describes the behavior expected from a model in the long run.<br />
</li>
<li>For a fair coin, &#36;P(H)=P(T)=\frac{1}{2}&#36;, but finite experiments can deviate substantially from &#36;50&#36;–&#36;50&#36;.<br />
</li>
<li>The <span style="font-weight: bold;" class="mycode_b">Law of Large Numbers</span> explains why empirical frequencies tend to approach theoretical probabilities as the number of trials increases:<br />
Xnn→pas n→∞.\frac{X_n}{n}\rightarrow p \quad \text{as } n\rightarrow\infty.<br />
</li>
<li>Probability depends on the <span style="font-weight: bold;" class="mycode_b">model and its assumptions</span>, including the choice of sample space.<br />
</li>
<li>Randomness can be useful rather than merely inconvenient: it is fundamental to <span style="font-weight: bold;" class="mycode_b">cryptography and statistical experimentation</span>.<br />
</li>
<li>Modern AI systems use probability to estimate likely next tokens:<br />
P(xt+1∣x1,x2,…,xt).P(x_{t+1}\mid x_1,x_2,\ldots,x_t).<br />
</li>
<li>Randomized controlled trials use random assignment to help separate <span style="font-weight: bold;" class="mycode_b">causal effects</span> from confounding factors.<br />
</li>
<li>A probability model does not necessarily describe every physical detail; its value lies in capturing the aspects of uncertainty that matter for the problem.<br />
</li>
<li>Probability is therefore a central mathematical language for <span style="font-weight: bold;" class="mycode_b">reasoning about an uncertain modern world</span>. <br />
</li>
</ul>
<br />
<a href="https://www.good.is/probability-underlies-much-of-the-modern-world/" target="_blank" rel="noopener" class="mycode_url">ARTICLE</a>]]></description>
			<content:encoded><![CDATA[Probability is presented as a mathematical framework for describing <span style="font-weight: bold;" class="mycode_b">randomness and uncertainty</span>, rather than a method for predicting every individual event. A key distinction is between an individual outcome and the <span style="font-weight: bold;" class="mycode_b">long-run patterns</span> that emerge from repeated experiments. For example, a fair coin has probability &#36;P(H)=0.5&#36; of landing heads, but eight actual flips need not produce exactly four heads. The article emphasizes that probability depends on how we define the <span style="font-weight: bold;" class="mycode_b">sample space</span>, the events being studied, and the assumptions incorporated into our model. <br />
<br />
The coin-flipping example illustrates an important principle of mathematical modeling: probability is not necessarily a perfect description of physical reality. Real coins are influenced by factors such as their initial orientation and the mechanics of the toss. Nevertheless, when a physical process is sufficiently sensitive to small variations, treating it probabilistically can provide a useful model. The article also distinguishes <span style="font-weight: bold;" class="mycode_b">probability</span> from <span style="font-weight: bold;" class="mycode_b">frequency</span>: a frequency is what has actually happened in a finite sequence, while probability describes the expected long-run behavior of a model.<br />
<br />
The article then connects probability to modern technology. <span style="font-weight: bold;" class="mycode_b">Artificial intelligence</span>, particularly large language models, relies heavily on probabilities when predicting what token or word should come next. Cryptography also depends on randomness: secure passwords and cryptographic keys require outcomes that are difficult for an attacker to predict. In statistics and experimental science, randomization is equally important. Randomized controlled trials use random assignment to reduce systematic differences between treatment groups, helping researchers determine whether an observed effect can be attributed to the treatment rather than to other variables.<br />
<br />
The broader message is that probability is best understood as a <span style="font-weight: bold;" class="mycode_b">model for reasoning under uncertainty</span>. It does not eliminate randomness or guarantee that an individual event will conform to the expected pattern. Instead, it allows us to quantify uncertainty and make meaningful statements about collections of events. This makes probability fundamental not only to mathematics and statistics but also to AI, cryptography, scientific experimentation, and many other aspects of modern life.<br />
<span style="font-weight: bold;" class="mycode_b"><br />
Key Takeaways</span><ul class="mycode_list"><li><span style="font-weight: bold;" class="mycode_b">Probability models uncertainty:</span> it assigns numerical values between &#36;0&#36; and &#36;1&#36; to possible events.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Probability ≠ frequency:</span> frequency describes observed outcomes; probability describes the behavior expected from a model in the long run.<br />
</li>
<li>For a fair coin, &#36;P(H)=P(T)=\frac{1}{2}&#36;, but finite experiments can deviate substantially from &#36;50&#36;–&#36;50&#36;.<br />
</li>
<li>The <span style="font-weight: bold;" class="mycode_b">Law of Large Numbers</span> explains why empirical frequencies tend to approach theoretical probabilities as the number of trials increases:<br />
Xnn→pas n→∞.\frac{X_n}{n}\rightarrow p \quad \text{as } n\rightarrow\infty.<br />
</li>
<li>Probability depends on the <span style="font-weight: bold;" class="mycode_b">model and its assumptions</span>, including the choice of sample space.<br />
</li>
<li>Randomness can be useful rather than merely inconvenient: it is fundamental to <span style="font-weight: bold;" class="mycode_b">cryptography and statistical experimentation</span>.<br />
</li>
<li>Modern AI systems use probability to estimate likely next tokens:<br />
P(xt+1∣x1,x2,…,xt).P(x_{t+1}\mid x_1,x_2,\ldots,x_t).<br />
</li>
<li>Randomized controlled trials use random assignment to help separate <span style="font-weight: bold;" class="mycode_b">causal effects</span> from confounding factors.<br />
</li>
<li>A probability model does not necessarily describe every physical detail; its value lies in capturing the aspects of uncertainty that matter for the problem.<br />
</li>
<li>Probability is therefore a central mathematical language for <span style="font-weight: bold;" class="mycode_b">reasoning about an uncertain modern world</span>. <br />
</li>
</ul>
<br />
<a href="https://www.good.is/probability-underlies-much-of-the-modern-world/" target="_blank" rel="noopener" class="mycode_url">ARTICLE</a>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Cox's theorem]]></title>
			<link>https://mklab.gr/showthread.php?tid=2164</link>
			<pubDate>Fri, 25 Sep 2026 16:00:01 +0300</pubDate>
			<dc:creator><![CDATA[<a href="https://mklab.gr/member.php?action=profile&uid=1">mklabgr</a>]]></dc:creator>
			<guid isPermaLink="false">https://mklab.gr/showthread.php?tid=2164</guid>
			<description><![CDATA[Cox’s theorem, developed by physicist Richard T. Cox, attempts to derive the mathematical laws of probability from general principles governing <span style="font-weight: bold;" class="mycode_b">plausible reasoning under uncertainty</span>. Instead of starting with probability axioms, Cox asks what numerical system should represent how plausible a proposition is, given some information. The central idea is that if plausibility is represented consistently, is comparable on a numerical scale, and behaves sensibly when logical propositions are combined, then the resulting system is essentially probability theory. This gives probability a <span style="font-weight: bold;" class="mycode_b">logical or Bayesian interpretation</span>, where probabilities quantify degrees of belief in propositions rather than merely long-run frequencies.<br />
<br />
Cox represents the plausibility of a proposition &#36;A&#36; given information &#36;X&#36; by &#36;A\mid X&#36;. For two propositions &#36;A&#36; and &#36;B&#36;, he assumes that the plausibility of their conjunction can be determined from the plausibilities of its components. This produces a functional equation such as &#36;AB\mid X=g(A\mid X,B\mid AX)&#36;. Consistency with the associativity of logical conjunction forces &#36;g&#36; to have an associative structure. Under the relevant monotonicity assumptions, a suitable transformation &#36;w&#36; converts this operation into multiplication: &#36;w(AB\mid X)=w(A\mid X)w(B\mid AX)&#36;. Thus, an abstract system of plausible reasoning begins to acquire the familiar mathematical structure of conditional probability.<br />
<br />
The treatment of negation supplies the second major ingredient. Cox assumes that the plausibility of &#36;\neg A&#36; is determined by the plausibility of &#36;A&#36;, through a function &#36;f&#36;: &#36;w(\neg A\mid X)=f(w(A\mid X))&#36;. Because applying negation twice returns the original proposition, &#36;f&#36; must satisfy &#36;f(f(x))=x&#36;. Combining the requirements for conjunction and negation ultimately gives a probability-like representation. In particular, there exists a positive number &#36;m&#36; such that &#36;w^m&#36; satisfies &#36;w^m(A\mid B)+w^m(\neg A\mid B)=1&#36; and &#36;w^m(AB\mid C)=w^m(A\mid C)w^m(B\mid AC)&#36;. Defining &#36;P=w^m&#36; produces the familiar probability rules.<br />
<br />
The theorem is important because it provides one mathematical justification for <span style="font-weight: bold;" class="mycode_b">Bayesian probability as a logic of uncertain reasoning</span>. However, it is not an unconditional proof that probability is the only possible framework for uncertainty. The conclusion depends on Cox's assumptions, and later authors have questioned or modified some of them. In particular, Halpern identified counterexamples under weakened assumptions, while other researchers have proposed alternative formulations or additional assumptions. Another important technical point is that Cox's derivation gives <span style="font-weight: bold;" class="mycode_b">finite additivity</span>, whereas the standard measure-theoretic formulation of probability uses the stronger property of <span style="font-weight: bold;" class="mycode_b">countable additivity</span>.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Key takeaways</span><ul class="mycode_list"><li><span style="font-weight: bold;" class="mycode_b">Main idea:</span> consistent numerical reasoning about uncertain propositions leads to the mathematical structure of probability.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Starting point:</span> assign a real-valued plausibility to propositions rather than assuming probability axioms from the beginning.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Conjunction:</span> consistency leads to a multiplicative rule, ultimately giving<br />
&#36;P(A\cap B\mid C)=P(A\mid C)P(B\mid A\cap C)&#36;.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Negation:</span> the complement rule becomes<br />
&#36;P(\neg A\mid B)=1-P(A\mid B)&#36;.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Logical structure:</span> associativity of conjunction and the behavior of negation generate functional equations whose solutions have probability-like form.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Bayesian interpretation:</span> probability can be viewed as an extension of ordinary logic to situations involving uncertainty.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Important limitation:</span> Cox's result depends on mathematical assumptions about how plausibility behaves; it does not establish that every conceivable theory of uncertainty must be ordinary probability.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Measure-theoretic distinction:</span> Cox's basic derivation yields finite additivity, while Kolmogorov's standard framework requires countable additivity.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Mathematical interest:</span> the theorem is closely connected with <span style="font-weight: bold;" class="mycode_b">functional equations, associativity, monotonicity, Boolean logic, and probability theory</span>.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Historical significance:</span> Cox's original work appeared in 1946, with a more extensive treatment published in 1961.<br />
</li>
</ul>
<br />
<a href="https://en.wikipedia.org/wiki/Cox%27s_theorem" target="_blank" rel="noopener" class="mycode_url">ARTICLE</a> / <a href="https://drive.google.com/file/d/1j7Sw473rrw8_Aa1r2hCdiR8BekqRmmk1/view?usp=drive_link" target="_blank" rel="noopener" class="mycode_url">PDF</a>]]></description>
			<content:encoded><![CDATA[Cox’s theorem, developed by physicist Richard T. Cox, attempts to derive the mathematical laws of probability from general principles governing <span style="font-weight: bold;" class="mycode_b">plausible reasoning under uncertainty</span>. Instead of starting with probability axioms, Cox asks what numerical system should represent how plausible a proposition is, given some information. The central idea is that if plausibility is represented consistently, is comparable on a numerical scale, and behaves sensibly when logical propositions are combined, then the resulting system is essentially probability theory. This gives probability a <span style="font-weight: bold;" class="mycode_b">logical or Bayesian interpretation</span>, where probabilities quantify degrees of belief in propositions rather than merely long-run frequencies.<br />
<br />
Cox represents the plausibility of a proposition &#36;A&#36; given information &#36;X&#36; by &#36;A\mid X&#36;. For two propositions &#36;A&#36; and &#36;B&#36;, he assumes that the plausibility of their conjunction can be determined from the plausibilities of its components. This produces a functional equation such as &#36;AB\mid X=g(A\mid X,B\mid AX)&#36;. Consistency with the associativity of logical conjunction forces &#36;g&#36; to have an associative structure. Under the relevant monotonicity assumptions, a suitable transformation &#36;w&#36; converts this operation into multiplication: &#36;w(AB\mid X)=w(A\mid X)w(B\mid AX)&#36;. Thus, an abstract system of plausible reasoning begins to acquire the familiar mathematical structure of conditional probability.<br />
<br />
The treatment of negation supplies the second major ingredient. Cox assumes that the plausibility of &#36;\neg A&#36; is determined by the plausibility of &#36;A&#36;, through a function &#36;f&#36;: &#36;w(\neg A\mid X)=f(w(A\mid X))&#36;. Because applying negation twice returns the original proposition, &#36;f&#36; must satisfy &#36;f(f(x))=x&#36;. Combining the requirements for conjunction and negation ultimately gives a probability-like representation. In particular, there exists a positive number &#36;m&#36; such that &#36;w^m&#36; satisfies &#36;w^m(A\mid B)+w^m(\neg A\mid B)=1&#36; and &#36;w^m(AB\mid C)=w^m(A\mid C)w^m(B\mid AC)&#36;. Defining &#36;P=w^m&#36; produces the familiar probability rules.<br />
<br />
The theorem is important because it provides one mathematical justification for <span style="font-weight: bold;" class="mycode_b">Bayesian probability as a logic of uncertain reasoning</span>. However, it is not an unconditional proof that probability is the only possible framework for uncertainty. The conclusion depends on Cox's assumptions, and later authors have questioned or modified some of them. In particular, Halpern identified counterexamples under weakened assumptions, while other researchers have proposed alternative formulations or additional assumptions. Another important technical point is that Cox's derivation gives <span style="font-weight: bold;" class="mycode_b">finite additivity</span>, whereas the standard measure-theoretic formulation of probability uses the stronger property of <span style="font-weight: bold;" class="mycode_b">countable additivity</span>.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Key takeaways</span><ul class="mycode_list"><li><span style="font-weight: bold;" class="mycode_b">Main idea:</span> consistent numerical reasoning about uncertain propositions leads to the mathematical structure of probability.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Starting point:</span> assign a real-valued plausibility to propositions rather than assuming probability axioms from the beginning.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Conjunction:</span> consistency leads to a multiplicative rule, ultimately giving<br />
&#36;P(A\cap B\mid C)=P(A\mid C)P(B\mid A\cap C)&#36;.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Negation:</span> the complement rule becomes<br />
&#36;P(\neg A\mid B)=1-P(A\mid B)&#36;.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Logical structure:</span> associativity of conjunction and the behavior of negation generate functional equations whose solutions have probability-like form.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Bayesian interpretation:</span> probability can be viewed as an extension of ordinary logic to situations involving uncertainty.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Important limitation:</span> Cox's result depends on mathematical assumptions about how plausibility behaves; it does not establish that every conceivable theory of uncertainty must be ordinary probability.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Measure-theoretic distinction:</span> Cox's basic derivation yields finite additivity, while Kolmogorov's standard framework requires countable additivity.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Mathematical interest:</span> the theorem is closely connected with <span style="font-weight: bold;" class="mycode_b">functional equations, associativity, monotonicity, Boolean logic, and probability theory</span>.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Historical significance:</span> Cox's original work appeared in 1946, with a more extensive treatment published in 1961.<br />
</li>
</ul>
<br />
<a href="https://en.wikipedia.org/wiki/Cox%27s_theorem" target="_blank" rel="noopener" class="mycode_url">ARTICLE</a> / <a href="https://drive.google.com/file/d/1j7Sw473rrw8_Aa1r2hCdiR8BekqRmmk1/view?usp=drive_link" target="_blank" rel="noopener" class="mycode_url">PDF</a>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Topology and geometry in data science]]></title>
			<link>https://mklab.gr/showthread.php?tid=1985</link>
			<pubDate>Tue, 15 Sep 2026 19:03:26 +0300</pubDate>
			<dc:creator><![CDATA[<a href="https://mklab.gr/member.php?action=profile&uid=1">mklabgr</a>]]></dc:creator>
			<guid isPermaLink="false">https://mklab.gr/showthread.php?tid=1985</guid>
			<description><![CDATA[The article <span style="font-weight: bold;" class="mycode_b">“On the shape that matters – topology and geometry in data science”</span> by Paweł Dłotko explores how <span style="font-weight: bold;" class="mycode_b">topological data analysis (TDA)</span> can capture the shape and structure of datasets in ways that traditional statistics often cannot. While conventional statistical methods reduce complex, high-dimensional data to numerical summaries, datasets with almost identical statistics can have radically different geometric shapes.<br />
<br />
 TDA addresses this by constructing mathematical objects such as <span style="font-weight: bold;" class="mycode_b">simplicial complexes</span> from point clouds and studying their topological properties—connected components, holes, and cavities—as the scale of observation changes. The article introduces constructions such as <span style="font-weight: bold;" class="mycode_b">Vietoris–Rips and alpha complexes</span>, which turn raw data into multiscale structures known as filtrations. <br />
<br />
A central tool discussed is the <span style="font-weight: bold;" class="mycode_b">Euler characteristic curve (ECC)</span>, which summarizes how the topology of a dataset evolves across different scales. The ECC can provide robust descriptions of high-dimensional data because it is invariant under transformations such as permutations of coordinate axes and affine transformations. The article particularly highlights its use in statistical <span style="font-weight: bold;" class="mycode_b">goodness-of-fit testing</span>: the resulting “TopoTests” use topological information as an alternative to the traditional cumulative distribution function and can outperform established methods, even for relatively small datasets. Overall, the article presents topology and geometry not merely as abstract mathematical theories, but as practical tools for <span style="font-weight: bold;" class="mycode_b">visualising, comparing, classifying and statistically analysing complex data</span>, with applications ranging from data science to cosmology. <br />
<br />
<br />
<a href="https://ems.press/content/serial-article-files/47925" target="_blank" rel="noopener" class="mycode_url">ARTICLE [PDF]</a>]]></description>
			<content:encoded><![CDATA[The article <span style="font-weight: bold;" class="mycode_b">“On the shape that matters – topology and geometry in data science”</span> by Paweł Dłotko explores how <span style="font-weight: bold;" class="mycode_b">topological data analysis (TDA)</span> can capture the shape and structure of datasets in ways that traditional statistics often cannot. While conventional statistical methods reduce complex, high-dimensional data to numerical summaries, datasets with almost identical statistics can have radically different geometric shapes.<br />
<br />
 TDA addresses this by constructing mathematical objects such as <span style="font-weight: bold;" class="mycode_b">simplicial complexes</span> from point clouds and studying their topological properties—connected components, holes, and cavities—as the scale of observation changes. The article introduces constructions such as <span style="font-weight: bold;" class="mycode_b">Vietoris–Rips and alpha complexes</span>, which turn raw data into multiscale structures known as filtrations. <br />
<br />
A central tool discussed is the <span style="font-weight: bold;" class="mycode_b">Euler characteristic curve (ECC)</span>, which summarizes how the topology of a dataset evolves across different scales. The ECC can provide robust descriptions of high-dimensional data because it is invariant under transformations such as permutations of coordinate axes and affine transformations. The article particularly highlights its use in statistical <span style="font-weight: bold;" class="mycode_b">goodness-of-fit testing</span>: the resulting “TopoTests” use topological information as an alternative to the traditional cumulative distribution function and can outperform established methods, even for relatively small datasets. Overall, the article presents topology and geometry not merely as abstract mathematical theories, but as practical tools for <span style="font-weight: bold;" class="mycode_b">visualising, comparing, classifying and statistically analysing complex data</span>, with applications ranging from data science to cosmology. <br />
<br />
<br />
<a href="https://ems.press/content/serial-article-files/47925" target="_blank" rel="noopener" class="mycode_url">ARTICLE [PDF]</a>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Where Did Combinators Come From ?]]></title>
			<link>https://mklab.gr/showthread.php?tid=1865</link>
			<pubDate>Sun, 06 Sep 2026 00:28:45 +0300</pubDate>
			<dc:creator><![CDATA[<a href="https://mklab.gr/member.php?action=profile&uid=1">mklabgr</a>]]></dc:creator>
			<guid isPermaLink="false">https://mklab.gr/showthread.php?tid=1865</guid>
			<description><![CDATA[Where Did Combinators Come From? Hunting the Story of Moses Schönfinkel<br />
<span style="font-weight: bold;" class="mycode_b">Author:</span> Stephen Wolfram<br />
<span style="font-weight: bold;" class="mycode_b">Submitted:</span> 18 August 2021<br />
<span style="font-weight: bold;" class="mycode_b">Field:</span> History of Mathematics / Mathematical Logic / Foundations of Computation<br />
<span style="font-weight: bold;" class="mycode_b">arXiv:</span> 2108.08707 (<a href="https://arxiv.org/abs/2108.08707" target="_blank" rel="noopener" class="mycode_url">arXiv</a>)<br />
<br />
Stephen Wolfram’s article is a historical investigation of <span style="font-weight: bold;" class="mycode_b">Moses Schönfinkel (1888–?)</span>, the mathematician who introduced <span style="font-weight: bold;" class="mycode_b">combinators</span> in a lecture to the Göttingen Mathematical Society on 7 December 1920. Wolfram argues that Schönfinkel’s work deserves a much more prominent place in the history of computation: sixteen years before Turing machines, Schönfinkel developed a formal system in which arbitrary functions could, in principle, be represented by combinations of a tiny number of primitive operations. His ideas appeared in the 1924 paper <span style="font-style: italic;" class="mycode_i">Über die Bausteine der mathematischen Logik</span> (“On the Building Blocks of Mathematical Logic”). The essential primitives are what are now called the <span style="font-weight: bold;" class="mycode_b">&#36;S&#36; and &#36;K&#36; combinators</span>, which may be written as<br />
&#36;Kxy=x&#36;<br />
and<br />
&#36;Sxyz=xz(yz)&#36;.<br />
<br />
From combinations of these extraordinarily simple rules one can construct general computations without introducing explicitly named variables. Wolfram therefore characterizes Schönfinkel’s system as an exceptionally early—and strikingly minimal—formalism for what we now understand as <span style="font-weight: bold;" class="mycode_b">universal computation</span>.<br />
<br />
Much of the paper reconstructs Schönfinkel’s almost-lost biography from archival material. Born in <span style="font-weight: bold;" class="mycode_b">Ekaterinoslav, now Dnipro, in 1888</span>, Schönfinkel studied mathematics at Odessa and later went to Göttingen, where he was connected with the intellectual circle surrounding <span style="font-weight: bold;" class="mycode_b">David Hilbert and Paul Bernays</span>. He helped prepare notes for Hilbert’s 1920 lectures on mathematical logic and presented his revolutionary combinator ideas later that year. Yet his academic career never developed conventionally. In 1924 he left Göttingen for Moscow; after that, reliable information becomes scarce. Contemporary reports claimed that he became mentally ill and entered a sanatorium, while later stories said that he died impoverished around 1940–42, but Wolfram emphasizes that much of this remains uncertain and is supported largely by indirect testimony rather than definitive records.<br />
<br />
The larger theme is how an extraordinarily important idea can almost disappear from intellectual history. <span style="font-weight: bold;" class="mycode_b">Haskell Curry</span> encountered Schönfinkel’s work in 1927 and subsequently developed combinatory logic much further, while lambda calculus and Turing machines eventually became much better-known foundations for computation. Schönfinkel’s original paper largely vanished from attention until it was republished in English in Jean van Heijenoort’s influential 1967 collection <span style="font-style: italic;" class="mycode_i">From Frege to Gödel</span>. Wolfram argues that Schönfinkel’s achievement was especially remarkable because he identified the essential structure of computation before computers existed and before “computation” itself had become a clearly articulated mathematical concept. In this sense, the whole intellectual legacy of an almost forgotten mathematician became compressed into two tiny symbols: <span style="font-weight: bold;" class="mycode_b">&#36;S&#36; and &#36;K&#36;</span>.<br />
<br />
Key takeaways<ul class="mycode_list"><li><span style="font-weight: bold;" class="mycode_b">Schönfinkel anticipated fundamental ideas of theoretical computer science in 1920</span>, long before Turing machines and modern programming languages.<br />
</li>
<li>The combinators &#36;S&#36; and &#36;K&#36; show that extremely simple symbolic transformation rules can generate <span style="font-weight: bold;" class="mycode_b">arbitrarily complex computations</span>.<br />
</li>
<li>His work became the foundation of <span style="font-weight: bold;" class="mycode_b">combinatory logic</span> and is closely related to lambda calculus, functional programming, and ideas such as <span style="font-weight: bold;" class="mycode_b">currying</span>.<br />
</li>
<li>Wolfram’s paper is as much a piece of <span style="font-weight: bold;" class="mycode_b">mathematical detective work</span> as mathematics: it reconstructs the life of a nearly forgotten figure whose ideas became fundamental to our modern conception of computation.<br />
</li>
</ul>
<br />
<a href="https://arxiv.org/pdf/2108.08707" target="_blank" rel="noopener" class="mycode_url">ARTICLE [PDF]</a>]]></description>
			<content:encoded><![CDATA[Where Did Combinators Come From? Hunting the Story of Moses Schönfinkel<br />
<span style="font-weight: bold;" class="mycode_b">Author:</span> Stephen Wolfram<br />
<span style="font-weight: bold;" class="mycode_b">Submitted:</span> 18 August 2021<br />
<span style="font-weight: bold;" class="mycode_b">Field:</span> History of Mathematics / Mathematical Logic / Foundations of Computation<br />
<span style="font-weight: bold;" class="mycode_b">arXiv:</span> 2108.08707 (<a href="https://arxiv.org/abs/2108.08707" target="_blank" rel="noopener" class="mycode_url">arXiv</a>)<br />
<br />
Stephen Wolfram’s article is a historical investigation of <span style="font-weight: bold;" class="mycode_b">Moses Schönfinkel (1888–?)</span>, the mathematician who introduced <span style="font-weight: bold;" class="mycode_b">combinators</span> in a lecture to the Göttingen Mathematical Society on 7 December 1920. Wolfram argues that Schönfinkel’s work deserves a much more prominent place in the history of computation: sixteen years before Turing machines, Schönfinkel developed a formal system in which arbitrary functions could, in principle, be represented by combinations of a tiny number of primitive operations. His ideas appeared in the 1924 paper <span style="font-style: italic;" class="mycode_i">Über die Bausteine der mathematischen Logik</span> (“On the Building Blocks of Mathematical Logic”). The essential primitives are what are now called the <span style="font-weight: bold;" class="mycode_b">&#36;S&#36; and &#36;K&#36; combinators</span>, which may be written as<br />
&#36;Kxy=x&#36;<br />
and<br />
&#36;Sxyz=xz(yz)&#36;.<br />
<br />
From combinations of these extraordinarily simple rules one can construct general computations without introducing explicitly named variables. Wolfram therefore characterizes Schönfinkel’s system as an exceptionally early—and strikingly minimal—formalism for what we now understand as <span style="font-weight: bold;" class="mycode_b">universal computation</span>.<br />
<br />
Much of the paper reconstructs Schönfinkel’s almost-lost biography from archival material. Born in <span style="font-weight: bold;" class="mycode_b">Ekaterinoslav, now Dnipro, in 1888</span>, Schönfinkel studied mathematics at Odessa and later went to Göttingen, where he was connected with the intellectual circle surrounding <span style="font-weight: bold;" class="mycode_b">David Hilbert and Paul Bernays</span>. He helped prepare notes for Hilbert’s 1920 lectures on mathematical logic and presented his revolutionary combinator ideas later that year. Yet his academic career never developed conventionally. In 1924 he left Göttingen for Moscow; after that, reliable information becomes scarce. Contemporary reports claimed that he became mentally ill and entered a sanatorium, while later stories said that he died impoverished around 1940–42, but Wolfram emphasizes that much of this remains uncertain and is supported largely by indirect testimony rather than definitive records.<br />
<br />
The larger theme is how an extraordinarily important idea can almost disappear from intellectual history. <span style="font-weight: bold;" class="mycode_b">Haskell Curry</span> encountered Schönfinkel’s work in 1927 and subsequently developed combinatory logic much further, while lambda calculus and Turing machines eventually became much better-known foundations for computation. Schönfinkel’s original paper largely vanished from attention until it was republished in English in Jean van Heijenoort’s influential 1967 collection <span style="font-style: italic;" class="mycode_i">From Frege to Gödel</span>. Wolfram argues that Schönfinkel’s achievement was especially remarkable because he identified the essential structure of computation before computers existed and before “computation” itself had become a clearly articulated mathematical concept. In this sense, the whole intellectual legacy of an almost forgotten mathematician became compressed into two tiny symbols: <span style="font-weight: bold;" class="mycode_b">&#36;S&#36; and &#36;K&#36;</span>.<br />
<br />
Key takeaways<ul class="mycode_list"><li><span style="font-weight: bold;" class="mycode_b">Schönfinkel anticipated fundamental ideas of theoretical computer science in 1920</span>, long before Turing machines and modern programming languages.<br />
</li>
<li>The combinators &#36;S&#36; and &#36;K&#36; show that extremely simple symbolic transformation rules can generate <span style="font-weight: bold;" class="mycode_b">arbitrarily complex computations</span>.<br />
</li>
<li>His work became the foundation of <span style="font-weight: bold;" class="mycode_b">combinatory logic</span> and is closely related to lambda calculus, functional programming, and ideas such as <span style="font-weight: bold;" class="mycode_b">currying</span>.<br />
</li>
<li>Wolfram’s paper is as much a piece of <span style="font-weight: bold;" class="mycode_b">mathematical detective work</span> as mathematics: it reconstructs the life of a nearly forgotten figure whose ideas became fundamental to our modern conception of computation.<br />
</li>
</ul>
<br />
<a href="https://arxiv.org/pdf/2108.08707" target="_blank" rel="noopener" class="mycode_url">ARTICLE [PDF]</a>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[History as a giant data set]]></title>
			<link>https://mklab.gr/showthread.php?tid=1860</link>
			<pubDate>Sat, 05 Sep 2026 23:47:08 +0300</pubDate>
			<dc:creator><![CDATA[<a href="https://mklab.gr/member.php?action=profile&uid=1">mklabgr</a>]]></dc:creator>
			<guid isPermaLink="false">https://mklab.gr/showthread.php?tid=1860</guid>
			<description><![CDATA[History as a Giant Data Set: How Analysing the Past Could Help Save the Future<br />
<span style="font-weight: bold;" class="mycode_b">Author:</span> Laura Spinney<br />
<span style="font-weight: bold;" class="mycode_b">Publication:</span><span style="font-style: italic;" class="mycode_i">The Guardian</span><br />
<span style="font-weight: bold;" class="mycode_b">Publication date:</span> 12 November 2019<br />
<br />
The article explores <span style="font-weight: bold;" class="mycode_b">cliodynamics</span>, an emerging discipline that treats history as a vast data set and uses mathematics, statistics and computer modelling to search for recurring patterns in the rise and decline of societies. Its central figure is Peter Turchin, originally a mathematical biologist, who argues that social systems can be studied much like ecological systems. His models suggest that societies often experience long “secular cycles” of prosperity and instability, driven by interacting factors such as population pressure, declining living standards, competition among elites, inequality and weakening state finances. These ideas build substantially on the earlier work of Jack Goldstone, who developed a <span style="font-weight: bold;" class="mycode_b">political stress indicator</span>, usually denoted &#36;\Psi&#36;, to represent the combined pressures generated by mass mobilisation, elite competition and fiscal weakness. <br />
<br />
A major development behind this approach is the availability of enormous historical databases such as <span style="font-weight: bold;" class="mycode_b">Seshat</span>, which collects quantitative information about hundreds of societies across thousands of years. Researchers can use indirect evidence—coin hoards, skeletal remains, building sizes, wages, demographic records and even environmental proxies—to reconstruct variables that cannot be measured directly. Turchin argues that such data reveal recurring long-term cycles as well as shorter roughly 50-year “fathers-and-sons” oscillations in political violence. Applied to the United States, his models showed rising structural political stress from around the 1970s onward, which led him years in advance to identify the period around 2020 as one of elevated instability.<br />
<br />
The article nevertheless emphasizes that cliodynamics is <span style="font-weight: bold;" class="mycode_b">probabilistic rather than deterministic</span>. It cannot predict the exact event that triggers a revolution or crisis; instead, it attempts to measure whether a society has become structurally vulnerable, in much the same way that meteorology estimates the probability of severe weather. Critics—particularly many traditional historians—argue that human behaviour is too contingent and culturally specific to be captured reliably by equations, and that large historical databases may reproduce biases or strip evidence of its context. Turchin's more ambitious claim is therefore not that mathematics can foretell history, but that quantitative models might eventually function as an <span style="font-weight: bold;" class="mycode_b">early-warning system for societies</span>, identifying dangerous structural pressures and allowing governments to intervene before instability turns into collapse. <br />
<br />
Key takeaways<ul class="mycode_list"><li><span style="font-weight: bold;" class="mycode_b">History may contain measurable recurring patterns</span>, rather than being entirely a sequence of unique events.<br />
</li>
<li>Cliodynamics combines <span style="font-weight: bold;" class="mycode_b">history + mathematics + statistics + complexity science + big data</span>.<br />
</li>
<li>Social instability tends to rise when <span style="font-weight: bold;" class="mycode_b">inequality, elite competition, popular hardship and state weakness</span> reinforce one another.<br />
</li>
<li>The goal is not exact prophecy, but something closer to a <span style="font-weight: bold;" class="mycode_b">“weather forecast” for political and social instability</span>.<br />
</li>
<li>The deepest question raised by the article is whether understanding historical cycles can help societies <span style="font-weight: bold;" class="mycode_b">change their trajectory rather than simply repeat them</span>. <br />
</li>
</ul>
<br />
<a href="https://www.theguardian.com/technology/2019/nov/12/history-as-a-giant-data-set-how-analysing-the-past-could-help-save-the-future" target="_blank" rel="noopener" class="mycode_url">ARTICLE</a> / <a href="https://drive.google.com/file/d/1EBaXjYDToUT2aOwBSYplZ_ou49n-LRnE/view?usp=drive_link" target="_blank" rel="noopener" class="mycode_url">ARTICLE [PDF]</a>]]></description>
			<content:encoded><![CDATA[History as a Giant Data Set: How Analysing the Past Could Help Save the Future<br />
<span style="font-weight: bold;" class="mycode_b">Author:</span> Laura Spinney<br />
<span style="font-weight: bold;" class="mycode_b">Publication:</span><span style="font-style: italic;" class="mycode_i">The Guardian</span><br />
<span style="font-weight: bold;" class="mycode_b">Publication date:</span> 12 November 2019<br />
<br />
The article explores <span style="font-weight: bold;" class="mycode_b">cliodynamics</span>, an emerging discipline that treats history as a vast data set and uses mathematics, statistics and computer modelling to search for recurring patterns in the rise and decline of societies. Its central figure is Peter Turchin, originally a mathematical biologist, who argues that social systems can be studied much like ecological systems. His models suggest that societies often experience long “secular cycles” of prosperity and instability, driven by interacting factors such as population pressure, declining living standards, competition among elites, inequality and weakening state finances. These ideas build substantially on the earlier work of Jack Goldstone, who developed a <span style="font-weight: bold;" class="mycode_b">political stress indicator</span>, usually denoted &#36;\Psi&#36;, to represent the combined pressures generated by mass mobilisation, elite competition and fiscal weakness. <br />
<br />
A major development behind this approach is the availability of enormous historical databases such as <span style="font-weight: bold;" class="mycode_b">Seshat</span>, which collects quantitative information about hundreds of societies across thousands of years. Researchers can use indirect evidence—coin hoards, skeletal remains, building sizes, wages, demographic records and even environmental proxies—to reconstruct variables that cannot be measured directly. Turchin argues that such data reveal recurring long-term cycles as well as shorter roughly 50-year “fathers-and-sons” oscillations in political violence. Applied to the United States, his models showed rising structural political stress from around the 1970s onward, which led him years in advance to identify the period around 2020 as one of elevated instability.<br />
<br />
The article nevertheless emphasizes that cliodynamics is <span style="font-weight: bold;" class="mycode_b">probabilistic rather than deterministic</span>. It cannot predict the exact event that triggers a revolution or crisis; instead, it attempts to measure whether a society has become structurally vulnerable, in much the same way that meteorology estimates the probability of severe weather. Critics—particularly many traditional historians—argue that human behaviour is too contingent and culturally specific to be captured reliably by equations, and that large historical databases may reproduce biases or strip evidence of its context. Turchin's more ambitious claim is therefore not that mathematics can foretell history, but that quantitative models might eventually function as an <span style="font-weight: bold;" class="mycode_b">early-warning system for societies</span>, identifying dangerous structural pressures and allowing governments to intervene before instability turns into collapse. <br />
<br />
Key takeaways<ul class="mycode_list"><li><span style="font-weight: bold;" class="mycode_b">History may contain measurable recurring patterns</span>, rather than being entirely a sequence of unique events.<br />
</li>
<li>Cliodynamics combines <span style="font-weight: bold;" class="mycode_b">history + mathematics + statistics + complexity science + big data</span>.<br />
</li>
<li>Social instability tends to rise when <span style="font-weight: bold;" class="mycode_b">inequality, elite competition, popular hardship and state weakness</span> reinforce one another.<br />
</li>
<li>The goal is not exact prophecy, but something closer to a <span style="font-weight: bold;" class="mycode_b">“weather forecast” for political and social instability</span>.<br />
</li>
<li>The deepest question raised by the article is whether understanding historical cycles can help societies <span style="font-weight: bold;" class="mycode_b">change their trajectory rather than simply repeat them</span>. <br />
</li>
</ul>
<br />
<a href="https://www.theguardian.com/technology/2019/nov/12/history-as-a-giant-data-set-how-analysing-the-past-could-help-save-the-future" target="_blank" rel="noopener" class="mycode_url">ARTICLE</a> / <a href="https://drive.google.com/file/d/1EBaXjYDToUT2aOwBSYplZ_ou49n-LRnE/view?usp=drive_link" target="_blank" rel="noopener" class="mycode_url">ARTICLE [PDF]</a>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Bayes theorem]]></title>
			<link>https://mklab.gr/showthread.php?tid=1849</link>
			<pubDate>Fri, 04 Sep 2026 04:24:41 +0300</pubDate>
			<dc:creator><![CDATA[<a href="https://mklab.gr/member.php?action=profile&uid=1">mklabgr</a>]]></dc:creator>
			<guid isPermaLink="false">https://mklab.gr/showthread.php?tid=1849</guid>
			<description><![CDATA[Summary<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Bayes’ theorem</span> is a fundamental result in probability theory that describes how to update the probability of a hypothesis when new evidence becomes available. If &#36;A&#36; represents a hypothesis and &#36;B&#36; represents observed evidence, then<br />
&#36;P(A\mid B)=\frac{P(B\mid A)P(A)}{P(B)}&#36;<br />
where &#36;P(A)&#36; is the <span style="font-weight: bold;" class="mycode_b">prior probability</span> of &#36;A&#36;, &#36;P(B\mid A)&#36; is the likelihood of observing &#36;B&#36; assuming &#36;A&#36; is true, and &#36;P(A\mid B)&#36; is the <span style="font-weight: bold;" class="mycode_b">posterior probability</span> after incorporating the evidence. The theorem follows directly from the definition of conditional probability and the identity<br />
&#36;P(A\cap B)=P(A\mid B)P(B)=P(B\mid A)P(A)&#36;.<br />
<br />
The importance of Bayes’ theorem lies in its ability to reverse conditional probabilities. Knowing, for example, how likely a positive medical test is when a patient has a disease does <span style="font-weight: bold;" class="mycode_b">not</span> immediately tell us how likely the patient is to have the disease after testing positive. Bayes’ theorem combines the test's accuracy with the disease's underlying prevalence to obtain that probability. This distinction is particularly important when dealing with rare events, because even a highly accurate test can produce a substantial proportion of false positives when the prior probability of the condition is very small.<br />
<br />
The theorem is named after <span style="font-weight: bold;" class="mycode_b">Thomas Bayes</span>, whose work on conditional probability was published posthumously in 1763, although <span style="font-weight: bold;" class="mycode_b">Pierre-Simon Laplace</span> independently developed and greatly extended the approach. Today Bayes’ theorem forms the mathematical foundation of <span style="font-weight: bold;" class="mycode_b">Bayesian inference</span>, where beliefs about unknown parameters or competing hypotheses are repeatedly updated as new data arrive. Its applications extend across statistics, machine learning, medical diagnosis, genetics, cryptanalysis, decision theory, and many other areas involving reasoning under uncertainty.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Key takeaways</span><ul class="mycode_list"><li><span style="font-weight: bold;" class="mycode_b">Prior + evidence → posterior:</span> Bayes’ theorem provides a systematic mathematical rule for updating probabilities.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">&#36;P(A\mid B)\neq P(B\mid A)&#36;:</span> confusing these two conditional probabilities is a common error.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Base rates matter:</span> rare events can remain relatively unlikely even after apparently strong evidence.<br />
</li>
<li>Bayes’ theorem is one of the central mathematical tools behind <span style="font-weight: bold;" class="mycode_b">Bayesian statistics and probabilistic machine learning</span>.<br />
</li>
</ul>
<br />
<a href="https://en.wikipedia.org/wiki/Bayes%27_theorem" target="_blank" rel="noopener" class="mycode_url">ARTICLE</a> / <a href="https://drive.google.com/file/d/1IXIP_C3wl15lJujsI4jEr2NXWG6iK4Ce/view?usp=drive_link" target="_blank" rel="noopener" class="mycode_url">ARTICLE [PDF]</a>]]></description>
			<content:encoded><![CDATA[Summary<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Bayes’ theorem</span> is a fundamental result in probability theory that describes how to update the probability of a hypothesis when new evidence becomes available. If &#36;A&#36; represents a hypothesis and &#36;B&#36; represents observed evidence, then<br />
&#36;P(A\mid B)=\frac{P(B\mid A)P(A)}{P(B)}&#36;<br />
where &#36;P(A)&#36; is the <span style="font-weight: bold;" class="mycode_b">prior probability</span> of &#36;A&#36;, &#36;P(B\mid A)&#36; is the likelihood of observing &#36;B&#36; assuming &#36;A&#36; is true, and &#36;P(A\mid B)&#36; is the <span style="font-weight: bold;" class="mycode_b">posterior probability</span> after incorporating the evidence. The theorem follows directly from the definition of conditional probability and the identity<br />
&#36;P(A\cap B)=P(A\mid B)P(B)=P(B\mid A)P(A)&#36;.<br />
<br />
The importance of Bayes’ theorem lies in its ability to reverse conditional probabilities. Knowing, for example, how likely a positive medical test is when a patient has a disease does <span style="font-weight: bold;" class="mycode_b">not</span> immediately tell us how likely the patient is to have the disease after testing positive. Bayes’ theorem combines the test's accuracy with the disease's underlying prevalence to obtain that probability. This distinction is particularly important when dealing with rare events, because even a highly accurate test can produce a substantial proportion of false positives when the prior probability of the condition is very small.<br />
<br />
The theorem is named after <span style="font-weight: bold;" class="mycode_b">Thomas Bayes</span>, whose work on conditional probability was published posthumously in 1763, although <span style="font-weight: bold;" class="mycode_b">Pierre-Simon Laplace</span> independently developed and greatly extended the approach. Today Bayes’ theorem forms the mathematical foundation of <span style="font-weight: bold;" class="mycode_b">Bayesian inference</span>, where beliefs about unknown parameters or competing hypotheses are repeatedly updated as new data arrive. Its applications extend across statistics, machine learning, medical diagnosis, genetics, cryptanalysis, decision theory, and many other areas involving reasoning under uncertainty.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Key takeaways</span><ul class="mycode_list"><li><span style="font-weight: bold;" class="mycode_b">Prior + evidence → posterior:</span> Bayes’ theorem provides a systematic mathematical rule for updating probabilities.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">&#36;P(A\mid B)\neq P(B\mid A)&#36;:</span> confusing these two conditional probabilities is a common error.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Base rates matter:</span> rare events can remain relatively unlikely even after apparently strong evidence.<br />
</li>
<li>Bayes’ theorem is one of the central mathematical tools behind <span style="font-weight: bold;" class="mycode_b">Bayesian statistics and probabilistic machine learning</span>.<br />
</li>
</ul>
<br />
<a href="https://en.wikipedia.org/wiki/Bayes%27_theorem" target="_blank" rel="noopener" class="mycode_url">ARTICLE</a> / <a href="https://drive.google.com/file/d/1IXIP_C3wl15lJujsI4jEr2NXWG6iK4Ce/view?usp=drive_link" target="_blank" rel="noopener" class="mycode_url">ARTICLE [PDF]</a>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Gambler's fallacy]]></title>
			<link>https://mklab.gr/showthread.php?tid=1797</link>
			<pubDate>Thu, 03 Sep 2026 02:14:35 +0300</pubDate>
			<dc:creator><![CDATA[<a href="https://mklab.gr/member.php?action=profile&uid=1">mklabgr</a>]]></dc:creator>
			<guid isPermaLink="false">https://mklab.gr/showthread.php?tid=1797</guid>
			<description><![CDATA[Summary<br />
<br />
The <span style="font-weight: bold;" class="mycode_b">gambler’s fallacy</span> is the mistaken belief that past outcomes of independent random events influence what will happen next. For example, after a fair coin lands heads several times in a row, someone may believe that tails is now “due.” In reality, each toss is independent, so the probability remains<br />
&#36;P(heads)=P(tails)=12.P(\text{heads})=P(\text{tails})=\frac12&#36;.<br />
Likewise, if four heads have already occurred, the probability that the fifth toss is heads is still &#36;1/2&#36;. The confusion comes from mixing up the probability of predicting an entire sequence beforehand with the probability of the next event after part of the sequence has already occurred. Five consecutive heads have probability &#36;1/2^5=1/32&#36; <span style="font-weight: bold;" class="mycode_b">before the experiment begins</span>, but once four heads have already occurred, the probability of another head is simply &#36;1/2&#36;. <br />
<br />
The fallacy is also called the <span style="font-weight: bold;" class="mycode_b">Monte Carlo fallacy</span>, after a famous roulette event at the Monte Carlo Casino on August 18, 1913. The ball reportedly landed on black <span style="font-weight: bold;" class="mycode_b">26 times consecutively</span>, leading gamblers to bet increasingly large sums on red because they believed red had to appear soon. But if the roulette wheel was unbiased, each new spin remained independent of the preceding spins. The psychological explanation is closely associated with what Kahneman and Tversky called the <span style="font-weight: bold;" class="mycode_b">representativeness heuristic</span>: people expect even short random sequences to look balanced, although genuine randomness naturally produces streaks and clusters. <br />
<br />
Importantly, the gambler’s fallacy applies only when events really are <span style="font-weight: bold;" class="mycode_b">independent and probabilities remain unchanged</span>. Drawing cards without replacement is different: after an ace is removed from a deck, the probability of drawing another ace genuinely changes. Similarly, an extraordinary run of identical results might provide evidence that a coin, roulette wheel, or other mechanism is biased; in that case, updating probabilities based on the observations can be rational rather than fallacious. <br />
<br />
Key takeaways<ul class="mycode_list"><li>Independent random events do <span style="font-weight: bold;" class="mycode_b">not remember</span> previous outcomes.<br />
</li>
<li>A long streak does not make the opposite outcome “due.”<br />
</li>
<li>Random sequences naturally contain surprisingly long streaks.<br />
</li>
<li>The law of large numbers does <span style="font-weight: bold;" class="mycode_b">not</span> require short-term imbalances to be immediately corrected.<br />
</li>
<li>Past outcomes matter when events are <span style="font-weight: bold;" class="mycode_b">dependent</span>, probabilities change, or observations provide evidence that the underlying process is biased. <br />
</li>
</ul>
<br />
<a href="https://en.wikipedia.org/wiki/Gambler%27s_fallacy" target="_blank" rel="noopener" class="mycode_url">ARTICLE</a>]]></description>
			<content:encoded><![CDATA[Summary<br />
<br />
The <span style="font-weight: bold;" class="mycode_b">gambler’s fallacy</span> is the mistaken belief that past outcomes of independent random events influence what will happen next. For example, after a fair coin lands heads several times in a row, someone may believe that tails is now “due.” In reality, each toss is independent, so the probability remains<br />
&#36;P(heads)=P(tails)=12.P(\text{heads})=P(\text{tails})=\frac12&#36;.<br />
Likewise, if four heads have already occurred, the probability that the fifth toss is heads is still &#36;1/2&#36;. The confusion comes from mixing up the probability of predicting an entire sequence beforehand with the probability of the next event after part of the sequence has already occurred. Five consecutive heads have probability &#36;1/2^5=1/32&#36; <span style="font-weight: bold;" class="mycode_b">before the experiment begins</span>, but once four heads have already occurred, the probability of another head is simply &#36;1/2&#36;. <br />
<br />
The fallacy is also called the <span style="font-weight: bold;" class="mycode_b">Monte Carlo fallacy</span>, after a famous roulette event at the Monte Carlo Casino on August 18, 1913. The ball reportedly landed on black <span style="font-weight: bold;" class="mycode_b">26 times consecutively</span>, leading gamblers to bet increasingly large sums on red because they believed red had to appear soon. But if the roulette wheel was unbiased, each new spin remained independent of the preceding spins. The psychological explanation is closely associated with what Kahneman and Tversky called the <span style="font-weight: bold;" class="mycode_b">representativeness heuristic</span>: people expect even short random sequences to look balanced, although genuine randomness naturally produces streaks and clusters. <br />
<br />
Importantly, the gambler’s fallacy applies only when events really are <span style="font-weight: bold;" class="mycode_b">independent and probabilities remain unchanged</span>. Drawing cards without replacement is different: after an ace is removed from a deck, the probability of drawing another ace genuinely changes. Similarly, an extraordinary run of identical results might provide evidence that a coin, roulette wheel, or other mechanism is biased; in that case, updating probabilities based on the observations can be rational rather than fallacious. <br />
<br />
Key takeaways<ul class="mycode_list"><li>Independent random events do <span style="font-weight: bold;" class="mycode_b">not remember</span> previous outcomes.<br />
</li>
<li>A long streak does not make the opposite outcome “due.”<br />
</li>
<li>Random sequences naturally contain surprisingly long streaks.<br />
</li>
<li>The law of large numbers does <span style="font-weight: bold;" class="mycode_b">not</span> require short-term imbalances to be immediately corrected.<br />
</li>
<li>Past outcomes matter when events are <span style="font-weight: bold;" class="mycode_b">dependent</span>, probabilities change, or observations provide evidence that the underlying process is biased. <br />
</li>
</ul>
<br />
<a href="https://en.wikipedia.org/wiki/Gambler%27s_fallacy" target="_blank" rel="noopener" class="mycode_url">ARTICLE</a>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Bell number]]></title>
			<link>https://mklab.gr/showthread.php?tid=1780</link>
			<pubDate>Tue, 01 Sep 2026 23:55:14 +0300</pubDate>
			<dc:creator><![CDATA[<a href="https://mklab.gr/member.php?action=profile&uid=1">mklabgr</a>]]></dc:creator>
			<guid isPermaLink="false">https://mklab.gr/showthread.php?tid=1780</guid>
			<description><![CDATA[Bell Numbers — Summary<br />
<br />
The <span style="font-weight: bold;" class="mycode_b">Bell numbers</span> &#36;B_n&#36; form an important sequence in combinatorics. They count the number of ways an &#36;n&#36;-element set can be divided into nonempty, disjoint subsets. In other words, &#36;B_n&#36; gives the total number of possible <span style="font-weight: bold;" class="mycode_b">partitions of a set</span>, where the order of the subsets does not matter.<br />
The sequence begins<br />
&#36;B_0=1,\quad B_1=1,\quad B_2=2,\quad B_3=5,\quad B_4=15,\quad B_5=52,\quad B_6=203,\ldots&#36;<br />
For example, the set &#36;{a,b,c}&#36; has exactly five possible partitions, so &#36;B_3=5&#36;. Bell numbers also count the number of possible <span style="font-weight: bold;" class="mycode_b">equivalence relations</span> on a set containing &#36;n&#36; elements.<br />
<br />
Bell numbers are closely connected with the <span style="font-weight: bold;" class="mycode_b">Stirling numbers of the second kind</span>. If &#36;S(n,k)&#36; denotes the number of ways to partition a set of &#36;n&#36; elements into exactly &#36;k&#36; nonempty subsets, then<br />
&#36;B_n=\sum_{k=0}^{n}S(n,k)&#36;.<br />
They also satisfy the recurrence relation<br />
&#36;B_{n+1}=\sum_{k=0}^{n}\binom{n}{k}B_k&#36;.<br />
Their exponential generating function is<br />
&#36;\sum_{n=0}^{\infty}\frac{B_n}{n!}x^n=e^{e^x-1}&#36;.<br />
<br />
These formulas show the close relationship between Bell numbers, set partitions, Stirling numbers and generating functions. Bell numbers grow very rapidly as &#36;n&#36; increases, and their asymptotic behaviour can also be described using the Lambert &#36;W&#36; function.<br />
The numbers are named after the mathematician <span style="font-weight: bold;" class="mycode_b">Eric Temple Bell</span>, who studied them during the 1930s, although the underlying combinatorial ideas appeared much earlier.<br />
An interesting historical example comes from Japan. A traditional incense game associated with <span style="font-style: italic;" class="mycode_i">The Tale of Genji</span> involves five groups and produces exactly &#36;B_5=52&#36; possible patterns, corresponding to the 52 possible partitions of a five-element set.<br />
<br />
Key takeaways<ul class="mycode_list"><li><span style="font-weight: bold;" class="mycode_b">Definition:</span> &#36;B_n&#36; is the number of partitions of an &#36;n&#36;-element set.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">First values:</span> &#36;1,1,2,5,15,52,203,877,4140,\ldots&#36;<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Connection with Stirling numbers:</span> &#36;B_n=\sum_{k=0}^{n}S(n,k)&#36;.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Recurrence relation:</span> &#36;B_{n+1}=\sum_{k=0}^{n}\binom{n}{k}B_k&#36;.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Generating function:</span> &#36;\sum_{n=0}^{\infty}\frac{B_n}{n!}x^n=e^{e^x-1}&#36;.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Area of mathematics:</span> mainly <span style="font-weight: bold;" class="mycode_b">combinatorics and discrete mathematics</span>, with connections to probability, number theory and analytic combinatorics.<br />
</li>
</ul>
<br />
<br />
<a href="https://en.wikipedia.org/wiki/Bell_number" target="_blank" rel="noopener" class="mycode_url">ARTICLE</a>]]></description>
			<content:encoded><![CDATA[Bell Numbers — Summary<br />
<br />
The <span style="font-weight: bold;" class="mycode_b">Bell numbers</span> &#36;B_n&#36; form an important sequence in combinatorics. They count the number of ways an &#36;n&#36;-element set can be divided into nonempty, disjoint subsets. In other words, &#36;B_n&#36; gives the total number of possible <span style="font-weight: bold;" class="mycode_b">partitions of a set</span>, where the order of the subsets does not matter.<br />
The sequence begins<br />
&#36;B_0=1,\quad B_1=1,\quad B_2=2,\quad B_3=5,\quad B_4=15,\quad B_5=52,\quad B_6=203,\ldots&#36;<br />
For example, the set &#36;{a,b,c}&#36; has exactly five possible partitions, so &#36;B_3=5&#36;. Bell numbers also count the number of possible <span style="font-weight: bold;" class="mycode_b">equivalence relations</span> on a set containing &#36;n&#36; elements.<br />
<br />
Bell numbers are closely connected with the <span style="font-weight: bold;" class="mycode_b">Stirling numbers of the second kind</span>. If &#36;S(n,k)&#36; denotes the number of ways to partition a set of &#36;n&#36; elements into exactly &#36;k&#36; nonempty subsets, then<br />
&#36;B_n=\sum_{k=0}^{n}S(n,k)&#36;.<br />
They also satisfy the recurrence relation<br />
&#36;B_{n+1}=\sum_{k=0}^{n}\binom{n}{k}B_k&#36;.<br />
Their exponential generating function is<br />
&#36;\sum_{n=0}^{\infty}\frac{B_n}{n!}x^n=e^{e^x-1}&#36;.<br />
<br />
These formulas show the close relationship between Bell numbers, set partitions, Stirling numbers and generating functions. Bell numbers grow very rapidly as &#36;n&#36; increases, and their asymptotic behaviour can also be described using the Lambert &#36;W&#36; function.<br />
The numbers are named after the mathematician <span style="font-weight: bold;" class="mycode_b">Eric Temple Bell</span>, who studied them during the 1930s, although the underlying combinatorial ideas appeared much earlier.<br />
An interesting historical example comes from Japan. A traditional incense game associated with <span style="font-style: italic;" class="mycode_i">The Tale of Genji</span> involves five groups and produces exactly &#36;B_5=52&#36; possible patterns, corresponding to the 52 possible partitions of a five-element set.<br />
<br />
Key takeaways<ul class="mycode_list"><li><span style="font-weight: bold;" class="mycode_b">Definition:</span> &#36;B_n&#36; is the number of partitions of an &#36;n&#36;-element set.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">First values:</span> &#36;1,1,2,5,15,52,203,877,4140,\ldots&#36;<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Connection with Stirling numbers:</span> &#36;B_n=\sum_{k=0}^{n}S(n,k)&#36;.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Recurrence relation:</span> &#36;B_{n+1}=\sum_{k=0}^{n}\binom{n}{k}B_k&#36;.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Generating function:</span> &#36;\sum_{n=0}^{\infty}\frac{B_n}{n!}x^n=e^{e^x-1}&#36;.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Area of mathematics:</span> mainly <span style="font-weight: bold;" class="mycode_b">combinatorics and discrete mathematics</span>, with connections to probability, number theory and analytic combinatorics.<br />
</li>
</ul>
<br />
<br />
<a href="https://en.wikipedia.org/wiki/Bell_number" target="_blank" rel="noopener" class="mycode_url">ARTICLE</a>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Benford's law]]></title>
			<link>https://mklab.gr/showthread.php?tid=1733</link>
			<pubDate>Sun, 23 Aug 2026 23:18:13 +0300</pubDate>
			<dc:creator><![CDATA[<a href="https://mklab.gr/member.php?action=profile&uid=1">mklabgr</a>]]></dc:creator>
			<guid isPermaLink="false">https://mklab.gr/showthread.php?tid=1733</guid>
			<description><![CDATA[<div style="text-align: center;" class="mycode_align"><span style="font-size: xx-large;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Benford’s Law</span></span><br />
<span style="font-size: large;" class="mycode_size"><span style="font-style: italic;" class="mycode_i">The Strange Mathematics of First Digits</span></span></div>
<span style="font-weight: bold;" class="mycode_b">Benford’s law</span>, also known as the <span style="font-weight: bold;" class="mycode_b">Newcomb–Benford law</span> or the <span style="font-weight: bold;" class="mycode_b">first-digit law</span>, is a remarkable mathematical phenomenon concerning the frequency with which digits appear at the beginning of numbers in many real-world datasets.<br />
One might naturally expect the digits 1 through 9 to appear as the first digit with approximately equal probability. If that were true, each digit would occur about &#36;11.1%&#36; of the time.<br />
Surprisingly, this is often not what happens.<br />
In many naturally occurring collections of numbers, values beginning with <span style="font-weight: bold;" class="mycode_b">1</span> appear much more frequently than values beginning with <span style="font-weight: bold;" class="mycode_b">9</span>.<br />
<hr class="mycode_hr" />
<span style="font-size: large;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">The Law</span></span><br />
According to Benford’s law, the probability that the first significant digit of a number is &#36;d&#36; is<br />
<div style="text-align: center;" class="mycode_align">&#36;P(d)=\log_{10}\left(1+\frac{1}{d}\right)&#36;</div>
where<br />
<div style="text-align: center;" class="mycode_align">&#36;d=1,2,\ldots,9&#36;</div>
For example,<br />
<div style="text-align: center;" class="mycode_align">&#36;P(1)=\log_{10}(2)\approx0.301&#36;</div>
so approximately <span style="font-weight: bold;" class="mycode_b">30.1%</span> of the numbers in a Benford-distributed dataset begin with the digit 1.<br />
For the digit 9,<br />
<div style="text-align: center;" class="mycode_align">&#36;P(9)=\log_{10}\left(\frac{10}{9}\right)\approx0.046&#36;</div>
so only about <span style="font-weight: bold;" class="mycode_b">4.6%</span> begin with 9.<br />
This means that numbers beginning with 1 can occur roughly <span style="font-weight: bold;" class="mycode_b">six times as often</span> as numbers beginning with 9.<br />
<hr class="mycode_hr" />
<span style="font-size: large;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">First-Digit Probabilities</span></span><br />
<span style="font-weight: bold;" class="mycode_b">1</span> → 30.1%<br />
<span style="font-weight: bold;" class="mycode_b">2</span> → 17.6%<br />
<span style="font-weight: bold;" class="mycode_b">3</span> → 12.5%<br />
<span style="font-weight: bold;" class="mycode_b">4</span> → 9.7%<br />
<span style="font-weight: bold;" class="mycode_b">5</span> → 7.9%<br />
<span style="font-weight: bold;" class="mycode_b">6</span> → 6.7%<br />
<span style="font-weight: bold;" class="mycode_b">7</span> → 5.8%<br />
<span style="font-weight: bold;" class="mycode_b">8</span> → 5.1%<br />
<span style="font-weight: bold;" class="mycode_b">9</span> → 4.6%<br />
The probability steadily decreases as the leading digit becomes larger.<br />
<hr class="mycode_hr" />
<span style="font-size: large;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Why Does This Happen?</span></span><br />
The explanation is closely related to <span style="font-weight: bold;" class="mycode_b">logarithmic scales</span>.<br />
On a logarithmic scale, the interval occupied by numbers beginning with 1 is considerably larger than the interval occupied by numbers beginning with 9.<br />
For example, numbers with leading digit 1 occupy the logarithmic interval from<br />
<div style="text-align: center;" class="mycode_align">&#36;\log_{10}(1)&#36; to &#36;\log_{10}(2)&#36;</div>
whose length is<br />
<div style="text-align: center;" class="mycode_align">&#36;\log_{10}(2)-\log_{10}(1)=\log_{10}(2)\approx0.301.&#36;</div>
Numbers beginning with 9 occupy only the interval from<br />
<div style="text-align: center;" class="mycode_align">&#36;\log_{10}(9)&#36; to &#36;\log_{10}(10)&#36;</div>
whose length is approximately<br />
<div style="text-align: center;" class="mycode_align">&#36;0.046.&#36;</div>
Thus, if the logarithms of the values are distributed approximately uniformly, Benford’s law appears naturally.<br />
<hr class="mycode_hr" />
<span style="font-size: large;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Where Does Benford’s Law Appear?</span></span><br />
The law tends to work particularly well for datasets that span <span style="font-weight: bold;" class="mycode_b">several orders of magnitude</span>.<br />
Examples can include:<br />
Population figures<br />
Financial and accounting data<br />
Company revenues<br />
Geographical measurements<br />
Physical quantities<br />
Economic statistics<br />
Scientific measurements<br />
Certain mathematical sequences<br />
Interestingly, some purely mathematical sequences also approach Benford’s distribution.<br />
Examples include the <span style="font-weight: bold;" class="mycode_b">Fibonacci numbers</span>, <span style="font-weight: bold;" class="mycode_b">factorials</span> and <span style="font-weight: bold;" class="mycode_b">powers of 2</span>.<br />
<hr class="mycode_hr" />
<span style="font-size: large;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">A Historical Curiosity</span></span><br />
The phenomenon was first noticed by the astronomer and mathematician <span style="font-weight: bold;" class="mycode_b">Simon Newcomb</span> in <span style="font-weight: bold;" class="mycode_b">1881</span>.<br />
Newcomb noticed something peculiar about books containing logarithm tables.<br />
The pages containing logarithms of numbers beginning with small digits—especially 1—were considerably more worn than pages corresponding to numbers beginning with larger digits.<br />
He reasoned that people must therefore be looking up numbers beginning with 1 much more frequently than numbers beginning with 9.<br />
The observation was largely forgotten.<br />
More than fifty years later, physicist <span style="font-weight: bold;" class="mycode_b">Frank Benford</span> independently rediscovered the phenomenon.<br />
In <span style="font-weight: bold;" class="mycode_b">1938</span>, Benford published a large investigation involving more than <span style="font-weight: bold;" class="mycode_b">20,000 numerical observations</span> taken from many different sources.<br />
The phenomenon subsequently became known as <span style="font-weight: bold;" class="mycode_b">Benford’s law</span>.<br />
<hr class="mycode_hr" />
<span style="font-size: large;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Fraud Detection</span></span><br />
One of the most fascinating modern applications of Benford’s law is in <span style="font-weight: bold;" class="mycode_b">forensic accounting and fraud detection</span>.<br />
Suppose that a large collection of financial transactions would normally be expected to follow Benford’s law.<br />
An auditor can compare the actual frequencies of the first digits with the theoretical frequencies predicted by Benford’s distribution.<br />
Large or systematic deviations may identify data that deserve further investigation.<br />
For this reason, Benford analysis has been used in areas such as:<br />
Accounting audits<br />
Tax investigations<br />
Financial fraud detection<br />
Economic statistics<br />
Scientific datasets<br />
Election-data analysis<br />
However, there is an extremely important limitation.<br />
<span style="font-weight: bold;" class="mycode_b">Failure to follow Benford’s law is not proof of fraud.</span><br />
It merely indicates that the dataset may deserve closer examination.<br />
<hr class="mycode_hr" />
<span style="font-size: large;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">When Benford’s Law Does NOT Apply</span></span><br />
Not every collection of numbers should follow Benford’s law.<br />
It generally performs poorly when numbers are artificially restricted to a narrow interval or assigned according to human-designed systems.<br />
Examples include:<br />
Human heights<br />
IQ scores<br />
Telephone numbers<br />
Postal codes<br />
Identification numbers<br />
Sequential invoice numbers<br />
Numbers with predetermined minimum or maximum values<br />
For example, the heights of adults might mostly lie between roughly 150 and 200 centimetres. Such values do not span several orders of magnitude, so there is no reason to expect them to follow Benford’s law.<br />
This limitation is particularly important when Benford analysis is used to make claims about fraud or manipulation.<br />
<hr class="mycode_hr" />
<span style="font-size: large;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Why Is Benford’s Law So Interesting?</span></span><br />
Benford’s law is fascinating because it demonstrates that something as apparently arbitrary as the <span style="font-weight: bold;" class="mycode_b">first digit of a number</span> can exhibit a strong mathematical pattern.<br />
It connects several areas of mathematics and statistics, including:<br />
<span style="font-weight: bold;" class="mycode_b">Probability theory</span><br />
<span style="font-weight: bold;" class="mycode_b">Mathematical statistics</span><br />
<span style="font-weight: bold;" class="mycode_b">Number theory</span><br />
<span style="font-weight: bold;" class="mycode_b">Logarithms</span><br />
<span style="font-weight: bold;" class="mycode_b">Data analysis</span><br />
<span style="font-weight: bold;" class="mycode_b">Forensic statistics</span><br />
Perhaps most surprisingly, the law shows that in many datasets the digits 1 through 9 are <span style="font-weight: bold;" class="mycode_b">far from equally likely</span>.<br />
The humble digit <span style="font-weight: bold;" class="mycode_b">1</span> appears at the beginning of numbers approximately one-third of the time.<br />
<hr class="mycode_hr" />
<span style="font-size: large;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Key Takeaways</span></span><br />
<span style="font-weight: bold;" class="mycode_b">1.</span> In many naturally generated datasets, first digits are not uniformly distributed.<br />
<span style="font-weight: bold;" class="mycode_b">2.</span> About <span style="font-weight: bold;" class="mycode_b">30.1%</span> of Benford-distributed numbers begin with 1.<br />
<span style="font-weight: bold;" class="mycode_b">3.</span> Only about <span style="font-weight: bold;" class="mycode_b">4.6%</span> begin with 9.<br />
<span style="font-weight: bold;" class="mycode_b">4.</span> The distribution is described by<br />
<div style="text-align: center;" class="mycode_align">&#36;P(d)=\log_{10}\left(1+\frac{1}{d}\right).&#36;</div>
<span style="font-weight: bold;" class="mycode_b">5.</span> The phenomenon is fundamentally connected with logarithmic scales.<br />
<span style="font-weight: bold;" class="mycode_b">6.</span> Benford’s law is useful for detecting statistical anomalies, particularly in financial data.<br />
<span style="font-weight: bold;" class="mycode_b">7.</span> A deviation from Benford’s law is <span style="font-weight: bold;" class="mycode_b">not, by itself, evidence of fraud</span>.<br />
<hr class="mycode_hr" />
<span style="font-weight: bold;" class="mycode_b">Source:</span><br />
<a href="https://en.wikipedia.org/wiki/Benford's_law" target="_blank" rel="noopener" class="mycode_url">ARTICLE</a> / <a href="https://drive.google.com/file/d/1cAv_KyIREkUEk0_BGc_DVxBA3mb4SrfC/view?usp=drive_link" target="_blank" rel="noopener" class="mycode_url">ARTICLE [PDF]</a>]]></description>
			<content:encoded><![CDATA[<div style="text-align: center;" class="mycode_align"><span style="font-size: xx-large;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Benford’s Law</span></span><br />
<span style="font-size: large;" class="mycode_size"><span style="font-style: italic;" class="mycode_i">The Strange Mathematics of First Digits</span></span></div>
<span style="font-weight: bold;" class="mycode_b">Benford’s law</span>, also known as the <span style="font-weight: bold;" class="mycode_b">Newcomb–Benford law</span> or the <span style="font-weight: bold;" class="mycode_b">first-digit law</span>, is a remarkable mathematical phenomenon concerning the frequency with which digits appear at the beginning of numbers in many real-world datasets.<br />
One might naturally expect the digits 1 through 9 to appear as the first digit with approximately equal probability. If that were true, each digit would occur about &#36;11.1%&#36; of the time.<br />
Surprisingly, this is often not what happens.<br />
In many naturally occurring collections of numbers, values beginning with <span style="font-weight: bold;" class="mycode_b">1</span> appear much more frequently than values beginning with <span style="font-weight: bold;" class="mycode_b">9</span>.<br />
<hr class="mycode_hr" />
<span style="font-size: large;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">The Law</span></span><br />
According to Benford’s law, the probability that the first significant digit of a number is &#36;d&#36; is<br />
<div style="text-align: center;" class="mycode_align">&#36;P(d)=\log_{10}\left(1+\frac{1}{d}\right)&#36;</div>
where<br />
<div style="text-align: center;" class="mycode_align">&#36;d=1,2,\ldots,9&#36;</div>
For example,<br />
<div style="text-align: center;" class="mycode_align">&#36;P(1)=\log_{10}(2)\approx0.301&#36;</div>
so approximately <span style="font-weight: bold;" class="mycode_b">30.1%</span> of the numbers in a Benford-distributed dataset begin with the digit 1.<br />
For the digit 9,<br />
<div style="text-align: center;" class="mycode_align">&#36;P(9)=\log_{10}\left(\frac{10}{9}\right)\approx0.046&#36;</div>
so only about <span style="font-weight: bold;" class="mycode_b">4.6%</span> begin with 9.<br />
This means that numbers beginning with 1 can occur roughly <span style="font-weight: bold;" class="mycode_b">six times as often</span> as numbers beginning with 9.<br />
<hr class="mycode_hr" />
<span style="font-size: large;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">First-Digit Probabilities</span></span><br />
<span style="font-weight: bold;" class="mycode_b">1</span> → 30.1%<br />
<span style="font-weight: bold;" class="mycode_b">2</span> → 17.6%<br />
<span style="font-weight: bold;" class="mycode_b">3</span> → 12.5%<br />
<span style="font-weight: bold;" class="mycode_b">4</span> → 9.7%<br />
<span style="font-weight: bold;" class="mycode_b">5</span> → 7.9%<br />
<span style="font-weight: bold;" class="mycode_b">6</span> → 6.7%<br />
<span style="font-weight: bold;" class="mycode_b">7</span> → 5.8%<br />
<span style="font-weight: bold;" class="mycode_b">8</span> → 5.1%<br />
<span style="font-weight: bold;" class="mycode_b">9</span> → 4.6%<br />
The probability steadily decreases as the leading digit becomes larger.<br />
<hr class="mycode_hr" />
<span style="font-size: large;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Why Does This Happen?</span></span><br />
The explanation is closely related to <span style="font-weight: bold;" class="mycode_b">logarithmic scales</span>.<br />
On a logarithmic scale, the interval occupied by numbers beginning with 1 is considerably larger than the interval occupied by numbers beginning with 9.<br />
For example, numbers with leading digit 1 occupy the logarithmic interval from<br />
<div style="text-align: center;" class="mycode_align">&#36;\log_{10}(1)&#36; to &#36;\log_{10}(2)&#36;</div>
whose length is<br />
<div style="text-align: center;" class="mycode_align">&#36;\log_{10}(2)-\log_{10}(1)=\log_{10}(2)\approx0.301.&#36;</div>
Numbers beginning with 9 occupy only the interval from<br />
<div style="text-align: center;" class="mycode_align">&#36;\log_{10}(9)&#36; to &#36;\log_{10}(10)&#36;</div>
whose length is approximately<br />
<div style="text-align: center;" class="mycode_align">&#36;0.046.&#36;</div>
Thus, if the logarithms of the values are distributed approximately uniformly, Benford’s law appears naturally.<br />
<hr class="mycode_hr" />
<span style="font-size: large;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Where Does Benford’s Law Appear?</span></span><br />
The law tends to work particularly well for datasets that span <span style="font-weight: bold;" class="mycode_b">several orders of magnitude</span>.<br />
Examples can include:<br />
Population figures<br />
Financial and accounting data<br />
Company revenues<br />
Geographical measurements<br />
Physical quantities<br />
Economic statistics<br />
Scientific measurements<br />
Certain mathematical sequences<br />
Interestingly, some purely mathematical sequences also approach Benford’s distribution.<br />
Examples include the <span style="font-weight: bold;" class="mycode_b">Fibonacci numbers</span>, <span style="font-weight: bold;" class="mycode_b">factorials</span> and <span style="font-weight: bold;" class="mycode_b">powers of 2</span>.<br />
<hr class="mycode_hr" />
<span style="font-size: large;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">A Historical Curiosity</span></span><br />
The phenomenon was first noticed by the astronomer and mathematician <span style="font-weight: bold;" class="mycode_b">Simon Newcomb</span> in <span style="font-weight: bold;" class="mycode_b">1881</span>.<br />
Newcomb noticed something peculiar about books containing logarithm tables.<br />
The pages containing logarithms of numbers beginning with small digits—especially 1—were considerably more worn than pages corresponding to numbers beginning with larger digits.<br />
He reasoned that people must therefore be looking up numbers beginning with 1 much more frequently than numbers beginning with 9.<br />
The observation was largely forgotten.<br />
More than fifty years later, physicist <span style="font-weight: bold;" class="mycode_b">Frank Benford</span> independently rediscovered the phenomenon.<br />
In <span style="font-weight: bold;" class="mycode_b">1938</span>, Benford published a large investigation involving more than <span style="font-weight: bold;" class="mycode_b">20,000 numerical observations</span> taken from many different sources.<br />
The phenomenon subsequently became known as <span style="font-weight: bold;" class="mycode_b">Benford’s law</span>.<br />
<hr class="mycode_hr" />
<span style="font-size: large;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Fraud Detection</span></span><br />
One of the most fascinating modern applications of Benford’s law is in <span style="font-weight: bold;" class="mycode_b">forensic accounting and fraud detection</span>.<br />
Suppose that a large collection of financial transactions would normally be expected to follow Benford’s law.<br />
An auditor can compare the actual frequencies of the first digits with the theoretical frequencies predicted by Benford’s distribution.<br />
Large or systematic deviations may identify data that deserve further investigation.<br />
For this reason, Benford analysis has been used in areas such as:<br />
Accounting audits<br />
Tax investigations<br />
Financial fraud detection<br />
Economic statistics<br />
Scientific datasets<br />
Election-data analysis<br />
However, there is an extremely important limitation.<br />
<span style="font-weight: bold;" class="mycode_b">Failure to follow Benford’s law is not proof of fraud.</span><br />
It merely indicates that the dataset may deserve closer examination.<br />
<hr class="mycode_hr" />
<span style="font-size: large;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">When Benford’s Law Does NOT Apply</span></span><br />
Not every collection of numbers should follow Benford’s law.<br />
It generally performs poorly when numbers are artificially restricted to a narrow interval or assigned according to human-designed systems.<br />
Examples include:<br />
Human heights<br />
IQ scores<br />
Telephone numbers<br />
Postal codes<br />
Identification numbers<br />
Sequential invoice numbers<br />
Numbers with predetermined minimum or maximum values<br />
For example, the heights of adults might mostly lie between roughly 150 and 200 centimetres. Such values do not span several orders of magnitude, so there is no reason to expect them to follow Benford’s law.<br />
This limitation is particularly important when Benford analysis is used to make claims about fraud or manipulation.<br />
<hr class="mycode_hr" />
<span style="font-size: large;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Why Is Benford’s Law So Interesting?</span></span><br />
Benford’s law is fascinating because it demonstrates that something as apparently arbitrary as the <span style="font-weight: bold;" class="mycode_b">first digit of a number</span> can exhibit a strong mathematical pattern.<br />
It connects several areas of mathematics and statistics, including:<br />
<span style="font-weight: bold;" class="mycode_b">Probability theory</span><br />
<span style="font-weight: bold;" class="mycode_b">Mathematical statistics</span><br />
<span style="font-weight: bold;" class="mycode_b">Number theory</span><br />
<span style="font-weight: bold;" class="mycode_b">Logarithms</span><br />
<span style="font-weight: bold;" class="mycode_b">Data analysis</span><br />
<span style="font-weight: bold;" class="mycode_b">Forensic statistics</span><br />
Perhaps most surprisingly, the law shows that in many datasets the digits 1 through 9 are <span style="font-weight: bold;" class="mycode_b">far from equally likely</span>.<br />
The humble digit <span style="font-weight: bold;" class="mycode_b">1</span> appears at the beginning of numbers approximately one-third of the time.<br />
<hr class="mycode_hr" />
<span style="font-size: large;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Key Takeaways</span></span><br />
<span style="font-weight: bold;" class="mycode_b">1.</span> In many naturally generated datasets, first digits are not uniformly distributed.<br />
<span style="font-weight: bold;" class="mycode_b">2.</span> About <span style="font-weight: bold;" class="mycode_b">30.1%</span> of Benford-distributed numbers begin with 1.<br />
<span style="font-weight: bold;" class="mycode_b">3.</span> Only about <span style="font-weight: bold;" class="mycode_b">4.6%</span> begin with 9.<br />
<span style="font-weight: bold;" class="mycode_b">4.</span> The distribution is described by<br />
<div style="text-align: center;" class="mycode_align">&#36;P(d)=\log_{10}\left(1+\frac{1}{d}\right).&#36;</div>
<span style="font-weight: bold;" class="mycode_b">5.</span> The phenomenon is fundamentally connected with logarithmic scales.<br />
<span style="font-weight: bold;" class="mycode_b">6.</span> Benford’s law is useful for detecting statistical anomalies, particularly in financial data.<br />
<span style="font-weight: bold;" class="mycode_b">7.</span> A deviation from Benford’s law is <span style="font-weight: bold;" class="mycode_b">not, by itself, evidence of fraud</span>.<br />
<hr class="mycode_hr" />
<span style="font-weight: bold;" class="mycode_b">Source:</span><br />
<a href="https://en.wikipedia.org/wiki/Benford's_law" target="_blank" rel="noopener" class="mycode_url">ARTICLE</a> / <a href="https://drive.google.com/file/d/1cAv_KyIREkUEk0_BGc_DVxBA3mb4SrfC/view?usp=drive_link" target="_blank" rel="noopener" class="mycode_url">ARTICLE [PDF]</a>]]></content:encoded>
		</item>
	</channel>
</rss>