Kareem Carr, Statistics Person Profile picture
Sep 10, 2021 19 tweets 5 min read Read on X
How did I get this poll with almost 29k responses to balance perfectly? A thread. 👇
Assuming most people didn't secretly flip a coin, where's the randomness in the poll coming from? I think it comes from three sources:
1. Some folks were genuinely picking randomly

2. Based on the comments, even for folks who used a system, the method they used was very unique to them and therefore really random relative to other people
3. From the perspective of the Twitter algorithm, each new person that gets shown the poll is a toss up in terms of whether they favor heads or tails, much like flipping a coin. It doesn't matter if they picked non-randomly. From the perspective of the poll, they appear random.
So, now that we've established that the people answering the poll are probably going to act a little bit like a flipping coin, what does statistics have to say about flipping a coin 29k times?
Law of Large Numbers
The average of a large number of observations should get closer to a particular value as more observations are collected. This value is called the "expected value". If we code heads as 0 and tails as 1 then the expected value for a fair coin should be 0.5.
Central Limit Theorem
The average of a large number of observations tends to cluster around the "expected value" in an increasingly tightly-clustered pattern that resembles a bell curve. We can't see the pattern with just one experiment but we do see it with lots of experiments.
You might be wondering what's a bell curve? It looks like this. The previous tweet is saying that most of the experiments will have averages that cluster around the center with fewer and fewer as the averages get more extreme.
If the bell curve feels a little abstract, don't worry. It's a lot more familiar than you might think. Men's heights are roughly distributed like a bell curve and so are the heights of women. So we've actually all been experiencing bell curves our whole lives.
You also might be wondering why I'm talking about "experiments". We only did one poll. Often statistics means thinking about the multiverse. We don't just think about our universe but every other universe where randomness would have caused our experiment to turn out differently.
Looking at our experiment in the context of the "multiverse" is what allows us to see that the results become from predictable as we get more observations.
If we assume our poll is like a fair coin then using the math of the bell curve, we can figure out what kind of results we can expect to get after 29k answers. As you can see below, there was about a 95% chance that the percent of heads would be between 0.494 and 0.506.
The precise proportion of heads in this poll was 0.504 which was well within the realm of possibility!
The one thing I did get lucky on is that the preference for heads and tails seems to be symmetric in the polling population. So for every person that prefers heads, there's an equal and opposite person that likes tails, and vice versa.
This didn't have to be true but will tend to give a close to 50-50 split when you select people randomly, even if their choices aren't random.
The first time I tried this poll experiment, it was pretty biased. I think because there was lack of symmetry in beliefs. My statistics savvy audience thought that people would be more likely to select the first option so they tried to "unbias" the poll by selecting the 2nd one.
My solution was just to tell them they were biased which caused them to be confused about what would happen on this poll, which unbiased them.
So there you go. That's the magic trick. I'm not a wizard. I'm just a statistician. 😏
Hope you enjoyed the thread. If you like this content and want to support it, please like and retweet the thread so others can enjoy it as well, and follow me to get more threads like this one in the future.

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Kareem Carr, Statistics Person

Kareem Carr, Statistics Person Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @kareem_carr

Jun 5
You may have heard hallucinations are a big problem in AI, that they make stuff up that sounds very convincing, but isn't real.

Hallucinations aren't the real issue. The real issue is Exact vs Approximate, and it's a much, much bigger problem. Image
When you fit a curve to data, you have choices.

You can force it to pass through every point, or you can approximate the overall shape of the points without hitting any single point exactly.
When it comes to AI, there's a similar choice.

These models are built to match the shape of language. In any given context, the model can either produce exactly the text it was trained on, or it can produce text that's close but not identical
Read 10 tweets
Jun 2
I’m deeply skeptical of the AI hype because I’ve seen this all before. I’ve watched Silicon Valley chase the dream of easy money from data over and over again, and they always hit a wall.

Story time.
First it was big data. The claim was that if you just piled up enough data, the answers would be so obvious that even the dumbest algorithm or biggest idiot could see them.

Models were an afterthought. People laughed at you if you said the details mattered.
Unsurprisingly, it didn't work out.

Next came data scientists. The idea was simple: hire smart science PhDs, point them at your pile of data, wait for the monetizable insights to roll in.
Read 13 tweets
Jun 1
As a statistician, this is extremely alarming. I’ve spent years thinking about the ethical principles that guide data analysis. Here are a few that feel most urgent: Image
RESPECT AUTONOMY

Collect data only with meaningful consent. People deserve control over how their information is used.

Example: If you're studying mobile app behavior, don’t log GPS location unless users explicitly opt in and understand the implications.
DO NO HARM

Anticipate and prevent harm, including breaches of privacy and stigmatization.

Example: If 100% of a small town tests positive for HIV, reporting that stat would violate privacy. Aggregating to the county level protects individuals while keeping the data useful.
Read 9 tweets
May 8
The kids using ChatGPT to cheat are massively fumbling the ball.

I would give almost anything to experience learning something like calculus for the first time with an AI assistant.
I have wasted an ungodly amount of time on poorly written math textbooks.

Confusing notation. Poorly worded statements that I puzzled over for hours. Typos that had me questioning my sanity for days.
These kids won't ever have to go through that.

They'll take a picture of the page, ask ChatGPT what it means, and instantly get an explanation tailored to exactly their level.
Read 7 tweets
May 7
Hot take: Students using chatgpt to cheat are just following the system’s logic to its natural conclusion, a system that treats learning as a series of hoops to jump through, not a path to becoming more fully oneself.
The tragedy is that teachers and students actually want the same thing, for the student to grow in capability and agency, but school pits them against each other, turning learning into compliance and grading into surveillance.
Properly understood, passing up a real chance to learn is like skipping out on great sex or premium ice cream. One could but why would one want to?
Read 6 tweets
Apr 25
If you think about how statistics works it’s extremely obvious why a model built on purely statistical patterns would “hallucinate”. Explanation in next tweet. Image
Very simply, statistics is about taking two points you know exist and drawing a line between them, basically completing patterns.

Sometimes that middle point is something that exists in the physical world, sometimes it’s something that could potentially exist, but doesn’t. Image
Imagine an algorithm that could predict what a couple’s kids might look like. How’s the algorithm supposed to know if one of those kids it predicted actually exists or not?

The child’s existence has no logical relationship to the genomics data the algorithm has available.
Read 4 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us!

:(