A Random Variable is neither Random nor a
Variable.
Gian-Carlo Rota
A Sample Space,
,
is a set of all possible outcomes of some random
experiment.
A Random Variable, is function, usually numerical, function
on a Sample Space. We will also use capital letters, such as
, to denote Random Variables.
The probability that
returns the value
,
is
is written,
We also talk about Discrete Random Variables is one which may take on at most countable number of distinct values and Finite Random Variables which can take only a finite number of distinct values. By definition, Finite Random Variables are also Discrete.
:
Flip a coin -
Informally, Possible Outcomes {H,T}
each with probability
More formally,
{H,T}
and
is a Finite Random Variable taking on the values 0 and
1 , for H and T ,
finally
0
1
.
Flip a coin twice -
Possible Outcomes {HH,HT,TH,TT} each with
probability
What would be an appropriate
?
Learn the content of a byte in memory - Possible
Outcomes {[00000000],...[01001110],... } each with
probability
Given that we know that the content of a byte contains the ASCII code for a lower case letter of the english alphabet.
What is the probability that the byte contains an "e"?
Knowing nothing about a deck of cards that is presented a person is asked to:
Choose a card from a standard
deck
- Possible Outcomes {AS,2S,.....,KS,AH.........KC}
each with probability
What is the
Suit ? -
Possible Outcomes {S,H,D,C} each a set of 13 cards,
each with probabililty
What is the
Rank?
- Possible Outcomes {A,2,3,4,5,6,7,8,9,10,J,Q,K}
each a set of 4 cards and each with probabililty
Choose from two standard decks that have been mixed together
-
Possible Outcomes {AS,2S,.....,KS,AH.........KC}
each with probabililty
What is the
Suit ? -
Possible Outcomes {S,H,D,C} each with probablilty
What is the
Rank?-
Possible Outcomes {A,2,3,4,5,6,7,8,9,10,J,Q,K} each
with probabililty
Choose a card from a standard deck that has two identical Jokers added
-Possible
Outcomes {AS,2S,.....,KS,AH.........KC,Jo}
each standard card with probabililty
and Jo with probabililty
What is the
Suit ??-
Possible Outcomes {
} each with probablilty
What is the
Rank? -
Possible Outcomes {
} each with probablilty
Choose a card from a standard deck with AH and 3C removed
-Possible
Outcomes {AS,2S,.....,KS,AH.........KC } each standard card
(not AH or 3C ) with probabililty
What is the
Suit? -
Possible Outcomes {S,H,D,C} with probablilties
What is the
Rank? -
Possible Outcomes {A,2,3,4,5,6,7,8,9,10,J,Q,K} with
probablilties
Given that you know you drew a Heart, What are the probabilities for the various ranks?
Give that you know you drew a 3, What are the probabilites for the various suits?