SlideShare a Scribd company logo
1 of 25
STATISTICS AND
PROBABILITY
A B C D E F G H I J K
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
At the end of this lesson, the learner should be able to:
β€’ correctly construct a probability mass function of a given discrete
random variable;
β€’ accurately graph values and probabilities of a discrete random variable
in a histogram; and
β€’ accurately illustrate discrete random variables in real-life situations.
Objectives – Unit 2 Lesson 1: Probability Mass Function of a
Discrete Random Variable
What is Probability Mass
Function Discrete Random
Variable?
Properties of Probability Mass Function of a Discrete Random Variable
1. 𝑓(π‘₯) = 𝑃(𝑋 = π‘₯)
2. 0 ≀ 𝑓(π‘₯) ≀ 1
3. The sum of the probabilities, 𝑓 π‘₯𝑖 , is equal to 1.
Probability Mass Function of a Discrete Random
Variable
PMF – is a function which describes the probability associated with the random
variable 𝑋. This function is named 𝑃 𝑋 π‘œπ‘Ÿπ‘ƒ 𝑋 = π‘₯ to avoid confusion. 𝑃 𝑋 =
π‘₯ corresponds to the probability that the random variable 𝑋 take the value π‘₯.
Example 1: A coin is flipped three times. Let 𝑋 represent the number of tails that
appear in flipping a coin.
Probability Mass Function of a Discrete Random Variable
C
O
I
N
Head
Head Head
Tale
Tale Head
Tale
Tale
Head Head
Tale
Tale Head
Tale
HHH 0
HHT 1
HTH 1
HTT 2
THH 1
THT 2
TTH 2
TTT 3
X = 0, 1, 2, 3
𝑋 0 1 2 3
𝑃(𝑋 = π‘₯) 1
8
3
8
3
8
1
8
Example 1.1: A coin is flipped three times. Let 𝑋 represent the number of tails that
appear in flipping a coin. Create a table to represent the probability mass
function of this event.
Probability Mass Function of a Discrete Random Variable
HHH 0
HHT 1
HTH 1
HTT 2
THH 1
THT 2
TTH 2
TTT 3
𝑋 0 1 2 3
𝑃(𝑋 = π‘₯) 1
8
3
8
3
8
1
8
Example 1.2: A coin is flipped three times. Let 𝑋 represent the number of tails that
appear in flipping a coin. Find the probability mass function of
𝑋.
Probability Mass Function of a Discrete Random Variable
Therefore, 𝑃 𝑋 = 0 =
1
8
, 𝑃 𝑋 = 1 =
3
8
, 𝑃 𝑋 = 2 =
3
8
and 𝑃 𝑋 = 3 =
1
8
.
Example 2: A coin and a die are thrown once, at the same time given that for the
coin the head is represented by number 1 while the tail is represented by
number 2. If R is the random variable that represents the sum of the
results, what are the possible values of R?
Probability Mass Function of a Discrete Random Variable
1 1
1 2
1 3
1 4
1 5
1 6
2
3
4
5
6
7
2 1
2 2
2 3
2 4
2 5
2 6
3
4
5
6
7
8
R= 2, 3, 4, 5,
6, 7 & 8
Example 2.1: A coin and a die are thrown once, at the same time given that for the
coin the head is represented by number 1 while the tail is represented
by number 2. If R is the random variable that represents the sum of the
results, create a table to represent the probability mass function of this
event.
Probability Mass Function of a Discrete Random Variable
1 1
1 2
1 3
1 4
1 5
1 6
2
3
4
5
6
7
2 1
2 2
2 3
2 4
2 5
2 6
3
4
5
6
7
8
R = 2, 3, 4, 5, 6, 7 & 8
𝑹 𝟐 πŸ‘ πŸ’ πŸ“ πŸ” πŸ• πŸ–
𝑷(𝑹 = 𝒓) 𝟏
𝟏𝟐
𝟐
𝟏𝟐
𝟐
𝟏𝟐
𝟐
𝟏𝟐
𝟐
𝟏𝟐
𝟐
𝟏𝟐
𝟏
𝟏𝟐
Example 2.2: A coin and a die are thrown once, at the same time given that for the
coin the head is represented by number 1 while the tail is represented
by number 2. If R is the random variable that represents the sum of the
results, find the probability mass function of R.
Probability Mass Function of a Discrete Random Variable
𝑹 𝟐 πŸ‘ πŸ’ πŸ“ πŸ” πŸ• πŸ–
𝑷(𝑹 = 𝒓) 𝟏
𝟏𝟐
𝟐
𝟏𝟐
𝟐
𝟏𝟐
𝟐
𝟏𝟐
𝟐
𝟏𝟐
𝟐
𝟏𝟐
𝟏
𝟏𝟐
Therefore, 𝑃 𝑅 = 2 =
1
12
, 𝑃 𝑅 = 3 =
2
12
, 𝑃 𝑅 = 4 =
2
12
, 𝑃 𝑅 = 5 =
2
12
,
𝑃 𝑅 = 6 =
2
12
, 𝑃 𝑅 = 7 =
2
12
and 𝑃 𝑅 = 8 =
1
12
.
What is Histogram?
The possible values of the
discrete random variable are
on the horizontal axis while
its probabilities are on the
vertical axis. The total area
under a histogram is 1.
HISTOGRAM - a graph of a probability mass function. This is a graph that
displays the data by using vertical bars of various heights to
represent the probability of a certain random variable.
X
P(X)
𝑋 0 1 2 3
𝑃(𝑋 = π‘₯) 1
8
3
8
3
8
1
8
Example 3: A coin is flipped three times. Let 𝑋 represent the number of tails that
appear in flipping a coin. Find the probability mass function using
histogram.
Probability Mass Function of a Discrete Random Variable
Example 4: A coin and a die are thrown once, at the same time given that for the
coin the head is represented by number 1 while the tail is represented by
number 2. If R is the random variable that represents the sum of the
results, Find the probability mass function using histogram.
Probability Mass Function of a Discrete Random Variable
𝑹 𝟐 πŸ‘ πŸ’ πŸ“ πŸ” πŸ• πŸ–
𝑷(𝑹 = 𝒓) 𝟏
𝟏𝟐
𝟐
𝟏𝟐
𝟐
𝟏𝟐
𝟐
𝟏𝟐
𝟐
𝟏𝟐
𝟐
𝟏𝟐
𝟏
𝟏𝟐
0
0.02
0.04
0.06
0.08
0.1
0.12
0.14
0.16
0.18
2 3 4 5 6 7 8
R
Example 5: Two coins are tossed. Let 𝑆 be the number of heads that occur. Construct the
probability distribution for the random variable 𝑆 and its corresponding histogram.
HH 2
HT 1
TH 1
TT 0
S = 0, 1, 2
C
O
I
N
Head
Head
Tale
Tale
Head
Tale 𝑺 𝟎 𝟏 𝟐
𝑷(𝑺 = 𝒔) 𝟏
πŸ’
𝟐
πŸ’
𝟏
πŸ’
𝑆 0 1 2
𝑃(𝑆 = 𝑠) 1
4
2
4
1
4
P(S)
S
Example 6: A certain university has a lab with six computers reserved for students specializing in a
certain subject. Assume that X represents the number of these computers that are in use at a
particular time of a day. The probability distribution of X is given below. Find the probability that at
least 3 computers are in use at a particular time of the day.
𝑋 0 1 2 3 4 5 6
𝑃(𝑋 = π‘₯) 0.10 0.10 0.15 0.25 0.25 0.10 0.05
Solution:
𝑃 𝑋 β‰₯ 3 = 𝑃 𝑋 = 3 + 𝑃 𝑋 = 4 + 𝑃 𝑋 = 5 + 𝑃(𝑋 = 6)
𝑃 𝑋 β‰₯ 3 = 0.25 + 0.25 + 0.10 + 0.05
𝑷 𝑿 β‰₯ πŸ‘ = 𝟎. πŸ”πŸ“
Thus, there is 65% chance are at least 3
computers are in use if we visit it in a particular
time of day.
TRY IT!
Toss a pair of dice. Winnings are equal to the difference of the
numbers on the two dice. Let M denote the winnings after
playing the game once.
a) Find the possible values of M.
b) Find the probability mass function of M.
c) Construct its corresponding histogram.
1 1
1 2
1 3
1 4
1 5
1 6
4 1
4 2
4 3
4 4
4 5
4 6
2 1
2 2
2 3
2 4
2 5
2 6
5 1
5 2
5 3
5 4
5 5
5 6
3 1
3 2
3 3
3 4
3 5
3 6
6 1
6 2
6 3
6 4
6 5
6 6
Thus, the possible
values of M are
0, -1, -2, -3, -4, -5,
1, 2, 3, 4 & 5.
0
-1
-2
-3
-4
-5
3
2
1
0
-1
-2
1
0
-1
-2
-3
-4
4
3
2
1
0
-1
2
1
0
-1
-2
-3
5
4
3
2
1
0
Toss a pair of dice.
Winnings are equal to
the difference of the
numbers on the two
dice. Let M denote the
winnings after playing
the game once.
a) Find the possible
values of M.
Toss a pair of dice. Winnings are equal to the difference of the numbers on the
two dice. Let M denote the winnings after playing the game once.
b) Find the probability mass
function of M. Thus, the possible values of M are
0, -1, -2, -3, -4, -5, 1, 2, 3, 4 & 5.
-5 1
-4 2
-3 3
-2 4
2 4
3 3
4 2
5 1
𝑴 -5 -4 -3 -2 -1 0 1 2 3 4 5
𝑷(𝑴) 1/36 2/36 3/36 4/36 5/36 6/36 5/36 4/36 3/36 2/36 1/36
-1 5
0 6
1 5
𝑃 𝑀 = βˆ’4 =
2
36
𝑃 𝑀 = βˆ’5 =
1
36
𝑃 𝑀 = βˆ’2 =
4
36
𝑃 𝑀 = βˆ’3 =
3
36
𝑃 𝑀 = 0 =
6
36
𝑃 𝑀 = βˆ’1 =
5
36
𝑃 𝑀 = 2 =
4
36
𝑃 𝑀 = 1 =
5
36
𝑃 𝑀 = 3 =
3
36
𝑃 𝑀 = 5 =
1
36
𝑃 𝑀 = 4 =
2
36
A B C D E F G H I J K
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Check your To Do’s on your Quipper Account, answer the
assignment entitled Probability Mass Function of a Discrete
Random Variable.
Online Quiz:

