Verified:

Rockman Game profile

Member
3388

Dec 19th 2010, 4:39:57

Can a random number generator picking from a finite set exist?
Can a random number generator picking from an infinite set exist?

What criteria must be met for randomness to be achieved?

ponderer Game profile

Member
678

Dec 19th 2010, 6:36:19

define randomness.
m0m0rific

Rufus Game profile

Member
249

Dec 19th 2010, 8:47:10

Define generator as well. Anyway, random number generators picking from a finite set do exist; the simplest of them is coin flipping (picks from "head,tail" set.) Dice rolling are not far more complicated and offer larger sets.
I am John Galt.

zigigy Game profile

Member
127

Dec 19th 2010, 12:04:55

I find computers incapable of true randomness.
Zigigy
TIE Head
MSN:
gamesurge server, #tiechat

Detmer Game profile

Member
4246

Dec 19th 2010, 15:04:44

Originally posted by Rockman:
Can a random number generator picking from a finite set exist?


Yes, they do exist already and are very common.


Can a random number generator picking from an infinite set exist?


Yes*, easy example is picking a random number 1-103 and if 100, 101, 102 or 103 come up you add, subtract, multiply or divide. That of course makes any integer possible.

*if you only allow a predefined set and pick one of the indices to determine your value then no, as it would take forever to generate the set and another forever to select a value.


What criteria must be met for randomness to be achieved?


I do not believe randomness can be achieved. That takes us to the nature of the universe. Some physicists believe that everything is a purely deterministic process whereas others believe everything is stochastic. While not a theoretical physicist, I adhere to the deterministic point of view (although that is the minority view). If the universe is not deterministic then yes, randomness could be conceivably achieved by somehow measuring the state of some random process. (again, some argue that measuring the state introduces bias and could potentially make it quasi-random at best).

martian Game profile

Game Moderator
Mod Boss
7828

Dec 19th 2010, 15:24:15

Just assume (like with most computers) that you have a pseudo-ramdom number generator on the interval(0,1)

Can a random number generator picking from a finite set exist?
The answer is Yes. Simple example you map all sequence from (0-0.5) to 0 and the remainder to 1. You are picking from a finite set.

Can a random number generator picking from an infinite set exist?
The answer in real life is yes (radioactive decay). On a computer the answer is no because computers can only deal with countable and finite (albeit very large) sets. You can only approximate this process.

For example you can only store so many decimals and/or so many integers/digits based on, among other things the memory capcity of your computer.

Weather true randomness can be achieved is a philosophical question. If you believe in Baysian statistics then the answer is yes, because probability measure changes depending on the eye of the beholder. Even though a coin flip is not a random process but a completely deterministic outcome based on the force I apply to the coin, the angle and speed at which it hits the table, and other physics, I the observer DO NOT have that information so from my standpoint it is random.

In the 19th century, it was believed that all physics was deterministic and we simply lacked the ability to measure some processes. Some quantum theory states that certain physical processes are truly random (like certain kinds of radioactive decay). However this is neither proven nor disproven. Einstein did say that "god does not play dice".

Regardless of philosophy, the point to statistics is to estimate things based on an incomplete information set. Weather or not the process is "truely random" isn't critical as long as it is "random enough" and/or enough information isn't known. When statistical theory was redone in the 20th century, the definitions of everything were made very mathematically precise as to what exactly we mean by "random variable" and "stochastic process". And built up all theory from there. Statistics is (mostly) mathematically solid and is robust enough (if used correctly) to handle many real world applications without them completely fulfilling what is assumed.

