Professional Documents
Culture Documents
Random Variables
Random Variables
Variables
Recall:
Random Variables
.
(number of favorable outcomes/number of possible outcomes), the
.
probability is 6/36 or 1/6)
.
.
Flipping a coin
Random Variables
.
.
HEAD TAIL
. “H” “T”
.
.
Flipping 2 coins
Random Variables
HH
HT
. TH
.
. TT
.
.
Flipping 3 coins
Random Variables
Final Outcomes
1st Coin 2nd Coin 3rd Coin
HHH
HHT
HTH
HTT
. THH
.
THT
.
TTH
.
. TTT
.
Sample Space
Random Variables
.
Note that the possible outcomes in flipping three coins
are HHH, HHT, HTH, HTT, THH, THT, TTH, and TTT.
Suppose we are interested in the in the
Random Variables
.
a. Remain the same 2 1 0
. HTH TTH TTT
.
b. Change 1 2 3
.
.
If you notice…
Random Variables
Variable of interest:
THT
. Variable of interest:
.
.
THT
.
.
Random Variable
Random Variables
S No. of heads
HHH
X = number of heads HHT
3
HTH
The values of X can HTT
2
be 0,1, 2 or 3. THH
. 1
.
THT
. TTH
.
0
TTT
.
.
Random Variable
Random Variables
Intuitive Definition
A variable with numerical value that can take on,
or represent any possible outcome in a random
process or experiment.
Mathematical Definition
A random variable X is a function from a sample
.
.
Points to remember:
Random Variables
.
of tails, then for the outcome THT, x=2.
.
.
Thought Experiment
Random Variables
.
Thought Experiment
Random Variables
.
Numerous sides
. Continuous curve - SPHERE
.
.
Types of Random Variables
Random Variables
.
Discrete Random Variable
Random Variables
Example:
X = number of items answered correctly in a 5-item quiz
X = 0, 1, 2, 3, 4, 5
. Y = 1, 2, 3, 4…
.
.
Types of Random Variables
Continuous Random Variable
- A random variable which can assume an infinite
number of values between two specific values
Examples:
.
X = weight in pounds of newly born babies in a hospital
.
.
Continuous Random Variable
Examples:
X = weight in pounds of newly born babies in a hospital
Y = temperature of a cup of coffee served at a
restaurant
.
X and Y can assume infinitely many values. For the
possible values of X, imagine the values just in between
.
.
6 and 7 pounds: 6.0001, 6.0005, 6.1253, and so on.
. Same goes with the possible values of Y.
.
Points to remember:
• Values that can be assumed by a discrete random
variable are whole numbers and are often results of
counting
• Values that can be assumed by a continuous
. random variable are infinitely many; can be any
.
value including all decimal values and are often
results of measurement
.
.
Quick Test
Determine if the random variable X or Y is discrete or continuous.