Random variable and elementary events

  • #1
fog37
1,568
108
TL;DR Summary
Trying to understand why a random variables assigns a unique value only to elementary events and not to composite events
Hello,
A sample space is the set of all possible elementary events. A random "variable" is really a real-valued function that associates a single real number to every elementary events. For example, in the case of a fair die, the sample space is ##\Omega={1,2,3,4,5,6}##. Each number is an elementary event.
A composite event would be, for example, the outcome being larger than 3: composite event {4,5,6}. Couldn't a random variable also apply to composite events like this? Or does it only assign numbers to elementary events?

When we launch two fair dies, the space of the events is
1703883177004.png

In this case, each pair is an elementary event and the numbers represent the number on the face of each die. A random variable could be defined in different ways, for example X could be the sum of the numbers on the two faces. Or the product, etc.

The sum of two numbers or their product, etc. are not elementary events in themselves but a concept applied to the elementary event. The elementary event is (1;1). The random variable is "their sum", "their product", etc., correct?

Thank you!
 

Attachments

  • 1703883171477.png
    1703883171477.png
    2.7 KB · Views: 18
Physics news on Phys.org
  • #2
fog37 said:
TL;DR Summary: Trying to understand why a random variables assigns a unique value only to elementary events and not to composite events

Hello,
A sample space is the set of all possible elementary events. A random "variable" is really a real-valued function that associates a single real number to every elementary events. For example, in the case of a fair die, the sample space is ##\Omega={1,2,3,4,5,6}##. Each number is an elementary event.
Are you making these definitions up on your own? They are very limited and incorrect.
From Wikipedia: Random Variable:
"In the formal mathematical language of measure theory, a random variable is defined as a measurable function from a probability measure space (called the sample space) to a measurable space."
fog37 said:
A composite event would be, for example, the outcome being larger than 3: composite event {4,5,6}. Couldn't a random variable also apply to composite events like this? Or does it only assign numbers to elementary events?
This is not an issue for the correct definition of a random variable. Your definition is too limited and misleading in this case.
 
  • #3
In the context of your question, part of the definition of a probability space is a ##\sigma## algebra which defines all measurable subsets of the sample space. For finite sample spaces, like a roll of a dice, this usually is the power set of the sample space. So it would include each of the individual numbers, but also subsets such as odd numbers or numbers greater than 4.
 
  • Like
Likes fog37
  • #4
fog37 said:
A sample space is the set of all possible elementary events. A random "variable" is really a real-valued function that associates a single real number to every elementary events. For example, in the case of a fair die, the sample space is ##\Omega={1,2,3,4,5,6}##. Each number is an elementary event.
A composite event would be, for example, the outcome being larger than 3: composite event {4,5,6}. Couldn't a random variable also apply to composite events like this? Or does it only assign numbers to elementary events?
For the random variable (call it X) that you describe, each sample of X will only give you only one specific number. To deal with larger sets of numbers, you just ask for the probability that X is in {4,5,6}.
 
  • Like
Likes fog37 and Hornbein
  • #5
Thank you. I understand that my definition of random variable is quite basic and primitive, but hopefully pragmatic.
As mentioned, the random variable ##X## is really a function that maps an elementary event in the sample space to a (positive or negative) number. That assigned number can then be associated to another number which is its probability $$P$$. The example below shows the sample space we get from throwing two fair and independent dices. In this case, the random function ##X## is defined as "add the numbers on the faces on the two dices and assign the result to the elementary event". So event ##(1,1)## get ##X=2##.
1703980025890.png

  • It is worth noticing that a random variable ##X## can be a many-to-one function: multiple elementary events can in fact be mapped to the same number (ex: ##X=4##). The numbers 2 or 4 are just two of the possible several realizations of the so defined random variable.
  • Given the same sample space composed of the same elementary events/outcomes, mothing prevents us from defining the random variable differently. For example, as "multiply the numbers of the dices faces and assign the result to the event"....