More Related Content

Similar to Stats & Probability PMF

Unit 2 Probability
Unit 2 ProbabilityUnit 2 Probability
Unit 2 ProbabilityRai University
Β 
Chapter 1 random variables and probability distributions
Chapter 1   random variables and probability distributionsChapter 1   random variables and probability distributions
Chapter 1 random variables and probability distributionsAntonio F. Balatar Jr.
Β 
MATH11-SP-Q3-M1-pdf.pdf
MATH11-SP-Q3-M1-pdf.pdfMATH11-SP-Q3-M1-pdf.pdf
MATH11-SP-Q3-M1-pdf.pdfAbegailPanang2
Β 
Prob distribution.pptx
Prob distribution.pptxProb distribution.pptx
Prob distribution.pptxJHoyfulADVENTURE
Β 
Prob distribution.pptx
Prob distribution.pptxProb distribution.pptx
Prob distribution.pptxJHoyfulADVENTURE
Β 
2. Random Variables.pdf
2. Random Variables.pdf2. Random Variables.pdf
2. Random Variables.pdfSurajRajTripathy
Β 
2 Review of Statistics. 2 Review of Statistics.
2 Review of Statistics. 2 Review of Statistics.2 Review of Statistics. 2 Review of Statistics.
2 Review of Statistics. 2 Review of Statistics.WeihanKhor2
Β 
CHAPTER I- Part 1.pptx
CHAPTER I- Part 1.pptxCHAPTER I- Part 1.pptx
CHAPTER I- Part 1.pptxJaysonMagalong
Β 
Statistics and Probability-Random Variables and Probability Distribution
Statistics and Probability-Random Variables and Probability DistributionStatistics and Probability-Random Variables and Probability Distribution
Statistics and Probability-Random Variables and Probability DistributionApril Palmes
Β 
Random variables
Random variablesRandom variables
Random variablesMenglinLiu1
Β 
Statistik 1 5 distribusi probabilitas diskrit
Statistik 1 5 distribusi probabilitas diskritStatistik 1 5 distribusi probabilitas diskrit
Statistik 1 5 distribusi probabilitas diskritSelvin Hadi
Β 
Lecture Notes MTH302 Before MTT Myers.docx
Lecture Notes MTH302 Before MTT Myers.docxLecture Notes MTH302 Before MTT Myers.docx
Lecture Notes MTH302 Before MTT Myers.docxRaghavaReddy449756
Β 
AP Statistic and Probability 6.1 (1).ppt
AP Statistic and Probability 6.1 (1).pptAP Statistic and Probability 6.1 (1).ppt
AP Statistic and Probability 6.1 (1).pptAlfredNavea1
Β 
Probability and statistics - Discrete Random Variables and Probability Distri...
Probability and statistics - Discrete Random Variables and Probability Distri...Probability and statistics - Discrete Random Variables and Probability Distri...
Probability and statistics - Discrete Random Variables and Probability Distri...Asma CHERIF
Β 
Flip bifurcation and chaos control in discrete-time Prey-predator model
Flip bifurcation and chaos control in discrete-time Prey-predator model Flip bifurcation and chaos control in discrete-time Prey-predator model
Flip bifurcation and chaos control in discrete-time Prey-predator model irjes
Β 
Module 7 discrete probability distributions
Module 7 discrete probability distributionsModule 7 discrete probability distributions
Module 7 discrete probability distributionsMiniCabalquinto1
Β 
Random Variables G11
Random Variables G11Random Variables G11
Random Variables G11SeineGaming
Β 
Chapter-3-Sample-Space-of-Experiment.pdf
Chapter-3-Sample-Space-of-Experiment.pdfChapter-3-Sample-Space-of-Experiment.pdf
Chapter-3-Sample-Space-of-Experiment.pdfJuliusBoitizon
Β 
Section 8: Symmetric Groups
Section 8: Symmetric GroupsSection 8: Symmetric Groups
Section 8: Symmetric GroupsKevin Johnson
Β 

