Hacker News new | ask | show | jobs
by petrogradphilos 2322 days ago
This is like having a weighted coin that comes up heads with probability 2⋅10⁻⁶, flipping it 311 million times, and seeing 0 heads. That's astronomically unlikely.

To see this, observe that the number of heads follows a binomial distribution with n = 311 million and p = 2⋅10⁻⁶. This can be well approximated¹ by a normal distribution with mean μ = np = 622 and standard deviation σ = Sqrt[np(1 - p)] = 25.

99.7% of the time², when you sample from this distribution, the sampled value will be within 3 standard deviations of the mean, i.e., between μ - 3σ = 547 and μ + 3σ = 697. Results further from the mean are more unlikely. For example, seeing a value more than 7 standard deviations from the mean (i.e., less than 447 or more than 797) is about a 1 in 2 trillion event³. Since 0 is about 25 standard deviations from the mean, the probability of seeing 0 heads is on the order of 10⁻¹³⁸.

[1] https://math.stackexchange.com/questions/2021801/conditions-...

[2] https://en.wikipedia.org/wiki/68–95–99.7_rule

[3] https://www.johndcook.com/blog/table-of-normal-tail-probabil...

6 comments

> This is like having a weighted coin

Tangent: there is no such thing. You can weight a die, you cannot weight a coin.

Intuitively this should make sense because even if you made one side of the coin from lead and the other from balsa wood, all you are doing is changing the center of gravity of the coin. The coin spins about its center of gravity, not the geometric center of the coin, so this makes no difference.

https://www.stat.berkeley.edu/~nolan/Papers/dice.pdf

Possibly, though if we want to be pedantic "weighting" has shifted from merely meaning "increased in weight" to meaning "biased through manipulation" - colloquially you can describe a situation as "weighted against someone" if you think that person may be unfairly disadvantaged - like in a multi-talent contest a continued draw of activities that favor one party using a hidden method that is suspected to be directed to the end of favoring that party.

You absolutely can manufacture unfair coins either using a two surfaced approach (like a weak magnetic field acting on a magnetized coin) but even a one surfaced approach is possible if you make use of carvings on the surface of the coin to get a favorable result from air resistence - lastly you can even achieve it through density, if one side of a coin is significantly more dense then the other then it will tend to land face down - you can play with this a bit by trying to flip a weighted cylinder and observing the landing pattern - I might suggest taking a coin roll (like you get in a bank) and gluing some coins into one end of it - then try and flip it in the air so it lands coin-side up.

It is, however, very hard to bias a coin significantly without skewing the dimensions or having clear alterations visible on the coin.

To add to your point: I ran some experiments a while back with curved coins. The coins have to be absurdly shaped before the shape affects the outcomes:

https://izbicki.me/blog/how-to-create-an-unfair-coin-and-pro...

Falling below the noise floor is different from proving no correlation. Negative results for a given experiment simply mean it’s below an the experiments ability to detect.

Aka, you need to pick a threshold for bias that’s interesting before designing the experiment. A casino might care a great deal about say 0.5% bias which would take a lot of trials to detect.

I respect the level of free time taken to run and publish this experiment!

Interesting results, I thought they'd be more skewed.

The parent comment that a coin of lead and balsa wouldn't be biased, but to clarify, the linked research paper states it can't be biased unless allowed to bounce/spin. Maybe your weighted cylinder flipping is not biased if you throw+grab instead of letting it land?
> Possibly, though if we want to be pedantic "weighting" has shifted from merely meaning "increased in weight" to meaning "biased through manipulation"

Not sure what your point is here. Yes, that is the meaning that is being discussed. You understood it yourself. Grandparent understood it as well. What value do you feel bringing up this point brings to the debate?

> like a weak magnetic field acting on a magnetized coin

Probably not. The field will act through the other face of the coin as well. The coin is pulled towards the magnetic surface, but it doesn't alter the revolution of the coin. If the field is sufficiently weak to not pass through the coin then it wouldn't have any impact on the other side either.

The exception would possibly be mu metal or something else that prevents the magentic field from acting on one face entirely, in combination with a strong magnetic field, and I'm still going to lean towards "probably wouldn't work". It would still intermittently pull the entire coin towards the surface, it's not clear that it would counter the rotation of the coin itself.

> even a one surfaced approach is possible if you make use of carvings on the surface of the coin to get a favorable result from air resistence

No, because air resistance is acting on both sides of the coin at once. The air resistance is a constant A+B, not A,B,A,B.

> lastly you can even achieve it through density

No, this is the entire point of the article. The coin doesn't revolve around its geometric center, it revolves around its center of gravity. By changing the density of one side (balsa wood and lead, as I said) you change the center of gravity but the coin itself has the same rate of revolution.

> Grandparent understood it as well.

Considering you were the grandparent, I guess that should be somewhat reassuring.

FWIW, I interpreted your use as rigid in the same manner as the GP (of this post).

As far as I’m concerned a electronic bistable generator that is biased through manipulation is effectively a “weighted coin”.. those exist.. and are counter to your claim unless you restrict “weighted coin” to the completely literal.

