SlideShare a Scribd company logo
1 of 18
Probability and Probability
Distributions
Elementary Statistics and Probability
Raffy P. Barotilla
Conditional Probability
Suppose you want to figure out if you should buy a new car.
When you first go and look, you find two cars that you like the
most. In your mind they are equal, and so each has a 50% chance
that you will pick it. Then you start to look at the reviews of the
cars and realize that the first car has had 40% of them needing to
be repaired in the first year, while the second car only has 10% of
the cars needing to be repaired in the first year. You could use this
information to help you decide which car you want to actually
purchase. Both cars no longer have a 50% chance of being the
car you choose.
Conditional probabilities are probabilities calculated after
information is given. This is where you want to find the probability
of event A happening after you know that event B has happened.
If you know that B has happened, then you don’t need to
consider the rest of the sample space. You only need the
outcomes that make up event B. Event B becomes the new
sample space, which is called the restricted sample space, R. If
you always write a restricted sample space when doing
conditional probabilities and use this as your sample space, you
will have no trouble with conditional probabilities.
The notation for conditional probabilities is P(A,
given B) = P(A|B). The event following the vertical line
is always the restricted sample space.
Example: Conditional Probability
a.) Suppose you roll two dice. What is the probability of getting a sum of 5,
given that the first die is a 2?
Solution:
Since you know that the first die is a 2, then this is your restricted
sample space, so R = {(2,1), (2,2), (2,3), (2,4), (2,5), (2,6)}
Out of this restricted sample space, the way to get a sum of 5 is
{(2,3)}.
Thus,
P(sum of 5 the first die is a 2) = 1/6
b.) Suppose you roll two dice. What is the probability of getting a
sum of 7, given the first die is a 4?
c.) Suppose you roll two dice. What is the probability of getting the
second die a 2, given the sum is a 9?
d.) Suppose you pick a card from a deck. What is the probability of
getting a Spade, given that the card is a Jack?
e.) Suppose you pick a card from a deck. What is the probability of
getting an Ace, given the card is a Queen?
If you look at the results of example d and example b, you
will notice that you get the same answer. This means that
knowing that the first die is a 4 did not change the probability that
the sum is a 7. This added knowledge did not help you in any
way. It is as if that information was not given at all. However, if
you compare example b and example a, you will notice that they
are not the same answer. In this case, knowing that the first die is
a 2 did change the probability of getting a sum of 5. In the first
case, the events sum of 7 and first die is a 4 are called
independent events. In the second case, the events sum of 5
and first die is a 2 are called dependent events.
Events A and B are considered independent events if the
fact that one event happens does not change the probability of
the other event happening. In other words, events A and B are
independent if the fact that B has happened does not affect the
probability of event A happening and the fact that A has
happened does not affect the probability of event B happening.
Otherwise, the two events are dependent.
In symbols, A and B are independent if
P(A|B) = P(A) or P(B|A) = P(B)
Example: Independent Events
a.) Suppose you roll two dice. Are the events “sum of 7” and “first die is a 3”
independent?
Solution
To determine if they are independent, you need to see if P(A|B) = P(A)
Let A = sum of 7 = {(1,6), (2,5), (3,4), (4,3), (5,2), (6,1)} and B = first die is a
3 = {(3,1), (3,2), (3,3), (3,4), (3,5), (3,6)} means that you assume that B has
happened. The restricted sample space is B,
R = {(3,1), (3,2), (3,3), (3,4), (3,5), (3,6)}
In this restricted sample space, the way for A to happen is {(3,4)}, so
P(A|B)= 1/6
P(A)= 6/36 = 1/6
P(A|B)= P(A), Thus “sum of 7” and “first die is a 3” are independent events.
b.) Suppose you roll two dice. Are the events “sum of 6” and “first die is a 4”
independent?
c.) Suppose you pick a card from a deck. Are the events “Jack” and “Spade”
independent?
d.) Suppose you pick a card from a deck. Are the events “Heart” and “Red”
card independent?
e.) Suppose you have two children via separate births. Are the events “the
first is a boy” and “the second is a girl” independent?
f.) Suppose you flip a fair coin 50 times and get a head every time, what is
the probability of getting a head on the next flip?
Multiplication Rule:
Two more useful formulas:
• If two events are dependent, then P(A and B) = P(A)* P(B| A)
• If two events are independent, then P(A and B) = P(A)* P(B)
Example: Multiplication Rule
a.) Suppose you pick three cards from a deck, what is the probability that
they are all Queens if the cards are not replaced after they are picked?
Solution:
This sample space is too large to write out, so using the multiplication rule
makes sense. Since the cards are
not replaced, then the probability will change for the second and third
cards. They are dependent events. This means that on the second draw
there is one less Queen and one less card, and on the third draw there are
two less Queens and 2 less cards.
P(3 Queens) = P(Q on 1st and Q on 2nd and Q on 3rd)
= P(Q on 1st)* P (Q on 2nd Q on 1st)* P (Q on 3rd|1st and 2nd Q)
=4/52 * 3/51 * 2/50
=24/132600
b.) Suppose you pick three cards from a deck, what is the
probability that they are all Queens if the cards are replaced after
they are picked and before the next card is picked?
Number of Leprosy Cases
WHO Region
World Bank Income Group
Row
Total
High
Income
Upper
Middle
Income
Lower
Middle
Income
Low
Income
Americas 174 36028 615 0 36817
Eastern
Mediterranean
54 6 1883 604 2547
Europe 10 0 0 0 10
Western
Pacific
26 216 3689 1155 5086
Africa 0 39 1986 15928 17953
South-East
Asia
0 0 149896 10236 160132
Column Total 264 36289 158069 27923 222545
a.) Find the probability that a person with leprosy
is from the Americas.
b.) Find the probability that a person with leprosy
is from a high-income country.
c.) Find the probability that a person with leprosy
is from the Americas and a high-income
country.
d.) Find the probability that a person with leprosy
is from a high-income country, given they
are from the Americas.
e.) Find the probability that a person with leprosy
is from a low-income country.
f.) Find the probability that a person with
leprosy is from Africa.
g.) Find the probability that a person with
leprosy is from Africa and a low- income
country.
h.) Find the probability that a person with
leprosy is from Africa, given they are
from a low-income country.
i.) Are the events that a person with leprosy
is from “Africa” and “low-income
country” independent events? Why
or why not?
j.) Are the events that a person with leprosy
is from “Americas” and “high-income
country” independent events? Why
or why not?
Number of Leprosy Cases
WHO Region
World Bank Income Group
Row
Total
High
Income
Upper
Middle
Income
Lower
Middle
Income
Low
Income
Americas 174 36028 615 0 36817
Eastern
Mediterranean
54 6 1883 604 2547
Europe 10 0 0 0 10
Western
Pacific
26 216 3689 1155 5086
Africa 0 39 1986 15928 17953
South-East
Asia
0 0 149896 10236 160132
Column Total 264 36289 158069 27923 222545
THANK YOU!!
Assessment: Answer the following problems completely.
1.) The number of people who survived the Titanic based on class and
gender is in table below. Suppose a person is picked at random from
the survivors.
Table 1: Surviving the Titanic
Class
Gender
Total
Female Male
1st 134 59 193
2nd 94 25 119
3rd 80 58 138
Total 308 142 450
a.) What is the probability that a survivor was female?
b.) What is the probability that a survivor was in the 1st class?
c.) What is the probability that a survivor was a female given that the
person was in 1st class?
d.) What is the probability that a survivor was a female and in the 1st
class?
e.) What is the probability that a survivor was a female or in the 1st class?
f.) Are the events survivor is a female and survivor is in 1st class mutually
exclusive? Why or why not?
g.) Are the events survivor is a female and survivor is in 1st class
independent? Why or why not?

