Lurker News

Comments (230) 51 threads

Earlier comments
nickm121 reply#
I had the privilege of studying probability from G-C. Rota. One of my favorite quotes from him was "Randomness is not what we expect", which he used to describe the phenomenon of people disbelieving that random data was actually random. Another great was "This will become intuitive to you, once you adjust your intuition to the facts."
DINKDINK1 reply#
A good way to show how the "Randomness is not what we expect" phenomenon manifests is the following.

Given a fair coin that outputs Heads (H) or Tails (T), which of the following sequences is more or less probable
HHTHTT or HHHHHH
Answer: Both are equally probable strings to be generated by the fair coin and each should occur once in every 64 sequences (~1.56%)

andy_boot1 reply#
True But I would like to show you an interesting counterexample which requires changing the rules slightly. If we toss a coin and keep tossing until one of the below sequences turn up then which sequence is more likely?

HHHHHH THHHHH
Answer: THHHHH. Only 1/(2^6) of the time it will be HHHHHH. The only way to get HHHHHH will be if the first 6 flips are heads. If you don't flip a head you must have got a tail which means THHHHH will always appear before HHHHHH.

ianamartin#
I think the real issue that most people have understanding this stuff is that they don't have a clear grasp of dependent vs independent events.

We tend to use the fair coin or the fair die as a common way of talking about things, but I've found that this is problematic for a lot of people.
First off is the use of the word fair. People not from a background in statistics don't think of that word the way we do. They think of it as an attribute of the object itself. The the coin or die is 'fair' in the ethical sense of the word.
Second is the experiential understanding: 'This coin is fair and therefore should flip heads and tails with equal frequency. It's the same damn coin, and I flipped it a thousand times! Why are these crazy stats people telling me it comes up heads and tail equally often? It doesn't, dammit!'
What I've had some success with helping people understand independent trials is to get them to envision flipping 6 different coins at the same time. Then you can sort of walk them back into understanding that flipping 6 different coins once is no different from flipping the same one 6 times. The events are totally unrelated, and a past event is not a predictor of the future.
Plus, you can actually map out the math for them on the spot. .5 * .5 * .5, etc.
That's just my experience trying to explain things though. Would love some criticisms if there are better ways to go about this.

cableshaft1 reply#
There was an old flash video game I worked on a long time ago where I did exactly this. I had a boss with two main attacks, and I didn't want it to be super predictable A/B/A/B, so I had it pick between A and B randomly, then reweight the probabilities, so if it picked A, instead of 50% A, 50% B it'd now be 25% A, 75% B. If it picked A again it'd be down to like 12.5% A, 87.5% B. If B then got chosen, it'd flip flop to 75% A, 25% B, etc. The result was it mostly went back and forth between the two, but would do some attacks 2 or 3 times in a row before switching back to the other.

You can actually play it right here and go direct to the Boss Fight if you wanted to: http://briancable.com/clock-legends/

hn_throwaway_991 reply#
Hmm, but by the algorithm you describe you are MORE likely to get a "super predictable" a/b/a/b than you would with just an independently random coin flip each time. That is, strings of multiple As or Bs in a row is less likely with your algorithm, but you make it sound like that's what you wanted.
cableshaft#
No, you misunderstand. I didn't want it to be always A,B,A,B, but I also didn't want it to be an even coin flip and risk an A,A,A,A,A,A,A or whatever (like in the play Rosencrantz and Guildenstern are Dead).

With my method, it was possible for the same move to be picked 2 or 3 times in a row, but it mostly went back and forth, so the player was definitely going to encounter both moves, but they couldn't know for absolute certain which move the next one would be (and they both needed you to kind of quickly get into different positions before getting hit).
The type of pattern you'd usually get with mine was more like A,B,B,A,A,B,A,B,A,A,A,B,B,A.

vanderZwan#
A similar, simpler idea is sometimes used in games: you put all choices in a "bag", then draw from the bag until it's empty, then put everything back.

Tetris is the go-to example. Tetris has seven tetronimos, and in most modern implementations you're guaranteed to see them in sets of seven in random order.
http://tetris.wikia.com/wiki/Random_Generator
This is pretty essential to make competitive play err on the side of skill rather than randomness: pro-players can anticipate and plan for this. For fun, here's a recent Tetris head-to-head speed-run from Awesome Games Done Quick, with pretty good narration about the tactics involved:
https://www.youtube.com/watch?v=PeNB4w99FiY&t=1h21m15s