> Considering you were the grandparent

God no, GP here means the contextual grandparent of the topic, as it always does. GP means the person I responded to. Why in the world would I respond to myself just because "GP"?

If you haven't read the rules, you need to be giving the most gracious reading of the comment chain here. Pretty obvious what the implication was. Try reading again.

> As far as I’m concerned a electronic bistable generator that is biased through manipulation is effectively a “weighted coin”

Oh cool you're trying to impose a change of topic from the ability to literally bias a coin when a normal person flips it randomly, into telling me to defeat... all attempts of people manipulating all RNGs ever?

Super weird angle for a discussion about flipping coins. Not really interesting.

That paper is not good support for your pedantic argument. (More pedantically, any coin without uniform density is "weighted" by definition, regardless of toss bias)

In fact, most methods of coin toss will be influenced by an unbalanced coin in some way. The paper only demonstrates that if you flip a coin with a certain precisely specified method (and catch it midair) - can you be reasonably assured a weighted coin will be unbiased.

See their own referenced book Jaynes, 1996 pp 1003-1007, which I think gives a much clearer explanation of the possibilities.

Note that the NFL for instance does not catch the coin, so there's at least a real world where a coin could be biased.

The important part of that paper is this:

"Examples of how others have flipped and tossed coins show the students how essential it is to carefully describe the experimental process." not just the one detail about angular momentum and CoG.

That paper redefined what it meant to toss a coin making their concussion meaningless in practice. For a more in dept real world analysis.

http://statweb.stanford.edu/~susan/papers/headswithJ.pdf

PS: Of note they where detecting bias in the range of 1% that’s difficult to detect by hand.

You're presenting it like your article substantially rebuts the point. When the absolute best bias you can do is 1% above random that's pretty much "fair" as far as practical usage.

It's not even clear that's a real bias or just random noise, or an anomaly of their testing setup.

>Tangent: there is no such thing. You can weight a die, you cannot weight a coin.

Yes but you don't need such a coin. You can use a perfect coin and consider flipping it many times.

Example : https://www.youtube.com/watch?v=Vo9Esp1yaC8

There are examples in that paper of scenarios of effectively influenced coin tosses...
I feel like it's not super difficult if you're catching the coin, if you're able to position the coin in the same place and apply the same force consistently you'll largely get the same height and speed of rotation. When I was a bored kid I was able to get a pretty consistent coin toss where it would land on the opposite of the side at the beginning. [0]

[0] Of course I didn't do any statistical analysis or a huge number of trials for this to really tell if I was able to do it but it felt pretty consistent.

It could be made to make a difference in air. Imagine a styrofoam coin with one side padded with an extra layer of lead.

(For best results, make the styrofoam thick relatively to the lead, and/or attach extra aerodynamic surfaces :).)

A magnetic coin, might be the "trick coin" that was being posited.
I wonder if you could build a (admittedly thick) coin with some sensing/actuation going on in order to make it land on an arbitrary side.
The same is true for a die :-) It could make a difference for the coin if you “rolled” it instead of catching it in the air.
That's only true if you test all 311 mio for both. While I think that blindness is self-analyzing, that's not true for schizophrenia.

So how many blind people were evaluated for schizophrenia?

This might actually be a lower percentage than for normal-seeing persons. People are less experienced with the behavior of blind people, so it's harder for surrounding people (and probable even for the blind themselves) to recognize it and push people to go get diagnosed.

> Since 0 is about 25 standard deviations from the mean, the probability of seeing 0 heads is on the order of 10⁻¹³⁸.

Note: the above figure comes from the normal approximation to the binomial, which loses accuracy towards the tails. The exact probability of seeing 0 heads is (1 - p)^n = (1 - 2⋅10⁻⁶)^(311⋅10⁶) ≈ 10⁻²⁷⁰ [1].

[1] https://www.wolframalpha.com/input/?i=%281+-+2+*+10%5E-6%29%...

Another way to get there is that, given N shots at a 1/N event, you expect 0 hits 36% of the time (1/e).

You can divide the population up into into 600 groups with 500000 people in them, and each of those has a 36% chance of not ever hitting.

So seeing no cases is like flipping a 36% coin 600 times and hitting 600 times.

Your 'approximation' is doing a lot of the work here.. Since you have a binomial distribution why not just use it directly?

(1 - 2e-6)^(3e6) ≈ 0.002

So about 0.2%. Still highly unlikely but orders of magnitude more likely than what your normal distribution-detour gave.

> (1 - 2e-6)^(3e6) ≈ 0.002

Using the binomial directly is a good way to get the probability of 0 heads. Note, though, that the U.S. population is in the neighborhood of 300 million, not 3 million (as you seem to have used).

(1 - 2⋅10⁻⁶)^(3⋅10⁸) ≈ 10⁻²⁶¹

https://www.wolframalpha.com/input/?i=%281+-+2+*+10%5E-6%29%...

Except we don’t have perfect information. Schizophrenia is misdiagnosed fairly frequently. I couldn’t find stats on undiagnosed schizophrenia, or schizophrenia diagnosed without visual hallucinations (which is probably the more relevant metric)