More Related Content

Similar to Probability and Probability Distribution.pptx

PPT - Independent and Dependent.pptx
PPT - Independent and Dependent.pptxPPT - Independent and Dependent.pptx
PPT - Independent and Dependent.pptxJoyceNolos
 
Probability and Conditional.pdf
Probability and Conditional.pdfProbability and Conditional.pdf
Probability and Conditional.pdfPyaePhyoKoKo2
 
Lecture_5Conditional_Probability_Bayes_T.pptx
Lecture_5Conditional_Probability_Bayes_T.pptxLecture_5Conditional_Probability_Bayes_T.pptx
Lecture_5Conditional_Probability_Bayes_T.pptxAbebe334138
 
11.5 Independent and Dependent Events
11.5 Independent and Dependent Events11.5 Independent and Dependent Events
11.5 Independent and Dependent Eventssmiller5
 
Conditional-Probability-Powerpoint.pptx
Conditional-Probability-Powerpoint.pptxConditional-Probability-Powerpoint.pptx
Conditional-Probability-Powerpoint.pptxVilDom
 
THE ADDITION RULES FOR PROBABILITY.pptx
THE ADDITION RULES FOR PROBABILITY.pptxTHE ADDITION RULES FOR PROBABILITY.pptx
THE ADDITION RULES FOR PROBABILITY.pptxvictormiralles2
 
