<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>apply-function-over-vector-list on Dimitris Kokoretsis</title>
    
    
    
    <link>https://dimitris.netlify.app/coderefs/apply-function-over-vector-list/</link>
    <description>Recent content in apply-function-over-vector-list 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/apply-function-over-vector-list/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>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>
    
    <item>
      <title>Drawing random biscuits: from probability to data</title>
      <link>https://dimitris.netlify.app/posts/random-biscuits/</link>
      <pubDate>Sun, 28 Aug 2022 00:00:00 +0000</pubDate>
      
      <guid>https://dimitris.netlify.app/posts/random-biscuits/</guid>
      <description>
        
          &lt;img src=&#34;https://dimitris.netlify.app/posts/random-biscuits/thumbnail.png&#34;/&gt;
          
        
        
        
          I stumbled upon a probability exercise when I had just built enough confidence with R scripting, and I was looking for &amp;ldquo;toy problems&amp;rdquo; to play with. It was a simple brain teaser, barely more complicated than the well-known coin toss. I could solve it with pen and paper, but I wanted to squeeze out of it as much as I could.
My central thesis in this post is that, if we formulate our assumptions well, we can turn questions about probability into questions about data.
          
        
        </description>
    </item>
    
  </channel>
</rss>