<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>logical-expressions on Dimitris Kokoretsis</title>
    
    
    
    <link>https://dimitris.netlify.app/coderefs/logical-expressions/</link>
    <description>Recent content in logical-expressions on Dimitris Kokoretsis</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <lastBuildDate>Mon, 13 Jan 2025 00:00:00 +0000</lastBuildDate>
    
	<atom:link href="https://dimitris.netlify.app/coderefs/logical-expressions/index.xml" rel="self" type="application/rss+xml" />
    
    
    <item>
      <title>The birthday problem — Part 2: The statistical shortcut</title>
      <link>https://dimitris.netlify.app/posts/birthday-problem-2/</link>
      <pubDate>Mon, 13 Jan 2025 00:00:00 +0000</pubDate>
      
      <guid>https://dimitris.netlify.app/posts/birthday-problem-2/</guid>
      <description>
        
          &lt;img src=&#34;https://dimitris.netlify.app/posts/birthday-problem-2/thumbnail.gif&#34;/&gt;
          
        
        
        
          In this post, we will answer a question that we previously failed at:
What is the probability that two students in a classroom share the same birthday?
This is described as a paradox because for a classroom of realistic size, the probability is surprisingly higher than intuitively expected.
Previously, we could only solve this for very small classrooms of 2 or 3 students. The reason? Too much data.
We will now get around this obstacle by the means of random sampling.
          
        
        </description>
    </item>
    
    <item>
      <title>Football goals and coin flips: discovering the law of rare events</title>
      <link>https://dimitris.netlify.app/posts/football-goals/</link>
      <pubDate>Mon, 08 May 2023 00:00:00 +0000</pubDate>
      
      <guid>https://dimitris.netlify.app/posts/football-goals/</guid>
      <description>
        
          &lt;img src=&#34;https://dimitris.netlify.app/posts/football-goals/images/intro_figure.gif&#34;/&gt;
          
        
        
        
          “To state a theorem and then to show examples of it is literally to teach backwards.” (E. Kim Nebeuts)
Ever felt excited for discovering something that is already kinda known? Not necessarily for the discovery itself, but because you achieved it on your own and actually overcame an obstacle with it.
This is how I feel about this story, and hopefully you will too. Starting from a small puzzle about football, we’re going to build the solution from scratch and see how -without knowing it- we just applied the law of rare events.
          
        
        </description>
    </item>
    
    <item>
      <title>The birthday problem — Part 1: When counting fails</title>
      <link>https://dimitris.netlify.app/posts/birthday-problem-1/</link>
      <pubDate>Wed, 30 Nov 2022 00:00:00 +0000</pubDate>
      
      <guid>https://dimitris.netlify.app/posts/birthday-problem-1/</guid>
      <description>
        
          &lt;img src=&#34;https://dimitris.netlify.app/posts/birthday-problem-1/images/intro_animation.gif&#34;/&gt;
          
        
        
        
          After the &amp;ldquo;toy problem&amp;rdquo; of the previous post, I decided to take a chance at a more tangible, real-world question. Consider this one:
What is the probability that two students in a classroom share the same birthday?
Intuitively (and correctly), you might think it depends on the total number of students. But for a realistic classroom of around 20 students, the probability should be quite low - whatever &amp;ldquo;low&amp;rdquo; means. After all, how many times have you witnessed that?
          
        
        </description>
    </item>
    
  </channel>
</rss>