Similar to Stats & Probability PMF (20)

Unit 2 Probability
Unit 2 ProbabilityUnit 2 Probability
Unit 2 Probability
Β 
Chapter 1 random variables and probability distributions
Chapter 1   random variables and probability distributionsChapter 1   random variables and probability distributions
Chapter 1 random variables and probability distributions
Β 
MATH11-SP-Q3-M1-pdf.pdf
MATH11-SP-Q3-M1-pdf.pdfMATH11-SP-Q3-M1-pdf.pdf
MATH11-SP-Q3-M1-pdf.pdf
Β 
Prob distribution.pptx
Prob distribution.pptxProb distribution.pptx
Prob distribution.pptx
Β 
Prob distribution.pptx
Prob distribution.pptxProb distribution.pptx
Prob distribution.pptx
Β 
2. Random Variables.pdf
2. Random Variables.pdf2. Random Variables.pdf
2. Random Variables.pdf
Β 
2 Review of Statistics. 2 Review of Statistics.
2 Review of Statistics. 2 Review of Statistics.2 Review of Statistics. 2 Review of Statistics.
2 Review of Statistics. 2 Review of Statistics.
Β 
CHAPTER I- Part 1.pptx
CHAPTER I- Part 1.pptxCHAPTER I- Part 1.pptx
CHAPTER I- Part 1.pptx
Β 
Statistics and Probability-Random Variables and Probability Distribution
Statistics and Probability-Random Variables and Probability DistributionStatistics and Probability-Random Variables and Probability Distribution
Statistics and Probability-Random Variables and Probability Distribution
Β 
Stat.pptx
Stat.pptxStat.pptx
Stat.pptx
Β 
Random variables
Random variablesRandom variables
Random variables
Β 
Statistik 1 5 distribusi probabilitas diskrit
Statistik 1 5 distribusi probabilitas diskritStatistik 1 5 distribusi probabilitas diskrit
Statistik 1 5 distribusi probabilitas diskrit
Β 
Lecture Notes MTH302 Before MTT Myers.docx
Lecture Notes MTH302 Before MTT Myers.docxLecture Notes MTH302 Before MTT Myers.docx
Lecture Notes MTH302 Before MTT Myers.docx
Β 
AP Statistic and Probability 6.1 (1).ppt
AP Statistic and Probability 6.1 (1).pptAP Statistic and Probability 6.1 (1).ppt
AP Statistic and Probability 6.1 (1).ppt
Β 
Probability and statistics - Discrete Random Variables and Probability Distri...
Probability and statistics - Discrete Random Variables and Probability Distri...Probability and statistics - Discrete Random Variables and Probability Distri...
Probability and statistics - Discrete Random Variables and Probability Distri...
Β 
Flip bifurcation and chaos control in discrete-time Prey-predator model
Flip bifurcation and chaos control in discrete-time Prey-predator model Flip bifurcation and chaos control in discrete-time Prey-predator model
Flip bifurcation and chaos control in discrete-time Prey-predator model
Β 
Module 7 discrete probability distributions
Module 7 discrete probability distributionsModule 7 discrete probability distributions
Module 7 discrete probability distributions
Β 
Random Variables G11
Random Variables G11Random Variables G11
Random Variables G11
Β 
Chapter-3-Sample-Space-of-Experiment.pdf
Chapter-3-Sample-Space-of-Experiment.pdfChapter-3-Sample-Space-of-Experiment.pdf
Chapter-3-Sample-Space-of-Experiment.pdf
Β 
Section 8: Symmetric Groups
Section 8: Symmetric GroupsSection 8: Symmetric Groups
Section 8: Symmetric Groups
Β 