@Detmer oddly a lot of statistical problems ended up looking like previously known physics equations although the methodology was developed independently. The solutions came faster because the physicists had already solved the equations in many cases:P
Black-Scholes equation was actually something in physics (can't remember what) that was known at least 20 years earlier for a completely different problem.





you are all special in the eyes of fluff
(|(|
( ._.) -----)-->
(_(' )(' )

RUN IT IS A KILLER BUNNY!!!

Detmer Game profile

Member
4246

Dec 19th 2010, 15:37:40

Originally posted by martian:

Weather true randomness can be achieved is a philosophical question. If you believe in Baysian statistics then the answer is yes, because probability measure changes depending on the eye of the beholder. Even though a coin flip is not a random process but a completely deterministic outcome based on the force I apply to the coin, the angle and speed at which it hits the table, and other physics, I the observer DO NOT have that information so from my standpoint it is random.


Ironically random.org does their random number generation by variations in atmospheric pressure ;)

@Detmer oddly a lot of statistical problems ended up looking like previously known physics equations although the methodology was developed independently. The solutions came faster because the physicists had already solved the equations in many cases:P
Black-Scholes equation was actually something in physics (can't remember what) that was known at least 20 years earlier for a completely different problem.


My diff eq TA in college told me that. Its interesting all the stuff that has been independently developed throughout history.

martian Game profile

Game Moderator
Mod Boss
7828

Dec 19th 2010, 15:47:03

yep. Also a lot of statistics was redeveloped using nothing but set theory initially. It's almost impossible to follow some of it. Many proofs were redone once they started reading physics and engineering journals I think:P
And yeah when I took a course in SDEs the prof would always spend about 10-15 minutes each lecture telling us the history of the stuff and how the fields ended up feeding off of each other and ended up "greatly simplifying" things by which he meant from 20 pages of set theory to 2 pages of complex differential equations and measure theory:P
you are all special in the eyes of fluff
(|(|
( ._.) -----)-->
(_(' )(' )

RUN IT IS A KILLER BUNNY!!!

enshula Game profile

Member
EE Patron
2510

Dec 20th 2010, 5:48:41

isnt the theory just take a variable which changes then make the sample period small enough

and take only the least significant digit

then you basically have randomness

since your polling period cant be gamed to generate a desired response


in other words you poll your computers clock every now and then to use that as a random number generator seed

if you had other things you could measure small enough changes in such as atmospheric pressure mentioned above then you could always use more than one source if you felt some could be gamed

Ozzite Game profile

Member
2122

Dec 20th 2010, 5:54:29

Originally posted by martian:
yep. Also a lot of statistics was redeveloped using nothing but set theory initially. It's almost impossible to follow some of it. Many proofs were redone once they started reading physics and engineering journals I think:P


Measure Theory FTW. I had to take that fluff for my bachelors degree. impossible to follow my ass, they are just elegant :-P
Ah, mercury. Sweetest of the transition metals.

Dibs Ludicrous Game profile

Member
6702

Dec 20th 2010, 18:35:19

"God does not play dice" or "God does not play dice with the universe" -- Albert Einstein

http://en.wikiquote.org/wiki/Albert_Einstein
There are no messages in your Inbox.
Elvis has left the building.

BobbyATA Game profile

Member
2367

Dec 21st 2010, 5:53:22

no and no

Trife Game profile

Member
5817

Dec 21st 2010, 6:11:06

You should all be discussing .999... = 1


Dibs Ludicrous Game profile

Member
6702

Dec 21st 2010, 8:59:22

why? the money data type doesn't do infinity.
There are no messages in your Inbox.
Elvis has left the building.

martian Game profile

Game Moderator
Mod Boss
7828

Dec 21st 2010, 16:09:57

enshula: the way it works is you have an algorithm that generates a sequence of numbers which is considered to be "pseudo random". These numbers are on the interval [0,1]. Then you take something like a system clock or some other factor and apply a formula to that info to determine where on the list you start generating numbers.
Some of the pseudorandom number generators are good enough to fool even the most stringent statistical tests (ie the sequence is "random" enough to give an accurate representation of a random variable).

From the uniform random number we can then generate any other random variable of our choosing which will be as "random" and as "good" as the uniform random number.

you are all special in the eyes of fluff
(|(|
( ._.) -----)-->
(_(' )(' )

RUN IT IS A KILLER BUNNY!!!

martian Game profile

Game Moderator
Mod Boss
7828

Dec 21st 2010, 16:12:22

Mersenne twister is one of the best ones.
:)
http://en.wikipedia.org/...dorandom_number_generator
explains it well.
you are all special in the eyes of fluff
(|(|
( ._.) -----)-->
(_(' )(' )

RUN IT IS A KILLER BUNNY!!!

martian Game profile

Game Moderator
Mod Boss
7828

Dec 21st 2010, 16:14:13

for industrial applications when making a large/complex simulation it is often useful to always start from the same place in the sequence to you can examine the effect of model changes as opposed to just "model noise".
in many cases one only needs a certain number of "randomly" generated scenarios.
you are all special in the eyes of fluff
(|(|
( ._.) -----)-->
(_(' )(' )

RUN IT IS A KILLER BUNNY!!!