bigato5 replies#
Now I really want physical loaded dice which follow the gambler's fallacy! Is it too crazy of an idea?
pmiller22 replies#
I was a little disappointed when I clicked, too. I can't think of a way you could make physical dice like that, unless maybe the faces were LEDs? That might be too fragile.
Mister_Snuggles1 reply#
Apple has a patent[0] for a fall-protection system that will rotate the phone while it's in the air. If something like that could be made small enough to fit into a die, that would work.

The biggest challenge will probably be the power supply. I'm sure that a processor, accelerometer, and the Taptic Engine (the thing that provides vibration and haptic feedback in Apple devices) are all small enough to fit in a typical die. Of course, something like this could easily be built into a larger novelty die.
Bonus points should be awarded if the die is perfectly balanced when it's not actively adjusting itself in mid-air.
[0] http://appleinsider.com/articles/14/12/02/apple-patents-acti...

Continue this thread — 2 replies

default-kramer1 reply#
Put 6 weights in the die, one per face. A mechanism controls each weight individually, moving it from near the face (likely to land down) to near the center (likely to land up). Combine it with something that can detect roll outcomes.

This would probably cost a lot of money to fit in a normal sized die.

pbhjpbhj#
Why not have an electromagnet at each face and ball-bearing in a 3 way race. You weight the device by turning on the opposite number's coil. You don't guarantee a particular roll but the statistical weighting should be pretty strong.

I wonder if you tuned the e-m coil for a particular frequency if you could make the device passive and weight it using an external frequency change?
Or use computer vision, a passive dice with a metal insert and a magnetic table; switch on the magnet when the dice hits the table right (this version would be highly obvious but perhaps could be made less so).

peteretep1 reply#
Make them from a substance that leaves a tiny amount of residue on any surface it's left on for more than a small amount of time. Any time a die is rolled (and then left unperturbed for a short amount of time), that face becomes lighter.
kej1 reply#
Wouldn't this be the opposite of what you want? You'd weigh down the current bottom face, making that face more likely to be on the bottom for future rolls.
Vendan1 reply#
if the die is leaving residue, that face is getting lighter, and therefore will want to be on "top"

Continue this thread — 1 reply

chris_va2 replies#
Well, a little micro mechanical device offsetting the internal balance could work, though the balance change would have to be pretty large to bump the probability of any one face up significantly.
kej#
I wonder if you'd get more performance with mechanical balance changes or a magnetic table surface and individual electromagnets on each die face.
xori1 reply#
maybe have a dense liquid in a die, and have something "float" internally. Like a ball bearing in Gak slime or mercury.
jpfed#
This was the first place my thoughts went to. But a passive device like this seems like it would oppose the gambler's fallacy: after you roll, the weight distribution of the die shifts to be as energetically favorable as possible for that number. Now the die is weighted to roll another of that same number!
Pxtl4 replies#
You could just use a deck of cards with numbers on them. That's the simplest way to do "Gambler's Fallacy Dice" IRL. For example, there's a popular Catan expansion pack that replaces the dice with a deck of cards with numbers on them for just this reason, because in Catan each roll of 2D6 represents different regions of the map paying out so if a number never comes up it never pays out.
jjnoakes#
There's a little randomness in the Catan deck of cards: the bottom 5 cards of every shuffle are not used. Not as much as dice, but also not a guarantee for certain numbers to come up a certain amount.
thefifthsetpin#
One of our first house rules for Catan was to introduce a deck. Not quite sure why they went with dice for that game; the deck eliminates a lot of boring games.

Some purists insist that they role dice, so we just let 'em and the resulting game feels quite like you're using gambler's dice.

andy_wrote1 reply#
I've never played in real life with the deck, but I first came across this version on a software version of Catan I had (I think Xbox?). I really enjoyed it and my guess is that in real life it adds a substantial angle to negotiating placement of the robber. In particular, bribing people to put/not put the robber in a given location - if the deck is 7-heavy or your good squares are already drawn, no big deal.
pavel_lishin#
I don't think I'd want to start having to count cards in order to play Settlers well, in addition to keeping track of players' hands.
acomjean5 replies#
The thing about rolling 2D6, is the distribution isn't even.