Recently uploaded

Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
Β 
18-04-UA_REPORT_MEDIALITERAΠ‘Y_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAΠ‘Y_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAΠ‘Y_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAΠ‘Y_INDEX-DM_23-1-final-eng.pdfssuser54595a
Β 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxAvyJaneVismanos
Β 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
Β 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxJiesonDelaCerna
Β 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
Β 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
Β 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
Β 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
Β 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
Β 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
Β 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
Β 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerunnathinaik
Β 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
Β 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
Β 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
Β 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)β€”β€”β€”β€”IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)β€”β€”β€”β€”IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)β€”β€”β€”β€”IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)β€”β€”β€”β€”IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
Β 

Recently uploaded (20)

TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
Β 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
Β 
18-04-UA_REPORT_MEDIALITERAΠ‘Y_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAΠ‘Y_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAΠ‘Y_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAΠ‘Y_INDEX-DM_23-1-final-eng.pdf
Β 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptx
Β 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
Β 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptx
Β 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Β 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
Β 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
Β 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Β 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
Β 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Β 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
Β 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developer
Β 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
Β 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
Β 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
Β 
Model Call Girl in Bikash Puri Delhi reach out to us at πŸ”9953056974πŸ”
Model Call Girl in Bikash Puri  Delhi reach out to us at πŸ”9953056974πŸ”Model Call Girl in Bikash Puri  Delhi reach out to us at πŸ”9953056974πŸ”
Model Call Girl in Bikash Puri Delhi reach out to us at πŸ”9953056974πŸ”
Β 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
Β 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)β€”β€”β€”β€”IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)β€”β€”β€”β€”IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)β€”β€”β€”β€”IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)β€”β€”β€”β€”IMP.OF KSHARA ...
Β 