On a different note, I was thinking again about a binomial experiments with a single coin where we toss the coin several times. Does each trial/toss represent a different realization of the same random variable ##X## (which has uniform probability distribution) or is each trial a realization of a different and independent random variable with uniform distribution? How do we determine this?
In general, the random variable defined in this type of experiment is "the total number of heads obtained during the ##N## tosses". This r.v. would be a binomial r.v.

Thank you!
 
  • #6
fog37 said:
Thank you. I understand that my definition of random variable is quite basic and primitive, but hopefully pragmatic.
I don't think that it is pragmatic to invent personal definitions for standard terms that already have clear definitions.
 
  • Like
Likes fog37
  • #8
Your example should be thought of as having more than one random variable. You can think of the selection of two numbers as taking two independent samples of a uniform random variable, U, on {1,2,3,4,5,6}. Call those samples U1 and U2. Then you have another random variable, X = U1 + U2 with the probabilities you show in post #5.
This is a very common scenario.
 
  • #9
Well, you can always use Wikipedia before making up your own meanings:

https://en.m.wikipedia.org/wiki/Probability_space

What you call an elementary event is an outcome, which is an element of the sample space. What you call a composite event is simply part of the event space and is just called an event.

The event space includes all of your elementary events and composite events together. It has to include both since the event space must be closed under unions, intersections, and complements. Separating them as you have done breaks this important mathematical feature. For example, the complement of an elementary event is not an elementary event. So elementary events and composite events must be kept as parts of the same space.
 
  • #10
fog37 said:
I know what you mean. But my intro to probability textbook does not give the rigorous definition "...a random variable is defined as a measurable function from a probability measure space (called the sample space) to a measurable space."
Ha! That's probably right. A simpler definition is nice. You should get used to using the simpler definition to give precise definitions for more complicated problems. Compare your original post with the description I gave in post #8: "taking two independent samples of a uniform random variable, U, on {1,2,3,4,5,6}. Call those samples U1 and U2. Then you have another random variable, X = U1 + U2"
That is routine, using standard, simple definitions. You will quickly get good at things like that and they are very common.
 

What is a random variable?

A random variable is a numerical description of the outcome of a statistical experiment. It assigns a numerical value to each outcome in the sample space of the experiment. Random variables can be discrete (taking on a finite or countably infinite set of values) or continuous (taking on any value in an interval or collection of intervals).

What is an elementary event?

An elementary event is one of the basic possible outcomes of a random experiment. It represents a single outcome in the sample space and cannot be broken down further into simpler components. In a probability context, each elementary event is associated with a specific probability.

How do random variables differ from regular variables?

Random variables differ from regular variables in that they are defined by the outcomes of a random process and are subject to variability. While a regular variable may have a fixed value under the same conditions, a random variable can produce different values, typically described by a probability distribution, under the same conditions.

What is the significance of the distribution of a random variable?

The distribution of a random variable tells us how the probabilities are distributed over the values of the random variable. It provides a complete description of the probability of occurrence of different possible outcomes. For discrete random variables, this is often represented by a probability mass function, and for continuous variables, by a probability density function.

How do you calculate the probability of an elementary event?

The probability of an elementary event is calculated based on the sample space and the nature of the event. If all outcomes in the sample space are equally likely, the probability of an elementary event is given by the ratio of the number of favorable outcomes (the elementary event itself) to the total number of outcomes in the sample space. In more complex situations, probabilities may be assigned differently, depending on additional information or rules governing the experiment.

Similar threads

  • Set Theory, Logic, Probability, Statistics
Replies
6
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
5
Views
486
  • Set Theory, Logic, Probability, Statistics
Replies
10
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
2
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
7
Views
453
  • Set Theory, Logic, Probability, Statistics
Replies
2
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
1
Views
923
Replies
12
Views
738
  • Set Theory, Logic, Probability, Statistics
Replies
3
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
0
Views
1K
Back
Top