Pure ch20
Pure ch20Pure ch20
Pure ch20arbi
 
Day 3 - Independent and Dependent Events.ppt
Day 3 - Independent and Dependent Events.pptDay 3 - Independent and Dependent Events.ppt
Day 3 - Independent and Dependent Events.pptJoyceNolos
 
Chapter 4 260110 044531
Chapter 4 260110 044531Chapter 4 260110 044531
Chapter 4 260110 044531guest25d353
 
The probability life saver...
The probability life saver...The probability life saver...
The probability life saver...YogitaKolekar1
 
Probabilities-Worksheets-Pack.pdf
Probabilities-Worksheets-Pack.pdfProbabilities-Worksheets-Pack.pdf
Probabilities-Worksheets-Pack.pdfJasmin679773
 
What are the chances? - Probability
What are the chances? - ProbabilityWhat are the chances? - Probability
What are the chances? - Probabilitymscartersmaths
 

Similar to Probability and Probability Distribution.pptx (20)

PPT - Independent and Dependent.pptx
PPT - Independent and Dependent.pptxPPT - Independent and Dependent.pptx
PPT - Independent and Dependent.pptx
 
Probability
ProbabilityProbability
Probability
 
Probability and Conditional.pdf
Probability and Conditional.pdfProbability and Conditional.pdf
Probability and Conditional.pdf
 
Lecture_5Conditional_Probability_Bayes_T.pptx
Lecture_5Conditional_Probability_Bayes_T.pptxLecture_5Conditional_Probability_Bayes_T.pptx
Lecture_5Conditional_Probability_Bayes_T.pptx
 
lfstat3e_ppt_03_rev.ppt
lfstat3e_ppt_03_rev.pptlfstat3e_ppt_03_rev.ppt
lfstat3e_ppt_03_rev.ppt
 
11.5 Independent and Dependent Events
11.5 Independent and Dependent Events11.5 Independent and Dependent Events
11.5 Independent and Dependent Events
 
603-probability mj.pptx
603-probability mj.pptx603-probability mj.pptx
603-probability mj.pptx
 
Conditional-Probability-Powerpoint.pptx
Conditional-Probability-Powerpoint.pptxConditional-Probability-Powerpoint.pptx
Conditional-Probability-Powerpoint.pptx
 
probability
probabilityprobability
probability
 
THE ADDITION RULES FOR PROBABILITY.pptx
THE ADDITION RULES FOR PROBABILITY.pptxTHE ADDITION RULES FOR PROBABILITY.pptx
THE ADDITION RULES FOR PROBABILITY.pptx
 
