Professional Documents
Culture Documents
Welcome To Statistics and Probability Subject!: Let H Head and T Tails: HH, HT, TH, TT
Welcome To Statistics and Probability Subject!: Let H Head and T Tails: HH, HT, TH, TT
Topic: Computing the Mean, Variance & Standard Deviation of Random Variables
Lecture/Examples
Identify the probability of the following events.
• Two tails after tossing a coin twice:
Let H = Head and T = Tails: HH, HT, TH, TT
Probability: ¼ or 25%
• Rolling a 3 and drawing a king from a standard deck of cards
Probability: (1/6)(4/52) = 1/78 or 1.28%
• Drawing a heart card
2, 3, 4, 5, 6, 7, 8, 9, 10, Jack, Queen, King, Ace
Probability : 13/52 = ¼ or 25%
Definition: A random variable is a function that associates a real number to each element in
the sample space. It is a variable whose values are determined by chance.
Definition: A random variable is a discrete random variable if its set of possible outcomes is
countable. It is represented by count data. A random variable is a continuous random variable
if it takes on values on a continuous scale. It is represented by measured data like height,
weight, temperature. It is not defined at specific values but by an interval of values.
Discrete - discrete variables can take on only certain values and it must not be a fraction, must be
a whole number, it must be random process (there is a limit)
Example: defective chairs produced in a factory
Continuous - can take on any value within a range of values, it is also determined by a chance
event (there is no limit)
Example:
1. The number of voters favoring a candidate
★ discrete
2. The average amount of electricity consumed per household per month
★ continuous
3. The weight of new-borns each year in a hospital
★ continuous
4. The speed of a bus
★ continuous
The sum of the probabilities of all values of the random variable must be equal to 1. In symbols,
we write it as ΣP(X)=1.
Determine whether the distribution represents a probability distribution. Say YES if the
data represents a probability. Otherwise, Say NO.
1.
X 1 2 3 4 5
YES
2.
X 0 2 4 6 8
NO
3.
NO
4.
YES
STEP 2: Count the number of heads in each outcome in the sample space and assign this number
to this outcome.
Possible Outcomes Value of the Random Variable Y (no. of Heads)
TT 0
TH 1
HT 1
HH 2
STEP 3: Identify the probability of each value of the variable Y and create a Histogram to
represent the data.
0 1/4
1 2/4 or 1/2
2 1/4
Note: ΣP(X)=1.
Definition:
( ) ( ) ( ) ( )
μ = 𝑋1∙𝑃 𝑋1 + 𝑃 𝑋2 + 𝑃 𝑋3 + … + 𝑋𝑛∙𝑃 𝑋𝑛 = ∑ 𝑋∙𝑃(𝑋)
Where 𝑋1, 𝑋2, 𝑋3,…, 𝑋𝑛 are the values of the random variable X; and
( ) ( ) ( ) ( )
𝑃 𝑋1 , 𝑃 𝑋2 , 𝑃 𝑋3 ,… 𝑃 𝑋𝑛 are the corresponding probabilities.
Mean= 1
2 2
σ = ∑ (𝑥 − μ) ∙𝑃(𝑥)
EXAMPLE 2:
Suppose that three coins are tossed at the same time. Let X be the random variable representing
the number of tails that occur. Find the values of the random variable X.
STEP 2: Count the number of tails in each outcome in the sample space and assign this
number to this outcome.
Possible Outcomes Value of the Random
Variable X
(number of tails)
TTT 3
TTH 2
THT 2
THH 1
HTT 2
HTH 1
HHT 1
HHH 0
STEP 3: Identify the probability of each value of the variable X and create a Histogram to
represent the data.
Variance:
σ2 = ∑(𝑋 − µ)2•𝑃(𝑋) = 0. 28125 + 0. 09375 + 0. 09375 + 0. 28125 ≈ 0. 75
Baccay, E., Belecina, R., & Mateo, E. (2016). Statistics and Probability. Sampaloc, Manila, Philippines: Rex
Book Store, Inc.
Laerd Statistics. (2013). Histograms. Retrieved October 25, 2016 from
https://statistics.laerd.com/statistical-guides/understanding-histograms.php.
Random Variable. Retrieved October 25, 2016 from
https://owl.english.purdue.edu/owl/resource/560/10/.