Random Number Generator | Follow the Rules!

In summary: I the only one who thinks this game is rigged?Can you really "choose" a random number?You can't cheat, but you also can't "choose"; lose, lose situation.

Choose a random number.


  • Total voters
    93
  • #71
AUMathTutor said:
How about this for a fair random process?

You grab a handful of sand. You then count how many grains of sand there are. Take the number and the remainder after dividing it by 20 should not be biased.

Here's my reasoning: the bounds aren't fixed on how many grains there can be. This means that there is no inherent bias in the range of values. You will usually get many more than 20 grains of sand, so the part that's actually deciding the outcome is sufficiently masked.

Are there problems with that?
Is "fine granular stuff from a burst stress ball" an acceptable substitute for sand?
 
Physics news on Phys.org
  • #72
As long as you don't use all of it... maybe?
 
  • #73
My probability is a little rusty. What sort of discrete probability distribution would theoretically be expected here considering it was truly random? Poisson Distribution? A Bayesian analysis could tell us the probability that this data is actually a random distribution. Might do that later.
 
  • #74
flatmaster said:
My probability is a little rusty. What sort of discrete probability distribution would theoretically be expected here considering it was truly random? Poisson Distribution? A Bayesian analysis could tell us the probability that this data is actually a random distribution. Might do that later.

If it was truly random, a uniform distribution would be expected, would it not?
 
  • #75
qntty said:
If it was truly random, a uniform distribution would be expected, would it not?

For a sufficently large number of votes, it obviously would. However, for a small number of votes, there are outliers. Consider the first vote as your only data. A frequentist prospective would say that a random number between 1 and 20 is defined as that number.
 
  • #76
EnumaElish said:
Is "fine granular stuff from a burst stress ball" an acceptable substitute for sand?
:rofl:
 
  • #77
Code:
my @numb = (1 .. 20);

my $num = int(rand(19));
print @numb[$num];
Perl does it for me. I got 9.

EDIT: This is what I get for approaching a simple problem with a solution already in my mind. It might make more sense to just print $num and ditch the array... :P
 
Last edited:
  • #78
So, how do you know a number is generated randomly? Wouldn't even a so-called random number generator need to have some sort of rules to generate the numbers?
 
  • #79
Moonbear said:
So, how do you know a number is generated randomly? Wouldn't even a so-called random number generator need to have some sort of rules to generate the numbers?

A computer cannot generate pure random number. What computer generates is a pseudo random number. For most of the random number applications, pseudo random numbers are more suited than pure random numbers. Pure random numbers have very little applications.
 
  • #80
jobyts said:
A computer cannot generate pure random number. What computer generates is a pseudo random number. For most of the random number applications, pseudo random numbers are more suited than pure random numbers. Pure random numbers have very little applications.
You can start with a seed rather than using a system-generated randomizer.
 
  • #81
jobyts said:
A computer cannot generate pure random number. What computer generates is a pseudo random number. For most of the random number applications, pseudo random numbers are more suited than pure random numbers. Pure random numbers have very little applications.

So, still, how would you know if a number WAS a pure random number? Where do they come from and how would you recognize them?
 
  • #82
Moonbear said:
So, still, how would you know if a number WAS a pure random number? Where do they come from and how would you recognize them?

Maybe using a natural process which is random, like the decay of an atom. If there's geiger counter connected to a computer, and tracks the delay between individual decays.

There are also tests for randomness which may give a pretty good idea of how random a sequence of numbers generated by a pseudo-random number generator are (although, these can easily fail). In fact, in my senior thesis, I have to perform a lattice monte-carlo simulation, and the pseudo-random number generator I use has a period of 219937-1
 
  • #83
flatmaster said:
My probability is a little rusty. What sort of discrete probability distribution would theoretically be expected here considering it was truly random? Poisson Distribution? A Bayesian analysis could tell us the probability that this data is actually a random distribution. Might do that later.

If it was truly random, you'd expect a uniform distribution.

If you ask humans to pick a random number from 1 to 20, you'd expect a spike at 17. 37 is an even more popular random number than 17 if the range is 1 to 100. The favorite random number from 1 to 10 is 7.

The question was asked to a non-typical audience. Some of the responders seem more proud of how they picked their random number than they are of the number they picked.
 
  • #84
We have 87 responses so far, and the chi-square value, 94.63, is below the 95% threshold of 108.65.

We're still random!
 
  • #85
2 seems rather unpopular in this poll so far (1 out of 88 responses, 1.1%)
 

Similar threads

  • Programming and Computer Science
Replies
1
Views
638
Replies
5
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
6
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
9
Views
549
  • Engineering and Comp Sci Homework Help
Replies
4
Views
1K
Replies
21
Views
750
  • Set Theory, Logic, Probability, Statistics
Replies
15
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
7
Views
449
  • Programming and Computer Science
Replies
21
Views
3K
  • Set Theory, Logic, Probability, Statistics
Replies
1
Views
919
Back
Top