Pure ch20
Pure ch20Pure ch20
Pure ch20
 
Day 3 - Independent and Dependent Events.ppt
Day 3 - Independent and Dependent Events.pptDay 3 - Independent and Dependent Events.ppt
Day 3 - Independent and Dependent Events.ppt
 
Probability and Statistics - Week 1
Probability and Statistics - Week 1Probability and Statistics - Week 1
Probability and Statistics - Week 1
 
Mathematical Statistics Assignment Help
Mathematical Statistics Assignment HelpMathematical Statistics Assignment Help
Mathematical Statistics Assignment Help
 
Chapter 4 260110 044531
Chapter 4 260110 044531Chapter 4 260110 044531
Chapter 4 260110 044531
 
The probability life saver...
The probability life saver...The probability life saver...
The probability life saver...
 
Unit 1-probability
Unit 1-probabilityUnit 1-probability
Unit 1-probability
 
Probabilities-Worksheets-Pack.pdf
Probabilities-Worksheets-Pack.pdfProbabilities-Worksheets-Pack.pdf
Probabilities-Worksheets-Pack.pdf
 
Mathematical Statistics Exam Help
Mathematical Statistics Exam HelpMathematical Statistics Exam Help
Mathematical Statistics Exam Help
 
What are the chances? - Probability
What are the chances? - ProbabilityWhat are the chances? - Probability
What are the chances? - Probability
 

Recently uploaded

一比一原版(曼大毕业证书)曼尼托巴大学毕业证成绩单留信学历认证一手价格
一比一原版(曼大毕业证书)曼尼托巴大学毕业证成绩单留信学历认证一手价格一比一原版(曼大毕业证书)曼尼托巴大学毕业证成绩单留信学历认证一手价格
一比一原版(曼大毕业证书)曼尼托巴大学毕业证成绩单留信学历认证一手价格q6pzkpark
 
Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...nirzagarg
 
Lecture_2_Deep_Learning_Overview-newone1
Lecture_2_Deep_Learning_Overview-newone1Lecture_2_Deep_Learning_Overview-newone1
Lecture_2_Deep_Learning_Overview-newone1ranjankumarbehera14
 
Jual Cytotec Asli Obat Aborsi No. 1 Paling Manjur
Jual Cytotec Asli Obat Aborsi No. 1 Paling ManjurJual Cytotec Asli Obat Aborsi No. 1 Paling Manjur
Jual Cytotec Asli Obat Aborsi No. 1 Paling Manjurptikerjasaptiker
 
怎样办理旧金山城市学院毕业证(CCSF毕业证书)成绩单学校原版复制
怎样办理旧金山城市学院毕业证(CCSF毕业证书)成绩单学校原版复制怎样办理旧金山城市学院毕业证(CCSF毕业证书)成绩单学校原版复制
怎样办理旧金山城市学院毕业证(CCSF毕业证书)成绩单学校原版复制vexqp
 
SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...
SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...
SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...Elaine Werffeli
 
Aspirational Block Program Block Syaldey District - Almora
Aspirational Block Program Block Syaldey District - AlmoraAspirational Block Program Block Syaldey District - Almora
Aspirational Block Program Block Syaldey District - AlmoraGovindSinghDasila
 
Ranking and Scoring Exercises for Research
Ranking and Scoring Exercises for ResearchRanking and Scoring Exercises for Research
Ranking and Scoring Exercises for ResearchRajesh Mondal
 
怎样办理纽约州立大学宾汉姆顿分校毕业证(SUNY-Bin毕业证书)成绩单学校原版复制
怎样办理纽约州立大学宾汉姆顿分校毕业证(SUNY-Bin毕业证书)成绩单学校原版复制怎样办理纽约州立大学宾汉姆顿分校毕业证(SUNY-Bin毕业证书)成绩单学校原版复制
怎样办理纽约州立大学宾汉姆顿分校毕业证(SUNY-Bin毕业证书)成绩单学校原版复制vexqp
 
