IS Forum
Forum Index Register Members List Events Search Today's Posts Mark Forums Read Help

Go Back   International Skeptics Forum » General Topics » Science, Mathematics, Medicine, and Technology
 


Welcome to the International Skeptics Forum, where we discuss skepticism, critical thinking, the paranormal and science in a friendly but lively way. You are currently viewing the forum as a guest, which means you are missing out on discussing matters that are of interest to you. Please consider registering so you can gain full use of the forum features and interact with other Members. Registration is simple, fast and free! Click here to register today.
Tags probability , random variable , randomness

Reply
Old 2nd July 2008, 05:59 PM   #1
mijopaalmc
Philosopher
 
Join Date: Mar 2007
Posts: 7,172
What is a random variable...

and how is it "random"? Or does the phrase "random variable" mean something different that a combination of "random" and "variable" (i.e., a variable that is random, can take on random values)?

Note: I do have some knowledge of probability theory beyond that which is taught in primary and secondary school (e.g., I know what a "probability bability space" and a "measurable function" are), but I am having trouble explaining the concept of a "random variable" is without using the fancy-schmancy language of probability theory to accurately capture the concepts in detail.

Can anyone help me come up with non-jargon-ridden answers to the questions above?
mijopaalmc is offline   Quote this post in a PM   Nominate this post for this month's language award Copy a direct link to this post Reply With Quote Back to Top
Old 2nd July 2008, 09:38 PM   #2
Reality Check
Penultimate Amazing
 
Join Date: Mar 2008
Location: New Zealand
Posts: 28,521
Originally Posted by mijopaalmc View Post
and how is it "random"? Or does the phrase "random variable" mean something different that a combination of "random" and "variable" (i.e., a variable that is random, can take on random values)?

Note: I do have some knowledge of probability theory beyond that which is taught in primary and secondary school (e.g., I know what a "probability bability space" and a "measurable function" are), but I am having trouble explaining the concept of a "random variable" is without using the fancy-schmancy language of probability theory to accurately capture the concepts in detail.

Can anyone help me come up with non-jargon-ridden answers to the questions above?
The Wikipedia article is fairly clear in its description.

A discrete random variable is a variable that takes on specific values according to an associated probability distribution.
For example the random variable X for tossing a coin has values X = 1 (if heads) or X = 0 (if tails) and the associated probability distribution is p(x) = 0.5 (if x = 1), 0.5 (if x = 0) and 0 otherwise.

A continuous random variable is a variable that takes on any of the values that are associated with a probability density function.
Reality Check is offline   Quote this post in a PM   Nominate this post for this month's language award Copy a direct link to this post Reply With Quote Back to Top
Old 2nd July 2008, 09:51 PM   #3
shadron
Philosopher
 
shadron's Avatar
 
Join Date: Sep 2005
Posts: 5,918
Simply speaking, a random variable is a variable that can take on a random value - no great surprise. The values are, of course, controlled by the statistical parameters of the collection they are drawn from - a Gaussian distribution with mean zero and standard deviation of 1 will have values clustered within a short distance of 0 usually, with the occasional value farther away from zero.
shadron is offline   Quote this post in a PM   Nominate this post for this month's language award Copy a direct link to this post Reply With Quote Back to Top
Old 2nd July 2008, 10:09 PM   #4
Walter Wayne
Wayne's Words
 
Walter Wayne's Avatar
 
Join Date: Jul 2002
Posts: 2,502
A random variable is a numerical quantity whose value depends on chance.
Walter Wayne is offline   Quote this post in a PM   Nominate this post for this month's language award Copy a direct link to this post Reply With Quote Back to Top
Old 2nd July 2008, 11:28 PM   #5
69dodge
Illuminator
 
Join Date: Nov 2002
Posts: 3,607
Originally Posted by mijopaalmc View Post
I do have some knowledge of probability theory beyond that which is taught in primary and secondary school (e.g., I know what a "probability space" and a "measurable function" are), but I am having trouble explaining the concept of a "random variable" is without using the fancy-schmancy language of probability theory to accurately capture the concepts in detail.
More context would be useful: To whom are you trying to explain the concept, and how much do they know about probability?

