Title-text: In retrospect, it's weird that as a kid I thought completely random outbursts made me seem interesting, given that from an information theory point of view, lexical white noise is just about the opposite of interesting by definition.
As a statistical test, however, we're still not 100% sure. Sure, maybe we're 99.999999% sure that the numbers aren't random.. But there's still a chance.
"random" is also uselessly vague. If you roll a weighted die such that probability of getting 4 is 99.999999% then we might not even lift an eye brow if all 600 results came back as 4. The result was still random, the probability is just not evenly distributed.
Pearson's chi-squared test is a goodness-of-fit test. It tells you whether some frequency data determined by experiment (for example, results of rolling a die 600 times) is likely to have the same distribution as some reference frequency data (100 occurrences of each number).
If your reference frequencies are different (e.g. 600 fours and none of any other number) then it will fit the experimental data better.
If you do the test over and over, you will get the same results, and the certainty that the generator is not random approaches 100% as the number of times you do the test approaches infinity.
That's not exactly the point of the comic though. The function was made to return a number that was selected randomly. Technically, any number from a random process like a dice roll is random. In fact, it's a truer random than any number generated by a pseudo-random number algorithm. It's effectively useless, effectively wrong but technically correct.
I once had a cheap car stereo that would in "random" mode not shuffle the playlist and play til exhausted but at every track end pick a random one from the "library". Which means on a CD with 12 or so songs you have a rather high probability of the same couple of songs being repeated.
Actually I think the difference is even more pronounced than what /u/JustRiedy wrote. "Random" plays a song and then just picks a random one to play next, might very well be the song it just played or the song it played before that - just like /u/JusrRiedy wrote. However, "shuffle" takes all your songs, shuffles them like a deck of cards and play the deck from top to bottom. So there won't be any re-playing of the same song until the whole deck of songs is finished.
Even before the election he was writing essays about how rape being illegal oppresses men, and how people are "moist robots" that you should use your powers of hypnosis to program. The 2016 election just sent him into overdrive.
Very pro-Trump. His primary reason for supporting him seems to be that Clinton proposed an estate tax (i.e. an inheritance tax on the very wealthy, which presumably applies to Adams now, after he dies). He seems to view this one issue as more important than the racist, sexist, ignorant train wreck of the Trump campaign. I can't read his comics now without thinking about this, which is admittedly my own problem, but also my own choice.
Adams is a hypnotist, he's thought long and hard about Trump and if you'd actually read any of his own words during the last two years you'd know that his fondness for Trump has to do with Trump's persuasion abilities, which he recognizes because of his study of hypnotism. That's ultimately the reason.
No, it's meant to be accurate. You came up with ad hominem and a nice word salad to make us all aware that we should feel exactly the same way as you, I just wanted to be clear what the actual, unemotional reason was.
My final project for my programming class is making a simple Math game on Excel VBA (yeah). Turns out the RNG always spits the numbers on the same exact order, so to test many of the "avoid divide by zero" stuff we actually had to add manual value input because if not we would always get 5/3.
Doesn't Excel VBA have a Randomize function similar to VB6? I think I remember having to work with random numbers in one of those languages (can't remember which one). It was just a simple random number generator though but it should work if you put
Well, that actually makes sense yet the fact that none of this was mentioned in class, and when a friend shot an email teacher said "to be seen next class" and was never seen. Thanks!
209
u/[deleted] Mar 09 '17
https://xkcd.com/221/
57
u/dougeff Mar 10 '17
This is both funny and true.
Hey, I said to shuffle my playlist, but it played 2 songs from Metallica in a row.
You don't understand, in a random mix, you could get long strings of the same number (same artist).
Random != shuffled.
14
u/[deleted] Mar 10 '17
I can't look at Dilbert anymore without remembering what a piece of shit Scott Adams turned out to be.
9
u/xxfay6 Mar 10 '17
My final project for my programming class is making a simple Math game on Excel VBA (yeah). Turns out the RNG always spits the numbers on the same exact order, so to test many of the "avoid divide by zero" stuff we actually had to add manual value input because if not we would always get 5/3.
4
u/Netrilix Mar 10 '17
It still bothers me that the tour guide changes color on the last panel.
3
u/nobunaga_1568 Mar 10 '17
Actually the RNG is German and reporting an error.
1
u/[deleted] Mar 13 '17
Ah, the Sony rng strategy.
1
u/FarhanAxiq Mar 10 '17
https://www.youtube.com/watch?v=80X2lnohuIg&app=desktop
1
u/[deleted] Mar 10 '17
We need to start quoting the relevant Dilbert (like relevant xkcd) Scott Adams is brilliant !
29
u/[deleted] Mar 10 '17
[removed] — view removed comment