DATA SUMMIT 24 Building Real-Time Pipelines With FLaNK
DATA SUMMIT 24  Building Real-Time Pipelines With FLaNKDATA SUMMIT 24  Building Real-Time Pipelines With FLaNK
DATA SUMMIT 24 Building Real-Time Pipelines With FLaNKTimothy Spann
 
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...gajnagarg
 
Harnessing the Power of GenAI for BI and Reporting.pptx
Harnessing the Power of GenAI for BI and Reporting.pptxHarnessing the Power of GenAI for BI and Reporting.pptx
Harnessing the Power of GenAI for BI and Reporting.pptxParas Gupta
 
7. Epi of Chronic respiratory diseases.ppt
7. Epi of Chronic respiratory diseases.ppt7. Epi of Chronic respiratory diseases.ppt
7. Epi of Chronic respiratory diseases.pptibrahimabdi22
 
+97470301568>>weed for sale in qatar ,weed for sale in dubai,weed for sale in...
+97470301568>>weed for sale in qatar ,weed for sale in dubai,weed for sale in...+97470301568>>weed for sale in qatar ,weed for sale in dubai,weed for sale in...
+97470301568>>weed for sale in qatar ,weed for sale in dubai,weed for sale in...Health
 
Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...nirzagarg
 
Top profile Call Girls In Begusarai [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In Begusarai [ 7014168258 ] Call Me For Genuine Models...Top profile Call Girls In Begusarai [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In Begusarai [ 7014168258 ] Call Me For Genuine Models...nirzagarg
 
怎样办理圣地亚哥州立大学毕业证(SDSU毕业证书)成绩单学校原版复制
怎样办理圣地亚哥州立大学毕业证(SDSU毕业证书)成绩单学校原版复制怎样办理圣地亚哥州立大学毕业证(SDSU毕业证书)成绩单学校原版复制
怎样办理圣地亚哥州立大学毕业证(SDSU毕业证书)成绩单学校原版复制vexqp
 
Capstone in Interprofessional Informatic // IMPACT OF COVID 19 ON EDUCATION
Capstone in Interprofessional Informatic  // IMPACT OF COVID 19 ON EDUCATIONCapstone in Interprofessional Informatic  // IMPACT OF COVID 19 ON EDUCATION
Capstone in Interprofessional Informatic // IMPACT OF COVID 19 ON EDUCATIONLakpaYanziSherpa
 
Predicting HDB Resale Prices - Conducting Linear Regression Analysis With Orange
Predicting HDB Resale Prices - Conducting Linear Regression Analysis With OrangePredicting HDB Resale Prices - Conducting Linear Regression Analysis With Orange
Predicting HDB Resale Prices - Conducting Linear Regression Analysis With OrangeThinkInnovation
 

Recently uploaded (20)

一比一原版(曼大毕业证书)曼尼托巴大学毕业证成绩单留信学历认证一手价格
一比一原版(曼大毕业证书)曼尼托巴大学毕业证成绩单留信学历认证一手价格一比一原版(曼大毕业证书)曼尼托巴大学毕业证成绩单留信学历认证一手价格
一比一原版(曼大毕业证书)曼尼托巴大学毕业证成绩单留信学历认证一手价格
 
Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...
 
Lecture_2_Deep_Learning_Overview-newone1
Lecture_2_Deep_Learning_Overview-newone1Lecture_2_Deep_Learning_Overview-newone1
Lecture_2_Deep_Learning_Overview-newone1
 
Jual Cytotec Asli Obat Aborsi No. 1 Paling Manjur
Jual Cytotec Asli Obat Aborsi No. 1 Paling ManjurJual Cytotec Asli Obat Aborsi No. 1 Paling Manjur
Jual Cytotec Asli Obat Aborsi No. 1 Paling Manjur
 
怎样办理旧金山城市学院毕业证(CCSF毕业证书)成绩单学校原版复制
怎样办理旧金山城市学院毕业证(CCSF毕业证书)成绩单学校原版复制怎样办理旧金山城市学院毕业证(CCSF毕业证书)成绩单学校原版复制
怎样办理旧金山城市学院毕业证(CCSF毕业证书)成绩单学校原版复制
 
SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...
SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...
SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...
 
Aspirational Block Program Block Syaldey District - Almora
Aspirational Block Program Block Syaldey District - AlmoraAspirational Block Program Block Syaldey District - Almora
Aspirational Block Program Block Syaldey District - Almora
 
Ranking and Scoring Exercises for Research
Ranking and Scoring Exercises for ResearchRanking and Scoring Exercises for Research
Ranking and Scoring Exercises for Research
 
Sequential and reinforcement learning for demand side management by Margaux B...
Sequential and reinforcement learning for demand side management by Margaux B...Sequential and reinforcement learning for demand side management by Margaux B...
Sequential and reinforcement learning for demand side management by Margaux B...
 
怎样办理纽约州立大学宾汉姆顿分校毕业证(SUNY-Bin毕业证书)成绩单学校原版复制
怎样办理纽约州立大学宾汉姆顿分校毕业证(SUNY-Bin毕业证书)成绩单学校原版复制怎样办理纽约州立大学宾汉姆顿分校毕业证(SUNY-Bin毕业证书)成绩单学校原版复制
怎样办理纽约州立大学宾汉姆顿分校毕业证(SUNY-Bin毕业证书)成绩单学校原版复制
 
DATA SUMMIT 24 Building Real-Time Pipelines With FLaNK
DATA SUMMIT 24  Building Real-Time Pipelines With FLaNKDATA SUMMIT 24  Building Real-Time Pipelines With FLaNK
DATA SUMMIT 24 Building Real-Time Pipelines With FLaNK
 
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
 
Harnessing the Power of GenAI for BI and Reporting.pptx
Harnessing the Power of GenAI for BI and Reporting.pptxHarnessing the Power of GenAI for BI and Reporting.pptx
Harnessing the Power of GenAI for BI and Reporting.pptx
 
7. Epi of Chronic respiratory diseases.ppt
7. Epi of Chronic respiratory diseases.ppt7. Epi of Chronic respiratory diseases.ppt
7. Epi of Chronic respiratory diseases.ppt
 
+97470301568>>weed for sale in qatar ,weed for sale in dubai,weed for sale in...
+97470301568>>weed for sale in qatar ,weed for sale in dubai,weed for sale in...+97470301568>>weed for sale in qatar ,weed for sale in dubai,weed for sale in...
+97470301568>>weed for sale in qatar ,weed for sale in dubai,weed for sale in...
 
Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...
 
Top profile Call Girls In Begusarai [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In Begusarai [ 7014168258 ] Call Me For Genuine Models...Top profile Call Girls In Begusarai [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In Begusarai [ 7014168258 ] Call Me For Genuine Models...
 
怎样办理圣地亚哥州立大学毕业证(SDSU毕业证书)成绩单学校原版复制
怎样办理圣地亚哥州立大学毕业证(SDSU毕业证书)成绩单学校原版复制怎样办理圣地亚哥州立大学毕业证(SDSU毕业证书)成绩单学校原版复制
怎样办理圣地亚哥州立大学毕业证(SDSU毕业证书)成绩单学校原版复制
 
Capstone in Interprofessional Informatic // IMPACT OF COVID 19 ON EDUCATION
Capstone in Interprofessional Informatic  // IMPACT OF COVID 19 ON EDUCATIONCapstone in Interprofessional Informatic  // IMPACT OF COVID 19 ON EDUCATION
Capstone in Interprofessional Informatic // IMPACT OF COVID 19 ON EDUCATION
 
Predicting HDB Resale Prices - Conducting Linear Regression Analysis With Orange
Predicting HDB Resale Prices - Conducting Linear Regression Analysis With OrangePredicting HDB Resale Prices - Conducting Linear Regression Analysis With Orange
Predicting HDB Resale Prices - Conducting Linear Regression Analysis With Orange
 

Probability and Probability Distribution.pptx

  • 1. Probability and Probability Distributions Elementary Statistics and Probability Raffy P. Barotilla
  • 2. Conditional Probability Suppose you want to figure out if you should buy a new car. When you first go and look, you find two cars that you like the most. In your mind they are equal, and so each has a 50% chance that you will pick it. Then you start to look at the reviews of the cars and realize that the first car has had 40% of them needing to be repaired in the first year, while the second car only has 10% of the cars needing to be repaired in the first year. You could use this information to help you decide which car you want to actually purchase. Both cars no longer have a 50% chance of being the car you choose.
  • 3. Conditional probabilities are probabilities calculated after information is given. This is where you want to find the probability of event A happening after you know that event B has happened. If you know that B has happened, then you don’t need to consider the rest of the sample space. You only need the outcomes that make up event B. Event B becomes the new sample space, which is called the restricted sample space, R. If you always write a restricted sample space when doing conditional probabilities and use this as your sample space, you will have no trouble with conditional probabilities.
  • 4. The notation for conditional probabilities is P(A, given B) = P(A|B). The event following the vertical line is always the restricted sample space.
  • 5. Example: Conditional Probability a.) Suppose you roll two dice. What is the probability of getting a sum of 5, given that the first die is a 2? Solution: Since you know that the first die is a 2, then this is your restricted sample space, so R = {(2,1), (2,2), (2,3), (2,4), (2,5), (2,6)} Out of this restricted sample space, the way to get a sum of 5 is {(2,3)}. Thus, P(sum of 5 the first die is a 2) = 1/6
  • 6. b.) Suppose you roll two dice. What is the probability of getting a sum of 7, given the first die is a 4? c.) Suppose you roll two dice. What is the probability of getting the second die a 2, given the sum is a 9? d.) Suppose you pick a card from a deck. What is the probability of getting a Spade, given that the card is a Jack? e.) Suppose you pick a card from a deck. What is the probability of getting an Ace, given the card is a Queen?
  • 7. If you look at the results of example d and example b, you will notice that you get the same answer. This means that knowing that the first die is a 4 did not change the probability that the sum is a 7. This added knowledge did not help you in any way. It is as if that information was not given at all. However, if you compare example b and example a, you will notice that they are not the same answer. In this case, knowing that the first die is a 2 did change the probability of getting a sum of 5. In the first case, the events sum of 7 and first die is a 4 are called independent events. In the second case, the events sum of 5 and first die is a 2 are called dependent events.
  • 8. Events A and B are considered independent events if the fact that one event happens does not change the probability of the other event happening. In other words, events A and B are independent if the fact that B has happened does not affect the probability of event A happening and the fact that A has happened does not affect the probability of event B happening. Otherwise, the two events are dependent. In symbols, A and B are independent if P(A|B) = P(A) or P(B|A) = P(B)
  • 9. Example: Independent Events a.) Suppose you roll two dice. Are the events “sum of 7” and “first die is a 3” independent? Solution To determine if they are independent, you need to see if P(A|B) = P(A) Let A = sum of 7 = {(1,6), (2,5), (3,4), (4,3), (5,2), (6,1)} and B = first die is a 3 = {(3,1), (3,2), (3,3), (3,4), (3,5), (3,6)} means that you assume that B has happened. The restricted sample space is B, R = {(3,1), (3,2), (3,3), (3,4), (3,5), (3,6)} In this restricted sample space, the way for A to happen is {(3,4)}, so P(A|B)= 1/6 P(A)= 6/36 = 1/6 P(A|B)= P(A), Thus “sum of 7” and “first die is a 3” are independent events.
  • 10. b.) Suppose you roll two dice. Are the events “sum of 6” and “first die is a 4” independent? c.) Suppose you pick a card from a deck. Are the events “Jack” and “Spade” independent? d.) Suppose you pick a card from a deck. Are the events “Heart” and “Red” card independent? e.) Suppose you have two children via separate births. Are the events “the first is a boy” and “the second is a girl” independent? f.) Suppose you flip a fair coin 50 times and get a head every time, what is the probability of getting a head on the next flip?
  • 11. Multiplication Rule: Two more useful formulas: • If two events are dependent, then P(A and B) = P(A)* P(B| A) • If two events are independent, then P(A and B) = P(A)* P(B)
  • 12. Example: Multiplication Rule a.) Suppose you pick three cards from a deck, what is the probability that they are all Queens if the cards are not replaced after they are picked? Solution: This sample space is too large to write out, so using the multiplication rule makes sense. Since the cards are not replaced, then the probability will change for the second and third cards. They are dependent events. This means that on the second draw there is one less Queen and one less card, and on the third draw there are two less Queens and 2 less cards. P(3 Queens) = P(Q on 1st and Q on 2nd and Q on 3rd) = P(Q on 1st)* P (Q on 2nd Q on 1st)* P (Q on 3rd|1st and 2nd Q) =4/52 * 3/51 * 2/50 =24/132600
  • 13. b.) Suppose you pick three cards from a deck, what is the probability that they are all Queens if the cards are replaced after they are picked and before the next card is picked?
  • 14. Number of Leprosy Cases WHO Region World Bank Income Group Row Total High Income Upper Middle Income Lower Middle Income Low Income Americas 174 36028 615 0 36817 Eastern Mediterranean 54 6 1883 604 2547 Europe 10 0 0 0 10 Western Pacific 26 216 3689 1155 5086 Africa 0 39 1986 15928 17953 South-East Asia 0 0 149896 10236 160132 Column Total 264 36289 158069 27923 222545 a.) Find the probability that a person with leprosy is from the Americas. b.) Find the probability that a person with leprosy is from a high-income country. c.) Find the probability that a person with leprosy is from the Americas and a high-income country. d.) Find the probability that a person with leprosy is from a high-income country, given they are from the Americas. e.) Find the probability that a person with leprosy is from a low-income country.
  • 15. f.) Find the probability that a person with leprosy is from Africa. g.) Find the probability that a person with leprosy is from Africa and a low- income country. h.) Find the probability that a person with leprosy is from Africa, given they are from a low-income country. i.) Are the events that a person with leprosy is from “Africa” and “low-income country” independent events? Why or why not? j.) Are the events that a person with leprosy is from “Americas” and “high-income country” independent events? Why or why not? Number of Leprosy Cases WHO Region World Bank Income Group Row Total High Income Upper Middle Income Lower Middle Income Low Income Americas 174 36028 615 0 36817 Eastern Mediterranean 54 6 1883 604 2547 Europe 10 0 0 0 10 Western Pacific 26 216 3689 1155 5086 Africa 0 39 1986 15928 17953 South-East Asia 0 0 149896 10236 160132 Column Total 264 36289 158069 27923 222545
  • 17. Assessment: Answer the following problems completely. 1.) The number of people who survived the Titanic based on class and gender is in table below. Suppose a person is picked at random from the survivors. Table 1: Surviving the Titanic Class Gender Total Female Male 1st 134 59 193 2nd 94 25 119 3rd 80 58 138 Total 308 142 450
  • 18. a.) What is the probability that a survivor was female? b.) What is the probability that a survivor was in the 1st class? c.) What is the probability that a survivor was a female given that the person was in 1st class? d.) What is the probability that a survivor was a female and in the 1st class? e.) What is the probability that a survivor was a female or in the 1st class? f.) Are the events survivor is a female and survivor is in 1st class mutually exclusive? Why or why not? g.) Are the events survivor is a female and survivor is in 1st class independent? Why or why not?