I'm not sure that factors into the game (have played but its been a while). Cards seem like a more controlled way to distribute the results with some randomness.
only one way to get a 12 (6+6) but 7 much more likely.. (6+1, 5+2, 4+3, 3+4, 2+5, 1+6)
as someone who played a bit of online backgammon back in the day, We always suspected the random dice rolls behaved differently in the game than playing in real life...

xeonoex1 reply#
Catan takes the distribution into account, and is pretty up front about it (There are dots on the numbers that represent the probability). I've played a lot of games of Catan and, every once in a while, you'll have a statistically unprobable game where 11 is rolled 10-15 times, but 6 is only rolled 3 times the whole game.

Continue this thread — 1 reply

Pxtl#
If you look at the Catan number-circles that you use use to mark the tiles with their roll, they have a set of dots on them - 6 and 8 have 5 dots, while 2 and 12 have 1 dot. The dot is the numerator over 36 of its probability.

Likewise, if you use the Traders and Barbarians dice-deck, the same thing applies - there are 5X as many 6s and 8s in the deck as there are 2s and 12s.

speeder2 replies#
Catan cards take that in account.

They basically made one card for each possiblity of pair of dices, so there is a 7 card for 6+1, another for 5+2, and so on...
Playing with it is MUCH better than with dice... when I played with the dice that came with my copy with catan, the dice were clearly defective (rolls weren't just random-looking, they were WILDLY wrong, it rolled 10s 2 times the amount of 7s...), and the game was super boring, it would end with everyone having the same materials and not having others, so not even trade would fix the game, we had stuff like 10 turns in a row where noone had one particular item while the 'bank' ran out of the other items because everyone had lots of them.

Continue this thread — 2 replies

LeifCarrotson#
It very much does factor into Catan. Not only are there no spaces marked "7", which is instead used for a special type of result, the probability of the remaining rolls are described graphically on the number tokens:

http://www.catan.com/files/styles/lightboxy/public/gallery/d...
Notice that the 12 has one dot, the 9 (6+3, 5+4, 4+5, 3+6) has 4 dots, and the 3 (2+1, 1+2) has 2 dots. The gray robber piece is sitting on a red number token, which is either a 6 or an 8 and has 5 dots because it is more likely to be rolled.
In the game, you develop your pieces with the hopes of getting resources based on the adjacent numbers being rolled. It definitely creates a lot of stress in some people when "eights are being rolled all the time this game but never sixes!" or "your stupid 10 keeps getting rolled when it shouldn't, that's not fair!"
I think I'll give it a try tonight with some numbered cards. I just threw some together in Excel: 1-6 in B1-G1, 1-6 in A2-A7, and the formula

    =B$1&" + "&$A2&" = "&(B$1+$A2)
spread across the grid and printed that out, but on doing a little, ah, market research, it looks like you can buy official Catan decks like this at https://boardgamegeek.com/boardgameexpansion/20038/catan-eve.... Or download this: https://boardgamegeek.com/filepage/40420/deck-dice-separate-... (note: not the above). Or someone else pointed out that you can simulate it with two matching decks of cards with:

    one 2
    two 3S
    three 4S
    four 5S
    five 6S
    six 7S
    five 8S
    four 9S
    three 10S
    two Jacks
    one Queen
Other market research says that people start counting cards to see when their numbers are going to come up again....perhaps some compromise, with perhaps two or three such decks? Real dice are an approximation of an infinite number of shuffled decks of dice, and I imagine you'd go through on the order of 100 'cards' in a given game, so with more than 3 or 4 decks you could end up with certain cards/numbers that never appeared, which seems to happen frequently and cause ire in games with real dice...interesting. Science is required! Sorry for rambling/thinking out loud.
hoytech#
As I'm sure you know, understanding this distribution is critical to good backgammon play. For example, all else being equal it's better to leave your exposed blots closer to a threatening opponent checker than further away (within 6 pips of course). Also, you need to account for rolling doubles which results in the counter-intuitive average pip value of a roll being 49/6 (~8.16).

An interesting bit of trivia: In roman times it seems they played with 3 dice instead of 2: http://www.bkgm.com/variants/Tabula.html

XaspR8d#
Maybe if the dice think they are settling on a too-common result, the internal servo gives them an impulse?

Load more comments