Stats & Probability PMF

  • 2. A B C D E F G H I J K 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 At the end of this lesson, the learner should be able to: β€’ correctly construct a probability mass function of a given discrete random variable; β€’ accurately graph values and probabilities of a discrete random variable in a histogram; and β€’ accurately illustrate discrete random variables in real-life situations. Objectives – Unit 2 Lesson 1: Probability Mass Function of a Discrete Random Variable
  • 3. What is Probability Mass Function Discrete Random Variable?
  • 4. Properties of Probability Mass Function of a Discrete Random Variable 1. 𝑓(π‘₯) = 𝑃(𝑋 = π‘₯) 2. 0 ≀ 𝑓(π‘₯) ≀ 1 3. The sum of the probabilities, 𝑓 π‘₯𝑖 , is equal to 1. Probability Mass Function of a Discrete Random Variable PMF – is a function which describes the probability associated with the random variable 𝑋. This function is named 𝑃 𝑋 π‘œπ‘Ÿπ‘ƒ 𝑋 = π‘₯ to avoid confusion. 𝑃 𝑋 = π‘₯ corresponds to the probability that the random variable 𝑋 take the value π‘₯.
  • 5. Example 1: A coin is flipped three times. Let 𝑋 represent the number of tails that appear in flipping a coin. Probability Mass Function of a Discrete Random Variable C O I N Head Head Head Tale Tale Head Tale Tale Head Head Tale Tale Head Tale HHH 0 HHT 1 HTH 1 HTT 2 THH 1 THT 2 TTH 2 TTT 3 X = 0, 1, 2, 3
  • 6. 𝑋 0 1 2 3 𝑃(𝑋 = π‘₯) 1 8 3 8 3 8 1 8 Example 1.1: A coin is flipped three times. Let 𝑋 represent the number of tails that appear in flipping a coin. Create a table to represent the probability mass function of this event. Probability Mass Function of a Discrete Random Variable HHH 0 HHT 1 HTH 1 HTT 2 THH 1 THT 2 TTH 2 TTT 3
  • 7. 𝑋 0 1 2 3 𝑃(𝑋 = π‘₯) 1 8 3 8 3 8 1 8 Example 1.2: A coin is flipped three times. Let 𝑋 represent the number of tails that appear in flipping a coin. Find the probability mass function of 𝑋. Probability Mass Function of a Discrete Random Variable Therefore, 𝑃 𝑋 = 0 = 1 8 , 𝑃 𝑋 = 1 = 3 8 , 𝑃 𝑋 = 2 = 3 8 and 𝑃 𝑋 = 3 = 1 8 .
  • 8. Example 2: A coin and a die are thrown once, at the same time given that for the coin the head is represented by number 1 while the tail is represented by number 2. If R is the random variable that represents the sum of the results, what are the possible values of R? Probability Mass Function of a Discrete Random Variable 1 1 1 2 1 3 1 4 1 5 1 6 2 3 4 5 6 7 2 1 2 2 2 3 2 4 2 5 2 6 3 4 5 6 7 8 R= 2, 3, 4, 5, 6, 7 & 8
  • 9. Example 2.1: A coin and a die are thrown once, at the same time given that for the coin the head is represented by number 1 while the tail is represented by number 2. If R is the random variable that represents the sum of the results, create a table to represent the probability mass function of this event. Probability Mass Function of a Discrete Random Variable 1 1 1 2 1 3 1 4 1 5 1 6 2 3 4 5 6 7 2 1 2 2 2 3 2 4 2 5 2 6 3 4 5 6 7 8 R = 2, 3, 4, 5, 6, 7 & 8 𝑹 𝟐 πŸ‘ πŸ’ πŸ“ πŸ” πŸ• πŸ– 𝑷(𝑹 = 𝒓) 𝟏 𝟏𝟐 𝟐 𝟏𝟐 𝟐 𝟏𝟐 𝟐 𝟏𝟐 𝟐 𝟏𝟐 𝟐 𝟏𝟐 𝟏 𝟏𝟐
  • 10. Example 2.2: A coin and a die are thrown once, at the same time given that for the coin the head is represented by number 1 while the tail is represented by number 2. If R is the random variable that represents the sum of the results, find the probability mass function of R. Probability Mass Function of a Discrete Random Variable 𝑹 𝟐 πŸ‘ πŸ’ πŸ“ πŸ” πŸ• πŸ– 𝑷(𝑹 = 𝒓) 𝟏 𝟏𝟐 𝟐 𝟏𝟐 𝟐 𝟏𝟐 𝟐 𝟏𝟐 𝟐 𝟏𝟐 𝟐 𝟏𝟐 𝟏 𝟏𝟐 Therefore, 𝑃 𝑅 = 2 = 1 12 , 𝑃 𝑅 = 3 = 2 12 , 𝑃 𝑅 = 4 = 2 12 , 𝑃 𝑅 = 5 = 2 12 , 𝑃 𝑅 = 6 = 2 12 , 𝑃 𝑅 = 7 = 2 12 and 𝑃 𝑅 = 8 = 1 12 .
  • 12. The possible values of the discrete random variable are on the horizontal axis while its probabilities are on the vertical axis. The total area under a histogram is 1. HISTOGRAM - a graph of a probability mass function. This is a graph that displays the data by using vertical bars of various heights to represent the probability of a certain random variable. X P(X)
  • 13. 𝑋 0 1 2 3 𝑃(𝑋 = π‘₯) 1 8 3 8 3 8 1 8 Example 3: A coin is flipped three times. Let 𝑋 represent the number of tails that appear in flipping a coin. Find the probability mass function using histogram. Probability Mass Function of a Discrete Random Variable
  • 14. Example 4: A coin and a die are thrown once, at the same time given that for the coin the head is represented by number 1 while the tail is represented by number 2. If R is the random variable that represents the sum of the results, Find the probability mass function using histogram. Probability Mass Function of a Discrete Random Variable 𝑹 𝟐 πŸ‘ πŸ’ πŸ“ πŸ” πŸ• πŸ– 𝑷(𝑹 = 𝒓) 𝟏 𝟏𝟐 𝟐 𝟏𝟐 𝟐 𝟏𝟐 𝟐 𝟏𝟐 𝟐 𝟏𝟐 𝟐 𝟏𝟐 𝟏 𝟏𝟐 0 0.02 0.04 0.06 0.08 0.1 0.12 0.14 0.16 0.18 2 3 4 5 6 7 8 R
  • 15. Example 5: Two coins are tossed. Let 𝑆 be the number of heads that occur. Construct the probability distribution for the random variable 𝑆 and its corresponding histogram. HH 2 HT 1 TH 1 TT 0 S = 0, 1, 2 C O I N Head Head Tale Tale Head Tale 𝑺 𝟎 𝟏 𝟐 𝑷(𝑺 = 𝒔) 𝟏 πŸ’ 𝟐 πŸ’ 𝟏 πŸ’
  • 16. 𝑆 0 1 2 𝑃(𝑆 = 𝑠) 1 4 2 4 1 4 P(S) S
  • 17. Example 6: A certain university has a lab with six computers reserved for students specializing in a certain subject. Assume that X represents the number of these computers that are in use at a particular time of a day. The probability distribution of X is given below. Find the probability that at least 3 computers are in use at a particular time of the day. 𝑋 0 1 2 3 4 5 6 𝑃(𝑋 = π‘₯) 0.10 0.10 0.15 0.25 0.25 0.10 0.05 Solution: 𝑃 𝑋 β‰₯ 3 = 𝑃 𝑋 = 3 + 𝑃 𝑋 = 4 + 𝑃 𝑋 = 5 + 𝑃(𝑋 = 6) 𝑃 𝑋 β‰₯ 3 = 0.25 + 0.25 + 0.10 + 0.05 𝑷 𝑿 β‰₯ πŸ‘ = 𝟎. πŸ”πŸ“ Thus, there is 65% chance are at least 3 computers are in use if we visit it in a particular time of day.
  • 18.
  • 19.
  • 20.
  • 21. TRY IT! Toss a pair of dice. Winnings are equal to the difference of the numbers on the two dice. Let M denote the winnings after playing the game once. a) Find the possible values of M. b) Find the probability mass function of M. c) Construct its corresponding histogram.
  • 22. 1 1 1 2 1 3 1 4 1 5 1 6 4 1 4 2 4 3 4 4 4 5 4 6 2 1 2 2 2 3 2 4 2 5 2 6 5 1 5 2 5 3 5 4 5 5 5 6 3 1 3 2 3 3 3 4 3 5 3 6 6 1 6 2 6 3 6 4 6 5 6 6 Thus, the possible values of M are 0, -1, -2, -3, -4, -5, 1, 2, 3, 4 & 5. 0 -1 -2 -3 -4 -5 3 2 1 0 -1 -2 1 0 -1 -2 -3 -4 4 3 2 1 0 -1 2 1 0 -1 -2 -3 5 4 3 2 1 0 Toss a pair of dice. Winnings are equal to the difference of the numbers on the two dice. Let M denote the winnings after playing the game once. a) Find the possible values of M.
  • 23. Toss a pair of dice. Winnings are equal to the difference of the numbers on the two dice. Let M denote the winnings after playing the game once. b) Find the probability mass function of M. Thus, the possible values of M are 0, -1, -2, -3, -4, -5, 1, 2, 3, 4 & 5. -5 1 -4 2 -3 3 -2 4 2 4 3 3 4 2 5 1 𝑴 -5 -4 -3 -2 -1 0 1 2 3 4 5 𝑷(𝑴) 1/36 2/36 3/36 4/36 5/36 6/36 5/36 4/36 3/36 2/36 1/36 -1 5 0 6 1 5
  • 24. 𝑃 𝑀 = βˆ’4 = 2 36 𝑃 𝑀 = βˆ’5 = 1 36 𝑃 𝑀 = βˆ’2 = 4 36 𝑃 𝑀 = βˆ’3 = 3 36 𝑃 𝑀 = 0 = 6 36 𝑃 𝑀 = βˆ’1 = 5 36 𝑃 𝑀 = 2 = 4 36 𝑃 𝑀 = 1 = 5 36 𝑃 𝑀 = 3 = 3 36 𝑃 𝑀 = 5 = 1 36 𝑃 𝑀 = 4 = 2 36
  • 25. A B C D E F G H I J K 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 Check your To Do’s on your Quipper Account, answer the assignment entitled Probability Mass Function of a Discrete Random Variable. Online Quiz: