SlideShare ist ein Scribd-Unternehmen logo
1 von 35
PROBABILITY
Basic terms of Probability 
 In probability, an experiment is any process that 
can be repeated in which the results are 
uncertain. 
 A simple event is any single outcome from a 
probability experiment. 
 Sample space is a list of all possible outcomes of 
a probability experiment. 
 An event is any collection of outcomes from a 
probability experiment.
Example 
 Experiment : Tossing a coin 
 Sample Space: { Head, Tail) 
 Event: (Only Head wants) : {Head}
Probability 
 The probability of an event, denoted P(E), is 
the likelihood of that event occurring.
Example 
 When a coin is tossed, there are two possible 
outcomes: Heads and Tails 
P(H) = ½. 
 When a single die is thrown, there are six 
possible outcomes: 1, 2, 3, 4, 5, 6. 
P(1) = 1/6.
Properties of Probability 
 The probability of any event E, P(E), must be between 
0 and 1 inclusive. That is, 
0 < P(E) < 1. 
 If an event is impossible, the probability of the event is 
0. 
 If an event is a certainty, the probability of the event is 
1. 
 If S = {e1, e2, …, en}, then 
P(e1) + P(e2) + … + P(en) = 1.
Three methods for determining 
Probability 
 Classical method 
 Empirical method 
 Subjective method
1. Classical Method 
 The classical method of computing 
probabilities requires equally likely outcomes. 
 If an experiment has n equally likely simple 
events and if the number of ways that an event 
E can occur is m, then the probability of E, 
P(E), is
Example for classical method 
 Suppose a “fun size” bag of M&Ms contains 9 
brown candies, 6 yellow candies, 7 red 
candies, 4 orange candies, 2 blue candies, 
and 2 green candies. Suppose that a candy is 
randomly selected. 
 (a) What is the probability that it is brown? 
 P (B) = 9/30
2. Empirical method 
 The probability of an event E is approximately the 
number of times event E is observed divided by the 
number of repetitions of the experiment. 
 The empirical probability, also known as relative 
frequency. 
 In a more general sense, empirical probability estimates 
probabilities from experience and observation.
Example for Empirical method 
 It is desired to know what the probability is 
that someone in a particular population favors 
blue over other colors. We pick at random 150 
people in this population, and 39 of the 150 
favor blue. 
 The probability of someone in this population favoring 
blue is the relative frequency 39/150 = 0.26
3. Subjective Probability 
 Subjective probabilities are probabilities obtained 
based upon an educated guess. 
 A subjective probability describes an individual's 
personal judgment about how likely a particular event 
is to occur. 
 A person's subjective probability of an event describes 
his/her degree of belief in the event. 
 A probability value is unconsciously or consciously 
arrived at and even may be biased. 
 For example, there is a 40% chance of rain tomorrow.
Mutually Exclusive Event /disjoint 
 Can't happen at the same time. 
 Probability of them both occurring at the same time is 
0. 
 Turning left and turning right are Mutually Exclusive. 
 Tossing a coin: Heads and Tails are Mutually Exclusive. 
 P(E) and P(F) are mutually exclusive event.
Addition Rule 
 For any two events E and F, 
P(E or F) = P(E) + P(F) – P(E and F) 
 If E and F are mutually exclusive, then P(E 
and F) is zero. 
 For Mutually Exclusive Event, 
P(E or F) = P(E) + P(F)
Venn Diagram 
 Venn diagrams represent events as circles 
enclosed in a rectangle. The rectangle represents 
the sample space and each circle represents an 
event. 
 Instead of "and" you will often see the symbol ∩ 
(which is the "Intersection" symbol used in Venn 
Diagrams). 
 Instead of "or" you will often see the symbol ∪ (the 
"Union" symbol).
Example 
 16 people study French, 21 study Spanish and 
there are 30 altogether. Work out the 
probabilities. 
 This is definitely a case of not Mutually Exclusive 
(you can study French AND Spanish). 
 b is how many study both languages. 
 (16−b) + b + (21−b) = 30
Examples 
 A single 6-sided die is rolled. What is the probability of rolling a 2 or a 5? 
 A glass jar contains 1 red, 3 green, 2 blue, and 4 yellow marbles. If a single 
marble is chosen at random from the jar, what is the probability that it is 
yellow or green? 
 A single card is chosen at random from a standard deck of 52 playing 
cards. What is the probability of choosing a king or a club? 
 A number from 1 to 10 is chosen at random. What is the probability of 
choosing a 5 or an even number?
Complement 
 The Complement of an event is all the other 
outcomes (not the ones we want). 
 Together the Event and its Complement make 
all possible outcomes. 
P(E) + P(E') = 1
Example for Complement 
 According to the American Veterinary Medical 
Association, 31.6% of American households 
own a dog. What is the probability that a 
randomly selected household does not own a 
dog? 
 E= Own a dog 
 P(E) =31.6% 
P(E)  68.4%
Independent event 
 Independent events are events such that the 
outcome of one event does not affect the 
outcome of the second, and vice versa. 
 For Ex: Event A: It rained on Tuesday. 
 Event B: My chair broke at work. 
 These two events are unrelated. Probability of one 
event is not going to affect another event.
Mutually Exclusive vs 
Independent 
 if A and B are mutually exclusive, they cannot 
be independent. Because it make other event 
probability to be zero. (It affecting other event 
probability).
Multiplication rule for Independent 
event 
P(A and B) =P(A∩B)= P(A) * P(B) 
Example : Suppose we roll one die followed by 
another and want to find the probability of rolling a 4 
on the first die and rolling an even number on the 
second die. 
P(A∩B) = 1/12
Dependent event 
 What are the chances of getting a blue 
marble? 
 The chance is 2 in 5 
 But after taking one out the chances change! 
 Event depends on what happened in the 
previous event, and is called dependent.
Multiplication rule for dependent 
event 
P(A and B) = P(A∩B)= P(A) * P(B|A) 
 P(B|A) means "Event B given Event A“. 
 In other words, event A has already happened, 
now what is the chance of event B?. 
 P(B|A) is also called the "Conditional 
Probability" of B given A.
Conditional Probability 
 What is the probability of drawing two blue 
marbles without replacement one by one? 
 Event A = Drawing blue marble first. 
 Event B = Drawing blue marble second. 
 P(A) = 2/5 (Probability of drawing blue marble 
first). 
 P(B|A) = ¼ (Event A has happened, what is the 
probability of Event B). 
P(A∩B) = 1/10
Examples for Conditional 
Probability 
 70% of your friends like Chocolate, and 35% 
like Chocolate AND like Strawberry. What 
percent of those who like Chocolate also like 
Strawberry? 
 Two cards are selected without replacement, 
from a standard deck. Find the probability of 
selecting a king and then selecting a queen.
Bayes’ Theorem 
 The Bayes’ Theorem was developed and 
named for Thomas Bayes (1702 – 1761). 
 It can be seen as a way of understanding how 
the probability that a theory is true is affected 
by a new piece of evidence.
Bayes’ Theorem 
Bayes theorem can be rewritten with help of multiplicative law of an 
dependent events. (One event affects probability of other event)
Bayes’ Theorem with Tree 
diagram
Probability from tree 
 G= Economic Grow 
 S = Economic Slow 
 U = Stock up 
 D = Stock Down 
 P(G) = Probability of Economic Grows (70%) 
 P(U/G) = Probability of stock improves (up) given that 
economy is growing. (80%) (Conditional probability : What is 
the probability of stock up with condition on economy is 
growing?
Probability 
 What is the probability of economy grows and 
stock up? 
P(G∩U) = P(U/G) × P(G) 
= 0.7 × 0.8 = 0.56 
 What is the probability that economy grows 
given that stock went up? 
P(G/U) = Apply Bayes’ Theorem
Bayes’ Theorem 
푃 푈 퐺 ∗푃(퐺) 
P(G|U) = 
푃(푈) 
P(G|U) = 
푃 푈 퐺 ∗푃(퐺) 
푃 푈 퐺 ∗푃 퐺 +푃 푈 푆 ∗푃(푆) 
= 86% 
 P(G) = 70% (Unconditional Probability) 
 By giving addition of new information that stock went up, 
unconditional probability becomes conditional probability 
P(G|U) = 86% 
 This is called Bayes’ Theorem
Exercise - 1 
 1% of the population has X disease. A screening test accurately 
detects the disease for 90% of people with it. The test also indicates 
the disease for 15% of the people without it (the false positives). 
Suppose a person screened for the disease tests positive. What is 
the probability they have it? 
Given: 
P(D) = .01 
P(T|D) = 0.9 
P(T|퐷 ) = 0.15 
Find: 
P(D|T) = ?
Exercise - 2 
 Marie is getting married tomorrow, at an outdoor ceremony in the 
desert. In recent years, it has rained only 5 days each year. 
Unfortunately, the weatherman has predicted rain for tomorrow. When it 
actually rains, the weatherman correctly forecasts rain 90% of the time. 
When it doesn't rain, he incorrectly forecasts rain 10% of the time. 
What is the probability that it will rain on the day of Marie's wedding? 
W = Correctly predicted by Weathermen. 
R = Rain 
1. P(R) = 5/365 
2. P (W|R) = 90% 
3. P (푊 |푅 ) = 10% 
4. P(R|W) = ?
Probability Fundamentals: A Guide to Basic Concepts and Examples

Weitere ähnliche Inhalte

Was ist angesagt?

Probability&Bayes theorem
Probability&Bayes theoremProbability&Bayes theorem
Probability&Bayes theoremimran iqbal
 
Basic Concept Of Probability
Basic Concept Of ProbabilityBasic Concept Of Probability
Basic Concept Of Probabilityguest45a926
 
PROBABILITY AND IT'S TYPES WITH RULES
PROBABILITY AND IT'S TYPES WITH RULESPROBABILITY AND IT'S TYPES WITH RULES
PROBABILITY AND IT'S TYPES WITH RULESBhargavi Bhanu
 
Basic probability concept
Basic probability conceptBasic probability concept
Basic probability conceptMmedsc Hahm
 
Introduction to Probability and Bayes' Theorom
Introduction to Probability and Bayes' TheoromIntroduction to Probability and Bayes' Theorom
Introduction to Probability and Bayes' TheoromYugal Gupta
 
Binomial probability distributions ppt
Binomial probability distributions pptBinomial probability distributions ppt
Binomial probability distributions pptTayab Ali
 
Bayes rule (Bayes Law)
Bayes rule (Bayes Law)Bayes rule (Bayes Law)
Bayes rule (Bayes Law)Tish997
 
Basic Probability
Basic Probability Basic Probability
Basic Probability kaurab
 
Chapter 4 part1-Probability Model
Chapter 4 part1-Probability ModelChapter 4 part1-Probability Model
Chapter 4 part1-Probability Modelnszakir
 
introduction to probability
introduction to probabilityintroduction to probability
introduction to probabilitylovemucheca
 
Mathematical Expectation And Variance
Mathematical Expectation And VarianceMathematical Expectation And Variance
Mathematical Expectation And VarianceDataminingTools Inc
 
Basic probability Concepts and its application By Khubaib Raza
Basic probability Concepts and its application By Khubaib RazaBasic probability Concepts and its application By Khubaib Raza
Basic probability Concepts and its application By Khubaib Razakhubiab raza
 
Bernoullis Random Variables And Binomial Distribution
Bernoullis Random Variables And Binomial DistributionBernoullis Random Variables And Binomial Distribution
Bernoullis Random Variables And Binomial Distributionmathscontent
 
Probability distribution
Probability distributionProbability distribution
Probability distributionRanjan Kumar
 
Probability And Its Axioms
Probability And Its AxiomsProbability And Its Axioms
Probability And Its Axiomsmathscontent
 

Was ist angesagt? (20)

Probability
ProbabilityProbability
Probability
 
Probability&Bayes theorem
Probability&Bayes theoremProbability&Bayes theorem
Probability&Bayes theorem
 
Basic Concept Of Probability
Basic Concept Of ProbabilityBasic Concept Of Probability
Basic Concept Of Probability
 
PROBABILITY AND IT'S TYPES WITH RULES
PROBABILITY AND IT'S TYPES WITH RULESPROBABILITY AND IT'S TYPES WITH RULES
PROBABILITY AND IT'S TYPES WITH RULES
 
Basic probability concept
Basic probability conceptBasic probability concept
Basic probability concept
 
Introduction to Probability and Bayes' Theorom
Introduction to Probability and Bayes' TheoromIntroduction to Probability and Bayes' Theorom
Introduction to Probability and Bayes' Theorom
 
Binomial probability distributions ppt
Binomial probability distributions pptBinomial probability distributions ppt
Binomial probability distributions ppt
 
Bayes rule (Bayes Law)
Bayes rule (Bayes Law)Bayes rule (Bayes Law)
Bayes rule (Bayes Law)
 
Bayes' theorem
Bayes' theoremBayes' theorem
Bayes' theorem
 
Basic Probability
Basic Probability Basic Probability
Basic Probability
 
Chapter 4 part1-Probability Model
Chapter 4 part1-Probability ModelChapter 4 part1-Probability Model
Chapter 4 part1-Probability Model
 
introduction to probability
introduction to probabilityintroduction to probability
introduction to probability
 
Probability
ProbabilityProbability
Probability
 
Binomial distribution
Binomial distributionBinomial distribution
Binomial distribution
 
Mathematical Expectation And Variance
Mathematical Expectation And VarianceMathematical Expectation And Variance
Mathematical Expectation And Variance
 
Basic probability Concepts and its application By Khubaib Raza
Basic probability Concepts and its application By Khubaib RazaBasic probability Concepts and its application By Khubaib Raza
Basic probability Concepts and its application By Khubaib Raza
 
Conditional Probability
Conditional ProbabilityConditional Probability
Conditional Probability
 
Bernoullis Random Variables And Binomial Distribution
Bernoullis Random Variables And Binomial DistributionBernoullis Random Variables And Binomial Distribution
Bernoullis Random Variables And Binomial Distribution
 
Probability distribution
Probability distributionProbability distribution
Probability distribution
 
Probability And Its Axioms
Probability And Its AxiomsProbability And Its Axioms
Probability And Its Axioms
 

Ähnlich wie Probability Fundamentals: A Guide to Basic Concepts and Examples

group1-151014013653-lva1-app6891.pdf
group1-151014013653-lva1-app6891.pdfgroup1-151014013653-lva1-app6891.pdf
group1-151014013653-lva1-app6891.pdfVenkateshPandiri4
 
Statistics: Probability
Statistics: ProbabilityStatistics: Probability
Statistics: ProbabilitySultan Mahmood
 
Probability Theory MSc BA Sem 2.pdf
Probability Theory MSc BA Sem 2.pdfProbability Theory MSc BA Sem 2.pdf
Probability Theory MSc BA Sem 2.pdfssuserd329601
 
probability-120904030152-phpapp01.pdf
probability-120904030152-phpapp01.pdfprobability-120904030152-phpapp01.pdf
probability-120904030152-phpapp01.pdfHimanshuSharma617324
 
Statistical Analysis with R -II
Statistical Analysis with R -IIStatistical Analysis with R -II
Statistical Analysis with R -IIAkhila Prabhakaran
 
What are the chances? - Probability
What are the chances? - ProbabilityWhat are the chances? - Probability
What are the chances? - Probabilitymscartersmaths
 
Probability 2(final)
Probability 2(final)Probability 2(final)
Probability 2(final)Khadiza Begum
 
Probability concepts-applications-1235015791722176-2
Probability concepts-applications-1235015791722176-2Probability concepts-applications-1235015791722176-2
Probability concepts-applications-1235015791722176-2satysun1990
 
Probability Concepts Applications
Probability Concepts  ApplicationsProbability Concepts  Applications
Probability Concepts Applicationsguest44b78
 
vinayjoshi-131204045346-phpapp02.pdf
vinayjoshi-131204045346-phpapp02.pdfvinayjoshi-131204045346-phpapp02.pdf
vinayjoshi-131204045346-phpapp02.pdfsanjayjha933861
 
Probability Theory
Probability TheoryProbability Theory
Probability TheoryParul Singh
 
4.1-4.2 Sample Spaces and Probability
4.1-4.2 Sample Spaces and Probability4.1-4.2 Sample Spaces and Probability
4.1-4.2 Sample Spaces and Probabilitymlong24
 
Unit 11.2 theoretical probability
Unit 11.2 theoretical probabilityUnit 11.2 theoretical probability
Unit 11.2 theoretical probabilityMark Ryder
 
PROBABILITY
PROBABILITYPROBABILITY
PROBABILITYVIV13
 
Probability concepts for Data Analytics
Probability concepts for Data AnalyticsProbability concepts for Data Analytics
Probability concepts for Data AnalyticsSSaudia
 

Ähnlich wie Probability Fundamentals: A Guide to Basic Concepts and Examples (20)

group1-151014013653-lva1-app6891.pdf
group1-151014013653-lva1-app6891.pdfgroup1-151014013653-lva1-app6891.pdf
group1-151014013653-lva1-app6891.pdf
 
Statistics: Probability
Statistics: ProbabilityStatistics: Probability
Statistics: Probability
 
Probability Theory MSc BA Sem 2.pdf
Probability Theory MSc BA Sem 2.pdfProbability Theory MSc BA Sem 2.pdf
Probability Theory MSc BA Sem 2.pdf
 
603-probability mj.pptx
603-probability mj.pptx603-probability mj.pptx
603-probability mj.pptx
 
probability-120904030152-phpapp01.pdf
probability-120904030152-phpapp01.pdfprobability-120904030152-phpapp01.pdf
probability-120904030152-phpapp01.pdf
 
Statistical Analysis with R -II
Statistical Analysis with R -IIStatistical Analysis with R -II
Statistical Analysis with R -II
 
Probability
ProbabilityProbability
Probability
 
What are the chances? - Probability
What are the chances? - ProbabilityWhat are the chances? - Probability
What are the chances? - Probability
 
Probability 2(final)
Probability 2(final)Probability 2(final)
Probability 2(final)
 
Probability concepts-applications-1235015791722176-2
Probability concepts-applications-1235015791722176-2Probability concepts-applications-1235015791722176-2
Probability concepts-applications-1235015791722176-2
 
Probability Concepts Applications
Probability Concepts  ApplicationsProbability Concepts  Applications
Probability Concepts Applications
 
vinayjoshi-131204045346-phpapp02.pdf
vinayjoshi-131204045346-phpapp02.pdfvinayjoshi-131204045346-phpapp02.pdf
vinayjoshi-131204045346-phpapp02.pdf
 
Probability Theory
Probability TheoryProbability Theory
Probability Theory
 
Probabilty1.pptx
Probabilty1.pptxProbabilty1.pptx
Probabilty1.pptx
 
4.1-4.2 Sample Spaces and Probability
4.1-4.2 Sample Spaces and Probability4.1-4.2 Sample Spaces and Probability
4.1-4.2 Sample Spaces and Probability
 
Unit 11.2 theoretical probability
Unit 11.2 theoretical probabilityUnit 11.2 theoretical probability
Unit 11.2 theoretical probability
 
PROBABILITY
PROBABILITYPROBABILITY
PROBABILITY
 
Probability concepts for Data Analytics
Probability concepts for Data AnalyticsProbability concepts for Data Analytics
Probability concepts for Data Analytics
 
03 Probability.pdf
03 Probability.pdf03 Probability.pdf
03 Probability.pdf
 
Lecture3
Lecture3Lecture3
Lecture3
 

Mehr von Balaji P

Probability distribution for Dummies
Probability distribution for DummiesProbability distribution for Dummies
Probability distribution for DummiesBalaji P
 
Statistics in research
Statistics in researchStatistics in research
Statistics in researchBalaji P
 
Structural equation modeling in amos
Structural equation modeling in amosStructural equation modeling in amos
Structural equation modeling in amosBalaji P
 
Sampling design
Sampling designSampling design
Sampling designBalaji P
 
Method of data collection
Method of data collectionMethod of data collection
Method of data collectionBalaji P
 
Measurement and scaling
Measurement and scalingMeasurement and scaling
Measurement and scalingBalaji P
 
Research design
Research designResearch design
Research designBalaji P
 
Research proposal
Research proposalResearch proposal
Research proposalBalaji P
 
Research problem
Research problemResearch problem
Research problemBalaji P
 
Research methodology
Research methodologyResearch methodology
Research methodologyBalaji P
 
Operation research history and overview application limitation
Operation research history and overview application limitationOperation research history and overview application limitation
Operation research history and overview application limitationBalaji P
 
Research methodology
Research methodology Research methodology
Research methodology Balaji P
 
Use of quantitative techniques in economics
Use of quantitative techniques in economicsUse of quantitative techniques in economics
Use of quantitative techniques in economicsBalaji P
 

Mehr von Balaji P (14)

Probability distribution for Dummies
Probability distribution for DummiesProbability distribution for Dummies
Probability distribution for Dummies
 
Statistics in research
Statistics in researchStatistics in research
Statistics in research
 
Structural equation modeling in amos
Structural equation modeling in amosStructural equation modeling in amos
Structural equation modeling in amos
 
Sampling design
Sampling designSampling design
Sampling design
 
Method of data collection
Method of data collectionMethod of data collection
Method of data collection
 
Measurement and scaling
Measurement and scalingMeasurement and scaling
Measurement and scaling
 
Gantt
GanttGantt
Gantt
 
Research design
Research designResearch design
Research design
 
Research proposal
Research proposalResearch proposal
Research proposal
 
Research problem
Research problemResearch problem
Research problem
 
Research methodology
Research methodologyResearch methodology
Research methodology
 
Operation research history and overview application limitation
Operation research history and overview application limitationOperation research history and overview application limitation
Operation research history and overview application limitation
 
Research methodology
Research methodology Research methodology
Research methodology
 
Use of quantitative techniques in economics
Use of quantitative techniques in economicsUse of quantitative techniques in economics
Use of quantitative techniques in economics
 

Kürzlich hochgeladen

Student profile product demonstration on grades, ability, well-being and mind...
Student profile product demonstration on grades, ability, well-being and mind...Student profile product demonstration on grades, ability, well-being and mind...
Student profile product demonstration on grades, ability, well-being and mind...Seán Kennedy
 
modul pembelajaran robotic Workshop _ by Slidesgo.pptx
modul pembelajaran robotic Workshop _ by Slidesgo.pptxmodul pembelajaran robotic Workshop _ by Slidesgo.pptx
modul pembelajaran robotic Workshop _ by Slidesgo.pptxaleedritatuxx
 
Principles and Practices of Data Visualization
Principles and Practices of Data VisualizationPrinciples and Practices of Data Visualization
Principles and Practices of Data VisualizationKianJazayeri1
 
Digital Marketing Plan, how digital marketing works
Digital Marketing Plan, how digital marketing worksDigital Marketing Plan, how digital marketing works
Digital Marketing Plan, how digital marketing worksdeepakthakur548787
 
Decoding Patterns: Customer Churn Prediction Data Analysis Project
Decoding Patterns: Customer Churn Prediction Data Analysis ProjectDecoding Patterns: Customer Churn Prediction Data Analysis Project
Decoding Patterns: Customer Churn Prediction Data Analysis ProjectBoston Institute of Analytics
 
Minimizing AI Hallucinations/Confabulations and the Path towards AGI with Exa...
Minimizing AI Hallucinations/Confabulations and the Path towards AGI with Exa...Minimizing AI Hallucinations/Confabulations and the Path towards AGI with Exa...
Minimizing AI Hallucinations/Confabulations and the Path towards AGI with Exa...Thomas Poetter
 
Data Factory in Microsoft Fabric (MsBIP #82)
Data Factory in Microsoft Fabric (MsBIP #82)Data Factory in Microsoft Fabric (MsBIP #82)
Data Factory in Microsoft Fabric (MsBIP #82)Cathrine Wilhelmsen
 
SMOTE and K-Fold Cross Validation-Presentation.pptx
SMOTE and K-Fold Cross Validation-Presentation.pptxSMOTE and K-Fold Cross Validation-Presentation.pptx
SMOTE and K-Fold Cross Validation-Presentation.pptxHaritikaChhatwal1
 
Advanced Machine Learning for Business Professionals
Advanced Machine Learning for Business ProfessionalsAdvanced Machine Learning for Business Professionals
Advanced Machine Learning for Business ProfessionalsVICTOR MAESTRE RAMIREZ
 
INTRODUCTION TO Natural language processing
INTRODUCTION TO Natural language processingINTRODUCTION TO Natural language processing
INTRODUCTION TO Natural language processingsocarem879
 
English-8-Q4-W3-Synthesizing-Essential-Information-From-Various-Sources-1.pdf
English-8-Q4-W3-Synthesizing-Essential-Information-From-Various-Sources-1.pdfEnglish-8-Q4-W3-Synthesizing-Essential-Information-From-Various-Sources-1.pdf
English-8-Q4-W3-Synthesizing-Essential-Information-From-Various-Sources-1.pdfblazblazml
 
Data Analysis Project : Targeting the Right Customers, Presentation on Bank M...
Data Analysis Project : Targeting the Right Customers, Presentation on Bank M...Data Analysis Project : Targeting the Right Customers, Presentation on Bank M...
Data Analysis Project : Targeting the Right Customers, Presentation on Bank M...Boston Institute of Analytics
 
The Power of Data-Driven Storytelling_ Unveiling the Layers of Insight.pptx
The Power of Data-Driven Storytelling_ Unveiling the Layers of Insight.pptxThe Power of Data-Driven Storytelling_ Unveiling the Layers of Insight.pptx
The Power of Data-Driven Storytelling_ Unveiling the Layers of Insight.pptxTasha Penwell
 
Decoding the Heart: Student Presentation on Heart Attack Prediction with Data...
Decoding the Heart: Student Presentation on Heart Attack Prediction with Data...Decoding the Heart: Student Presentation on Heart Attack Prediction with Data...
Decoding the Heart: Student Presentation on Heart Attack Prediction with Data...Boston Institute of Analytics
 
Defining Constituents, Data Vizzes and Telling a Data Story
Defining Constituents, Data Vizzes and Telling a Data StoryDefining Constituents, Data Vizzes and Telling a Data Story
Defining Constituents, Data Vizzes and Telling a Data StoryJeremy Anderson
 
FAIR, FAIRsharing, FAIR Cookbook and ELIXIR - Sansone SA - Boston 2024
FAIR, FAIRsharing, FAIR Cookbook and ELIXIR - Sansone SA - Boston 2024FAIR, FAIRsharing, FAIR Cookbook and ELIXIR - Sansone SA - Boston 2024
FAIR, FAIRsharing, FAIR Cookbook and ELIXIR - Sansone SA - Boston 2024Susanna-Assunta Sansone
 
What To Do For World Nature Conservation Day by Slidesgo.pptx
What To Do For World Nature Conservation Day by Slidesgo.pptxWhat To Do For World Nature Conservation Day by Slidesgo.pptx
What To Do For World Nature Conservation Day by Slidesgo.pptxSimranPal17
 
NO1 Certified Black Magic Specialist Expert Amil baba in Lahore Islamabad Raw...
NO1 Certified Black Magic Specialist Expert Amil baba in Lahore Islamabad Raw...NO1 Certified Black Magic Specialist Expert Amil baba in Lahore Islamabad Raw...
NO1 Certified Black Magic Specialist Expert Amil baba in Lahore Islamabad Raw...Amil Baba Dawood bangali
 

Kürzlich hochgeladen (20)

Student profile product demonstration on grades, ability, well-being and mind...
Student profile product demonstration on grades, ability, well-being and mind...Student profile product demonstration on grades, ability, well-being and mind...
Student profile product demonstration on grades, ability, well-being and mind...
 
modul pembelajaran robotic Workshop _ by Slidesgo.pptx
modul pembelajaran robotic Workshop _ by Slidesgo.pptxmodul pembelajaran robotic Workshop _ by Slidesgo.pptx
modul pembelajaran robotic Workshop _ by Slidesgo.pptx
 
Insurance Churn Prediction Data Analysis Project
Insurance Churn Prediction Data Analysis ProjectInsurance Churn Prediction Data Analysis Project
Insurance Churn Prediction Data Analysis Project
 
Principles and Practices of Data Visualization
Principles and Practices of Data VisualizationPrinciples and Practices of Data Visualization
Principles and Practices of Data Visualization
 
Digital Marketing Plan, how digital marketing works
Digital Marketing Plan, how digital marketing worksDigital Marketing Plan, how digital marketing works
Digital Marketing Plan, how digital marketing works
 
Decoding Patterns: Customer Churn Prediction Data Analysis Project
Decoding Patterns: Customer Churn Prediction Data Analysis ProjectDecoding Patterns: Customer Churn Prediction Data Analysis Project
Decoding Patterns: Customer Churn Prediction Data Analysis Project
 
Minimizing AI Hallucinations/Confabulations and the Path towards AGI with Exa...
Minimizing AI Hallucinations/Confabulations and the Path towards AGI with Exa...Minimizing AI Hallucinations/Confabulations and the Path towards AGI with Exa...
Minimizing AI Hallucinations/Confabulations and the Path towards AGI with Exa...
 
Data Factory in Microsoft Fabric (MsBIP #82)
Data Factory in Microsoft Fabric (MsBIP #82)Data Factory in Microsoft Fabric (MsBIP #82)
Data Factory in Microsoft Fabric (MsBIP #82)
 
SMOTE and K-Fold Cross Validation-Presentation.pptx
SMOTE and K-Fold Cross Validation-Presentation.pptxSMOTE and K-Fold Cross Validation-Presentation.pptx
SMOTE and K-Fold Cross Validation-Presentation.pptx
 
Data Analysis Project: Stroke Prediction
Data Analysis Project: Stroke PredictionData Analysis Project: Stroke Prediction
Data Analysis Project: Stroke Prediction
 
Advanced Machine Learning for Business Professionals
Advanced Machine Learning for Business ProfessionalsAdvanced Machine Learning for Business Professionals
Advanced Machine Learning for Business Professionals
 
INTRODUCTION TO Natural language processing
INTRODUCTION TO Natural language processingINTRODUCTION TO Natural language processing
INTRODUCTION TO Natural language processing
 
English-8-Q4-W3-Synthesizing-Essential-Information-From-Various-Sources-1.pdf
English-8-Q4-W3-Synthesizing-Essential-Information-From-Various-Sources-1.pdfEnglish-8-Q4-W3-Synthesizing-Essential-Information-From-Various-Sources-1.pdf
English-8-Q4-W3-Synthesizing-Essential-Information-From-Various-Sources-1.pdf
 
Data Analysis Project : Targeting the Right Customers, Presentation on Bank M...
Data Analysis Project : Targeting the Right Customers, Presentation on Bank M...Data Analysis Project : Targeting the Right Customers, Presentation on Bank M...
Data Analysis Project : Targeting the Right Customers, Presentation on Bank M...
 
The Power of Data-Driven Storytelling_ Unveiling the Layers of Insight.pptx
The Power of Data-Driven Storytelling_ Unveiling the Layers of Insight.pptxThe Power of Data-Driven Storytelling_ Unveiling the Layers of Insight.pptx
The Power of Data-Driven Storytelling_ Unveiling the Layers of Insight.pptx
 
Decoding the Heart: Student Presentation on Heart Attack Prediction with Data...
Decoding the Heart: Student Presentation on Heart Attack Prediction with Data...Decoding the Heart: Student Presentation on Heart Attack Prediction with Data...
Decoding the Heart: Student Presentation on Heart Attack Prediction with Data...
 
Defining Constituents, Data Vizzes and Telling a Data Story
Defining Constituents, Data Vizzes and Telling a Data StoryDefining Constituents, Data Vizzes and Telling a Data Story
Defining Constituents, Data Vizzes and Telling a Data Story
 
FAIR, FAIRsharing, FAIR Cookbook and ELIXIR - Sansone SA - Boston 2024
FAIR, FAIRsharing, FAIR Cookbook and ELIXIR - Sansone SA - Boston 2024FAIR, FAIRsharing, FAIR Cookbook and ELIXIR - Sansone SA - Boston 2024
FAIR, FAIRsharing, FAIR Cookbook and ELIXIR - Sansone SA - Boston 2024
 
What To Do For World Nature Conservation Day by Slidesgo.pptx
What To Do For World Nature Conservation Day by Slidesgo.pptxWhat To Do For World Nature Conservation Day by Slidesgo.pptx
What To Do For World Nature Conservation Day by Slidesgo.pptx
 
NO1 Certified Black Magic Specialist Expert Amil baba in Lahore Islamabad Raw...
NO1 Certified Black Magic Specialist Expert Amil baba in Lahore Islamabad Raw...NO1 Certified Black Magic Specialist Expert Amil baba in Lahore Islamabad Raw...
NO1 Certified Black Magic Specialist Expert Amil baba in Lahore Islamabad Raw...
 

Probability Fundamentals: A Guide to Basic Concepts and Examples

  • 2. Basic terms of Probability  In probability, an experiment is any process that can be repeated in which the results are uncertain.  A simple event is any single outcome from a probability experiment.  Sample space is a list of all possible outcomes of a probability experiment.  An event is any collection of outcomes from a probability experiment.
  • 3. Example  Experiment : Tossing a coin  Sample Space: { Head, Tail)  Event: (Only Head wants) : {Head}
  • 4. Probability  The probability of an event, denoted P(E), is the likelihood of that event occurring.
  • 5. Example  When a coin is tossed, there are two possible outcomes: Heads and Tails P(H) = ½.  When a single die is thrown, there are six possible outcomes: 1, 2, 3, 4, 5, 6. P(1) = 1/6.
  • 6. Properties of Probability  The probability of any event E, P(E), must be between 0 and 1 inclusive. That is, 0 < P(E) < 1.  If an event is impossible, the probability of the event is 0.  If an event is a certainty, the probability of the event is 1.  If S = {e1, e2, …, en}, then P(e1) + P(e2) + … + P(en) = 1.
  • 7. Three methods for determining Probability  Classical method  Empirical method  Subjective method
  • 8. 1. Classical Method  The classical method of computing probabilities requires equally likely outcomes.  If an experiment has n equally likely simple events and if the number of ways that an event E can occur is m, then the probability of E, P(E), is
  • 9. Example for classical method  Suppose a “fun size” bag of M&Ms contains 9 brown candies, 6 yellow candies, 7 red candies, 4 orange candies, 2 blue candies, and 2 green candies. Suppose that a candy is randomly selected.  (a) What is the probability that it is brown?  P (B) = 9/30
  • 10. 2. Empirical method  The probability of an event E is approximately the number of times event E is observed divided by the number of repetitions of the experiment.  The empirical probability, also known as relative frequency.  In a more general sense, empirical probability estimates probabilities from experience and observation.
  • 11. Example for Empirical method  It is desired to know what the probability is that someone in a particular population favors blue over other colors. We pick at random 150 people in this population, and 39 of the 150 favor blue.  The probability of someone in this population favoring blue is the relative frequency 39/150 = 0.26
  • 12. 3. Subjective Probability  Subjective probabilities are probabilities obtained based upon an educated guess.  A subjective probability describes an individual's personal judgment about how likely a particular event is to occur.  A person's subjective probability of an event describes his/her degree of belief in the event.  A probability value is unconsciously or consciously arrived at and even may be biased.  For example, there is a 40% chance of rain tomorrow.
  • 13. Mutually Exclusive Event /disjoint  Can't happen at the same time.  Probability of them both occurring at the same time is 0.  Turning left and turning right are Mutually Exclusive.  Tossing a coin: Heads and Tails are Mutually Exclusive.  P(E) and P(F) are mutually exclusive event.
  • 14. Addition Rule  For any two events E and F, P(E or F) = P(E) + P(F) – P(E and F)  If E and F are mutually exclusive, then P(E and F) is zero.  For Mutually Exclusive Event, P(E or F) = P(E) + P(F)
  • 15. Venn Diagram  Venn diagrams represent events as circles enclosed in a rectangle. The rectangle represents the sample space and each circle represents an event.  Instead of "and" you will often see the symbol ∩ (which is the "Intersection" symbol used in Venn Diagrams).  Instead of "or" you will often see the symbol ∪ (the "Union" symbol).
  • 16. Example  16 people study French, 21 study Spanish and there are 30 altogether. Work out the probabilities.  This is definitely a case of not Mutually Exclusive (you can study French AND Spanish).  b is how many study both languages.  (16−b) + b + (21−b) = 30
  • 17. Examples  A single 6-sided die is rolled. What is the probability of rolling a 2 or a 5?  A glass jar contains 1 red, 3 green, 2 blue, and 4 yellow marbles. If a single marble is chosen at random from the jar, what is the probability that it is yellow or green?  A single card is chosen at random from a standard deck of 52 playing cards. What is the probability of choosing a king or a club?  A number from 1 to 10 is chosen at random. What is the probability of choosing a 5 or an even number?
  • 18. Complement  The Complement of an event is all the other outcomes (not the ones we want).  Together the Event and its Complement make all possible outcomes. P(E) + P(E') = 1
  • 19. Example for Complement  According to the American Veterinary Medical Association, 31.6% of American households own a dog. What is the probability that a randomly selected household does not own a dog?  E= Own a dog  P(E) =31.6% P(E)  68.4%
  • 20. Independent event  Independent events are events such that the outcome of one event does not affect the outcome of the second, and vice versa.  For Ex: Event A: It rained on Tuesday.  Event B: My chair broke at work.  These two events are unrelated. Probability of one event is not going to affect another event.
  • 21. Mutually Exclusive vs Independent  if A and B are mutually exclusive, they cannot be independent. Because it make other event probability to be zero. (It affecting other event probability).
  • 22. Multiplication rule for Independent event P(A and B) =P(A∩B)= P(A) * P(B) Example : Suppose we roll one die followed by another and want to find the probability of rolling a 4 on the first die and rolling an even number on the second die. P(A∩B) = 1/12
  • 23. Dependent event  What are the chances of getting a blue marble?  The chance is 2 in 5  But after taking one out the chances change!  Event depends on what happened in the previous event, and is called dependent.
  • 24. Multiplication rule for dependent event P(A and B) = P(A∩B)= P(A) * P(B|A)  P(B|A) means "Event B given Event A“.  In other words, event A has already happened, now what is the chance of event B?.  P(B|A) is also called the "Conditional Probability" of B given A.
  • 25. Conditional Probability  What is the probability of drawing two blue marbles without replacement one by one?  Event A = Drawing blue marble first.  Event B = Drawing blue marble second.  P(A) = 2/5 (Probability of drawing blue marble first).  P(B|A) = ¼ (Event A has happened, what is the probability of Event B). P(A∩B) = 1/10
  • 26. Examples for Conditional Probability  70% of your friends like Chocolate, and 35% like Chocolate AND like Strawberry. What percent of those who like Chocolate also like Strawberry?  Two cards are selected without replacement, from a standard deck. Find the probability of selecting a king and then selecting a queen.
  • 27. Bayes’ Theorem  The Bayes’ Theorem was developed and named for Thomas Bayes (1702 – 1761).  It can be seen as a way of understanding how the probability that a theory is true is affected by a new piece of evidence.
  • 28. Bayes’ Theorem Bayes theorem can be rewritten with help of multiplicative law of an dependent events. (One event affects probability of other event)
  • 29. Bayes’ Theorem with Tree diagram
  • 30. Probability from tree  G= Economic Grow  S = Economic Slow  U = Stock up  D = Stock Down  P(G) = Probability of Economic Grows (70%)  P(U/G) = Probability of stock improves (up) given that economy is growing. (80%) (Conditional probability : What is the probability of stock up with condition on economy is growing?
  • 31. Probability  What is the probability of economy grows and stock up? P(G∩U) = P(U/G) × P(G) = 0.7 × 0.8 = 0.56  What is the probability that economy grows given that stock went up? P(G/U) = Apply Bayes’ Theorem
  • 32. Bayes’ Theorem 푃 푈 퐺 ∗푃(퐺) P(G|U) = 푃(푈) P(G|U) = 푃 푈 퐺 ∗푃(퐺) 푃 푈 퐺 ∗푃 퐺 +푃 푈 푆 ∗푃(푆) = 86%  P(G) = 70% (Unconditional Probability)  By giving addition of new information that stock went up, unconditional probability becomes conditional probability P(G|U) = 86%  This is called Bayes’ Theorem
  • 33. Exercise - 1  1% of the population has X disease. A screening test accurately detects the disease for 90% of people with it. The test also indicates the disease for 15% of the people without it (the false positives). Suppose a person screened for the disease tests positive. What is the probability they have it? Given: P(D) = .01 P(T|D) = 0.9 P(T|퐷 ) = 0.15 Find: P(D|T) = ?
  • 34. Exercise - 2  Marie is getting married tomorrow, at an outdoor ceremony in the desert. In recent years, it has rained only 5 days each year. Unfortunately, the weatherman has predicted rain for tomorrow. When it actually rains, the weatherman correctly forecasts rain 90% of the time. When it doesn't rain, he incorrectly forecasts rain 10% of the time. What is the probability that it will rain on the day of Marie's wedding? W = Correctly predicted by Weathermen. R = Rain 1. P(R) = 5/365 2. P (W|R) = 90% 3. P (푊 |푅 ) = 10% 4. P(R|W) = ?