Random Variables and Probability Distribution
Random Variables and Probability Distribution
and Probability
Distribution
Shirlee Ocampo
Mathematics and Statistics Department
De La Salle University
RANDOM VARIABLE
• a real-valued function defined over a
sample space
• assigns a real number to every sample
point of the sample space
• a variable that assumes numerical
values associated with the random
outcome of an experiment, where one
(and only one) numerical value is
assigned to each sample point
Example
Consider the experiment of tossing two
balanced coins
Variables– Weight
Chapter 4: Discrete Random
10
Tell whether the random variable is discrete
or continuous.
a. Number of clients of an insurance agent
per month
b. Waiting time in an automated teller
machine (ATM)
c. Weight of a newborn baby
d. Number of students from among 200
nursing students who will join a medical
mission
e. Number of correct answers in a 20-item
multiple-choice quiz
Example: Classify the random variable and
tell the possible values
Realizations of X: x = 0, 1, 2, …, 20
Type of X: discrete
Example: Classify the random variable and
tell the possible values
Type of X: continuous
Probability Distribution
• A probability distribution is a list of
all possible outcomes together with the
probability of each.
• A probability distribution for
discrete random variables is a table,
graph or a formula listing all possible
values of a discrete random variable
together with its corresponding
probability.
Probability Mass Function (pmf)
• probability distribution of a discrete
random variable
0.18
0.16
0.14
0.12
0.1
p(y)
0.08
0.06
0.04
0.02
0
2 3 4 5 6 7 8 9 10 11 12
y
Types of Probability Distributions
• Discrete probability distribution
(probability mass function pmf) -
discrete random variable–
X = outcome of rolling one die
X 1 2 3 4 5 6
P(X) 1/6 1/6 1/6 1/6 1/6 1/6
• Continuous Probability Distribution
(probability density function pdf)
7.26
Discrete Probability Distributions
• Probabilities, P(x), associated with
discrete random variables have the
following properties.
X 1 2 3 4 5 6
P(X) 1/6 1/6 1/6 1/6 1/6 1/6
7.27
EXPECTATION
The expected value or mean of the
random variable X , denoted by E[X] or
µ is the sum of all possible values of the
random variable, each weighted by its
probability, that is,
µ = E[X] = xp( x )
x
Examples
1. Let X be the number of heads obtained
in tossing two coins. Find the expected
number of heads.
1. E(c) = c
* The expected value of a constant (c) is just the
value of the constant.
2. E(X + c) = E(X) + c
• * The expected value of a random variable plus a
constant is the expected value of the random
variable plus the constant
3. E(cX) = cE(X)
• The expected value of a constant times a random
variable is the constant times the expected value
of the random variable.
7.51
Laws of Expected Value…”Useful to know”
7.52
Laws of Variance…
1. V(c) = 0
• The variance of a constant (c) is zero.
2. V(X + c) = V(X)
• The variance of a random variable and a constant
is just the variance of the random variable.
3. V(cX) = c2V(X)
• The variance of a random variable and a constant
coefficient is the coefficient squared times the
variance of the random variable.
7.53
Real Life Application:
DEAL or NO DEAL: If you were
the banker, how much will you
offer?
1 7
2 9
5 10