But, basically, a random variable is the sort of thing about which one can meaningfully ask, for any number x, what the probability is that it is less than x. That is, if X is a random variable, the statement "X < 5", for example, is not something definitely true or definitely false, but rather is something that has some probability of being true. (That probability might be 1 or 0, so I don't mean to exclude the possibility that the statement is definitely true or definitely false; I just mean to include other possibilities.)
69dodge is offline   Quote this post in a PM   Nominate this post for this month's language award Copy a direct link to this post Reply With Quote Back to Top
Old 3rd July 2008, 02:24 AM   #6
PingOfPong
Critical Thinker
 
PingOfPong's Avatar
 
Join Date: Jun 2008
Posts: 421
This easiest way is to narrow down a little bit.

Just think about a 6 sided die. If you roll it 6 millions times then you should expect approxiamately 1 millions "1's", one million "2's" and so on. You would also expect that there would be no discernible pattern in the rolls because it's realisticly unpredictable.

So, you could define a set of random numbers as any sequence of numbers which are drawn from a set in such a way that all outcomes (1 to 6 in the case of a die) are equally likely and the sequence lacks any discernible pattern. You could, of course, throw in a caveat that not all outcomes have to be equally likely ( as if the die had a weighted side). This is a just a quick and dirty explanation that I think gets to the meat of the matter. I'm not an expert in random numbers though.

Last edited by PingOfPong; 3rd July 2008 at 02:26 AM.
PingOfPong is offline   Quote this post in a PM   Nominate this post for this month's language award Copy a direct link to this post Reply With Quote Back to Top
Old 3rd July 2008, 03:24 AM   #7
sphenisc
Philosopher
 
sphenisc's Avatar
 
Join Date: Jul 2004
Posts: 5,983
Depending on who you're aiming at, a bottom-up approach might be more accessible. Start with a concrete scenario, "I lost my cat this morning. Sometime she goes to the park, and sometimes to the fish shop. What should I do? " Discuss what's the variable in the scenario, what are the values and how probability fits in. This can lead on to discussing outcomes with zero probability (are they really outcomes?), outcomes with probability=1 (is such a variable really random?) etc, etc. The concept can be compared with constants and deterministic variables, "She always goes to the park", " She goes to park during the day, and heads to the fish shop at 5pm when they throw out the old fish."

The example I've given may not be very appropriate for your purposes - but having something concrete to "abstract from" can help those of us who are less mathematically inclined.
sphenisc is online now   Quote this post in a PM   Nominate this post for this month's language award Copy a direct link to this post Reply With Quote Back to Top
Old 3rd July 2008, 03:42 AM   #8
Meridian
Critical Thinker
 
Join Date: Aug 2007
Posts: 282
Well, mathematically a "random variable" is just a (measurable) function on a probability space, normally whichever probability space you happen to be talking about at the time, and including trivial cases such as constant functions. As to why:

the way probability is formalized in maths is to put all the randomness into the probability space. For example, if you are discussing questions about sequences of dice rolls, your probability space would consist of all possible (infinite, say) sequences such as 1435235333462... There's also a "measure" on the space that says what the probabilities of certain subsets are. (Ignoring technicalities, you can think of any subset as having a probability.) A random variable is then something like "the 2nd roll" (here 4), or "the sum of the 2nd and 4th rolls", which is a function taking a sequence (element of the probabilty space) and returning a number.

To analyze the behaviour of the random variables you just need to understand the probability space itself. For example, the probability that the sum of the 2nd and 4th rolls is 7 is the probability of a certain subset of the probability space, namely the one where the sum of the 2nd and 4th terms in the sequence is 7.

As to why it's formalized like this: well, it seems to work!
Meridian is offline   Quote this post in a PM   Nominate this post for this month's language award Copy a direct link to this post Reply With Quote Back to Top
Old 3rd July 2008, 07:53 AM   #9
mijopaalmc
Philosopher
 
Join Date: Mar 2007
Posts: 7,172
Here is the comment that spurred this thread:

Originally Posted by zosima View Post
Technically the term you defined was 'random variable' not 'random'.

You inferred that 'random' would have the same sense when it was found in other terms. Generally, people rejected your inference for good reason. While it is okay to separate adjective from a phrase with a given sense and apply them with that sense to other phrases in common language, this is not acceptable with technical terms. Each technical term has a specific definition that may not follow from the senses of its constituent parts of speech.

Thus, since you used a technical definition of 'random variable', your inference is invalid. The observation that this inference makes all systems random, is an example of the odd sorts of conclusions you reach when you make false inferences.
My contention in the thread in which the above comment occurs is that evolution is mathematically random because not every individual of a given phenotype produces reproductively viable offspring by virtue of their possessing that specific phenotype. As I understand it, the above observable fact jibe really well with the concept of a probability measure designating how often an event will occur with respect to all existing events in the sigma-algebra of a probability space.

Now it is also possible that I am misunderstanding evolutionary biology or the application of probability theory to evolutionary biology, but I am primarily interested in checking my factual knowledge of probability theory in and of itself.
mijopaalmc is offline   Quote this post in a PM   Nominate this post for this month's language award Copy a direct link to this post Reply With Quote Back to Top
Old 3rd July 2008, 10:02 AM   #10
sol invictus
Philosopher
 
sol invictus's Avatar
 
Join Date: Oct 2007
Posts: 8,613
Originally Posted by mijopaalmc View Post
I am primarily interested in checking my factual knowledge of probability theory in and of itself.
In several references on probability and statistics I once checked, the term "random" is not defined and is almost never used by itself (e.g. outside phrases like "random variable", which are defined). There is a good reason for that.

As Meridian says above, one defines a "random variable" by putting all the randomness into the probability space. Which more or less begs the question - it gives you a concrete framework to work with, but it does not explain what the connection is to the physical world, or precisely what "random" means, or where the probability space came from.

Those are (in my opinion) very deep questions, to which no one knows the answer. As I have said before, I think the best definition of "random" is something that is fundamentally unpredictable.

Let me try to formulate that more precisely: A random event is an event whose outcome cannot be predicted with a confidence that tends to 1 when the errors in your knowledge of the initial data tend to 0.

Comments?
sol invictus is offline   Quote this post in a PM   Nominate this post for this month's language award Copy a direct link to this post Reply With Quote Back to Top
Old 3rd July 2008, 10:08 AM   #11
sphenisc
Philosopher
 
sphenisc's Avatar
 
Join Date: Jul 2004
Posts: 5,983
Originally Posted by sol invictus View Post
In several references on probability and statistics I once checked, the term "random" is not defined and is almost never used by itself (e.g. outside phrases like "random variable", which are defined). There is a good reason for that.

As Meridian says above, one defines a "random variable" by putting all the randomness into the probability space. Which more or less begs the question - it gives you a concrete framework to work with, but it does not explain what the connection is to the physical world, or precisely what "random" means, or where the probability space came from.

Those are (in my opinion) very deep questions, to which no one knows the answer. As I have said before, I think the best definition of "random" is something that is fundamentally unpredictable.

Let me try to formulate that more precisely: A random event is an event whose outcome cannot be predicted with a confidence that tends to 1 when the errors in your knowledge of the initial data tend to 0.

Comments?
Does your "cannot" mean logically impossible, mathematically impossible, physically impossible, currently impractical or something else?
sphenisc is online now   Quote this post in a PM   Nominate this post for this month's language award Copy a direct link to this post Reply With Quote Back to Top
Old 3rd July 2008, 10:15 AM   #12
sol invictus
Philosopher
 
sol invictus's Avatar
 
Join Date: Oct 2007
Posts: 8,613
Originally Posted by sphenisc View Post
Does your "cannot" mean logically impossible, mathematically impossible, physically impossible, currently impractical or something else?
That's a good question. As a physicist I like to define things operationally, so I would go with "physically impossible under any circumstance". You're allowed to collect as much data as you like, have as powerful a computer as you like, make as precise measurements as is poassible, so long as none of those things violate the laws of physics.

The canonical example (of random by my definition) is predicting the results of a measurement of the z-axis spin of an electron prepared in a state of spin up along the x-axis. A slightly less canonical one is determining (from outside) whether an unstable particle which passed into a black hole horizon decays before it hits the singularity.
sol invictus is offline   Quote this post in a PM   Nominate this post for this month's language award Copy a direct link to this post Reply With Quote Back to Top
Old 3rd July 2008, 10:26 AM   #13
sol invictus
Philosopher
 
sol invictus's Avatar
 
Join Date: Oct 2007
Posts: 8,613
Incidentally, one problem with my proposed definition is that it probably either makes everything or nothing in the physical world random (depending on what you think about quantum mechanics).

However it can be modified to address that: one could say that an event is almost non-random (or maybe epsilon-predictable is better) if your confidence in your prediction tends to a number larger than 1-epsilon when the precision goes to infinity (where epsilon is to be specified depending on the application).
sol invictus is offline   Quote this post in a PM   Nominate this post for this month's language award Copy a direct link to this post Reply With Quote Back to Top
Old 3rd July 2008, 02:33 PM   #14
cyborg
deus ex machina
 
cyborg's Avatar
 
Join Date: Aug 2005
Posts: 4,981
A random variable produces an infinite sequence not producible by a finitely describable mechanism.
__________________
The phrase deus ex machina (literally "god out of a machine") describes an unexpected, artificial, or improbable character, device, or event introduced suddenly in a work of fiction or drama to resolve a situation or untangle a plot...
cyborg is offline   Quote this post in a PM   Nominate this post for this month's language award Copy a direct link to this post Reply With Quote Back to Top
Old 3rd July 2008, 03:20 PM   #15
mijopaalmc
Philosopher
 
Join Date: Mar 2007
Posts: 7,172
Originally Posted by cyborg View Post
A random variable produces an infinite sequence not producible by a finitely describable mechanism.
So any finite sequence is not a product of a random variable?
mijopaalmc is offline   Quote this post in a PM   Nominate this post for this month's language award Copy a direct link to this post Reply With Quote Back to Top
Old 3rd July 2008, 06:36 PM   #16
Walter Wayne
Wayne's Words
 
Walter Wayne's Avatar
 
Join Date: Jul 2002
Posts: 2,502
Said sequence (infinite or otherwise) would not be a product of a random variable. It would be a sequence of random variables.
Walter Wayne is offline   Quote this post in a PM   Nominate this post for this month's language award Copy a direct link to this post Reply With Quote Back to Top
Old 3rd July 2008, 07:07 PM   #17
mijopaalmc
Philosopher
 
Join Date: Mar 2007
Posts: 7,172
Originally Posted by Walter Wayne View Post
Said sequence (infinite or otherwise) would not be a product of a random variable. It would be a sequence of random variables.
So are you saying that cyborg hasn't really defined a random variable? Or that there is just something wrong with how I interpreted what he said?

Last edited by mijopaalmc; 3rd July 2008 at 07:09 PM.
mijopaalmc is offline   Quote this post in a PM   Nominate this post for this month's language award Copy a direct link to this post Reply With Quote Back to Top
Old 3rd July 2008, 07:12 PM   #18
Walter Wayne
Wayne's Words
 
Walter Wayne's Avatar
 
Join Date: Jul 2002
Posts: 2,502
I'm saying he hasn't defined "random variable" correctly.

Last edited by Walter Wayne; 3rd July 2008 at 07:15 PM.
Walter Wayne is offline   Quote this post in a PM   Nominate this post for this month's language award Copy a direct link to this post Reply With Quote Back to Top
Old 4th July 2008, 01:18 AM   #19
cyborg
deus ex machina
 
cyborg's Avatar
 
Join Date: Aug 2005
Posts: 4,981
Quote:
So any finite sequence is not a product of a random variable?
Undecidable. See Godel.
__________________
The phrase deus ex machina (literally "god out of a machine") describes an unexpected, artificial, or improbable character, device, or event introduced suddenly in a work of fiction or drama to resolve a situation or untangle a plot...
cyborg is offline   Quote this post in a PM   Nominate this post for this month's language award Copy a direct link to this post Reply With Quote Back to Top
Old 4th July 2008, 09:24 AM   #20
69dodge
Illuminator
 
Join Date: Nov 2002
Posts: 3,607
Originally Posted by cyborg View Post
Undecidable. See Godel.
Too brief. Explain.
69dodge is offline   Quote this post in a PM   Nominate this post for this month's language award Copy a direct link to this post Reply With Quote Back to Top
Old 4th July 2008, 10:03 AM   #21
69dodge
Illuminator
 
Join Date: Nov 2002
Posts: 3,607
Originally Posted by Walter Wayne View Post
Said sequence (infinite or otherwise) would not be a product of a random variable. It would be a sequence of random variables.
I think he intends each element of his sequence to be a definite value. Considered individually, there's nothing random about it. Only the sequence as a whole is considered random, because the various values "have nothing to do with each other".

I agree with you that this is not the usual definition of "random variable". I'd call such a sequence "an uncomputable sequence". (Every finite-length sequence is computable, which perhaps answers mijopaalmc's question.)

If I were planning to roll a die once and then destroy it, so that there is no possibility of it generating an infinite sequence, I'd still be perfectly happy to consider the number that will result from the single roll to be a random variable.

(I don't mean that after I roll, say, a 4, I consider "4" to be a random variable. I mean that before I roll anything, I consider "the number that I will roll" to be a random variable.)
69dodge is offline   Quote this post in a PM   Nominate this post for this month's language award Copy a direct link to this post Reply With Quote Back to Top
Old 4th July 2008, 07:17 PM   #22
cyborg
deus ex machina
 
cyborg's Avatar
 
Join Date: Aug 2005
Posts: 4,981
The simple problem I am trying to get across is that it is undecidable in general as to whether or not some variable is random when one attempts to decide that by induction across its output.

Any "random" finite sequence has a "non-random" representation and you can't make a decision about an infinite sequence.

Randomness is defined by what it is not, not what it is.
__________________
The phrase deus ex machina (literally "god out of a machine") describes an unexpected, artificial, or improbable character, device, or event introduced suddenly in a work of fiction or drama to resolve a situation or untangle a plot...
cyborg is offline   Quote this post in a PM   Nominate this post for this month's language award Copy a direct link to this post Reply With Quote Back to Top
Old 5th July 2008, 12:11 AM   #23
DevilsAdvocate
Philosopher
 
DevilsAdvocate's Avatar
 
Join Date: Nov 2004
Posts: 7,508
Originally Posted by mijopaalmc View Post
Here is the comment that spurred this thread:



My contention in the thread in which the above comment occurs is that evolution is mathematically random because not every individual of a given phenotype produces reproductively viable offspring by virtue of their possessing that specific phenotype. As I understand it, the above observable fact jibe really well with the concept of a probability measure designating how often an event will occur with respect to all existing events in the sigma-algebra of a probability space.

Now it is also possible that I am misunderstanding evolutionary biology or the application of probability theory to evolutionary biology, but I am primarily interested in checking my factual knowledge of probability theory in and of itself.
I may be off the mark, but it seems you are picking semantic nits here. You say “evolution is mathematically random” and it “jibe[s] really well with the concept of a probability measure”. The “nit” is the difference between being random and appearing random (or being able to be described as random). As sol invictus said above, this difference goes deep into questions about what “random” is, which could be everything or nothing or something approaching everything or nothing or some other quantum equation. Those questions seem to be independent of the meaning of random that you use. A “mathematically random” or “probability measure” is a theoretical explanation, evaluation, or prediction, which is what the theory of evolution is.

So if you want to get technical on the term, you have to define what you mean by “random”. It could mean anything from a general sense of uncertainty to a theoretical concept of probability to an unknown quantum equation. It seems you mean a general sense of the term and looks like someone is setting you up to say you mean a “theoretical concept of probability” to knock down evolution theory as something that can only occur in theory and not in the actual physical world. Which is throwing the evolution baby out with the bath water by adding nits on the meaning of the term “random”.
__________________
I don't need to fight to prove I'm right. - Baba O'Riley
DevilsAdvocate is offline   Quote this post in a PM   Nominate this post for this month's language award Copy a direct link to this post Reply With Quote Back to Top
Old 7th July 2008, 06:29 PM   #24
technoextreme
Illuminator
 
technoextreme's Avatar
 
Join Date: Jun 2007
Posts: 3,785
Originally Posted by shadron View Post
Simply speaking, a random variable is a variable that can take on a random value - no great surprise. The values are, of course, controlled by the statistical parameters of the collection they are drawn from - a Gaussian distribution with mean zero and standard deviation of 1 will have values clustered within a short distance of 0 usually, with the occasional value farther away from zero.
A random variable is a function making your definition really bad.
Quote:
The simple problem I am trying to get across is that it is undecidable in general as to whether or not some variable is random when one attempts to decide that by induction across its output.
What????? A random variable is a mapping of a probability space so that we can make our lives easier.
Quote:
(I don't mean that after I roll, say, a 4, I consider "4" to be a random variable. I mean that before I roll anything, I consider "the number that I will roll" to be a random variable.)
Technically yes and technically no. You actually should know what the sigma algebra is before you can figure out if what you are describing is the random variable.

Last edited by technoextreme; 7th July 2008 at 06:35 PM.
technoextreme is offline   Quote this post in a PM   Nominate this post for this month's language award Copy a direct link to this post Reply With Quote Back to Top
Reply

International Skeptics Forum » General Topics » Science, Mathematics, Medicine, and Technology

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -7. The time now is 12:17 AM.
Powered by vBulletin. Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.

This forum began as part of the James Randi Education Foundation (JREF). However, the forum now exists as
an independent entity with no affiliation with or endorsement by the JREF, including the section in reference to "JREF" topics.

Disclaimer: Messages posted in the Forum are solely the opinion of their authors.