SlideShare ist ein Scribd-Unternehmen logo
1 von 63
Chapter 6 Probability
[object Object],[object Object],Chance Experiment & Sample Space
Example ,[object Object]
Example - continued ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Example - continued ,[object Object],[object Object],[object Object],[object Object]
Example - continued ,[object Object],This “tree” has two sets of “branches” corresponding to the two bits of information gathered. To identify any particular outcome of the sample space, you traverse the tree by first selecting a branch corresponding to gender and then a branch corresponding to the choice of food line. Male Female Burger Salad Main Entree Outcome (Male, Salad) Outcome (Female, Burger) Burger Salad Main Entree
Events ,[object Object],[object Object],If we look at  the lunch line example and use the following sample space description    {MB, FB, MS, FS, ME, FE} The event that the student selected is male is given by  male = {MB, MS, ME} The event that the preferred food line is the burger line is given by  burger = {MB, FB} The event that the person selected is a female that prefers the salad line is  {FS}.  This is an example of a simple event.
Venn Diagrams ,[object Object],[object Object],The rectangle represents the sample space and shaded area represents the event A.
Forming New Events Let A and B denote two events. The shaded area represents the event not A.
Forming New Events Let A and B denote two events. The shaded area represents the event A    B.
Forming New Events Let A and B denote two events. The shaded area represents the event A    B.
More on intersections ,[object Object],A and B are disjoint events
More than 2 events ,[object Object],[object Object]
Some illustrations A B C A, B & C are Disjoint A B C A B C A B C
Probability – Classical Approach If a chance experiment has k outcomes, all equally likely, then each individual outcome has the probability 1/k and the probability of an event E is
Probability - Example Consider the experiment consisting of rolling two fair dice and observing the sum of the up faces. A sample space description is given by {(1, 1), (1, 2), … , (6, 6)}  where the pair (1, 2) means 1 is the up face of the 1 st  die and 2 is the up face of the 2 nd  die. This sample space  consists of 36 equally likely outcomes. Let E stand for the event that the sum is 6. Event E is given by E={(1, 5), (2, 4), (3, 3), (4, 2), (5, 1)}. The event consists of 5 outcomes, so
Probability - Empirical Approach Consider the chance experiment of rolling a “fair” die. We would like to investigate the probability of getting a “1” for the up face of the die. The die was rolled and after each roll the up face was recorded and then the proportion of times that a 1 turned up was calculated and plotted.
Probability - Empirical Approach The process was simulated again and this time the result were similar. Notice that the proportion of 1’s seems to stabilize and in the long run gets closer to the “theoretical” value of 1/6.
Probability - Empirical Approach In many “real-life” processes and chance experiments, the probability of a certain outcome or event is unknown, but never the less this probability can be estimated reasonably well from observation. The justification if the Law of Large Numbers. Law of Large Numbers : As the number of repetitions of a chance experiment increases, the chance that the relative frequency of occurrence for an event will differ from the true probability of the event by more than any very small number approaches zero.
Relative Frequency Approach The  probability of an event E , denoted by  P(E) , is defined to be the value approached by the relative frequency of occurrence of E in a very long series of trials of a chance experiment. Thus, if the number of trials is quite large,
Methods for Determining Probability ,[object Object],[object Object],[object Object]
Basic Properties of Probability ,[object Object],[object Object],[object Object],[object Object]
Equally Likely Outcomes Consider an experiment that can result in any one of N possible outcomes. Denote the corresponding simple events by O 1 , O 2 ,… O n . If these simple events are equally likely to occur, then
Example Consider the experiment consisting of randomly picking a card from an ordinary deck of playing cards (52 card deck). Let A stand for the event that the card chosen is a King.
Example Consider the experiment consisting of rolling two fair dice and observing the sum of the up faces. Let E stand for the event that the sum is 7. The sample space is given by S ={(1 ,1), (1, 2), … , (6, 6)} and consists of 36 equally likely outcomes. The event E is given by  E ={(1, 6), (2, 5), (3, 4), (4, 3), (5, 2), (6, 1)} and consists of 6 outcomes, so
Example Consider the experiment consisting of rolling two fair dice and observing the sum of the up faces. Let F stand for the event that the sum is 11. The sample space is given by S ={(1 ,1), (1, 2), … , (6, 6)} and consists of 36 equally likely outcomes. The event F is given by  F ={(5, 6), (6, 5)} and consists of 2 outcomes, so
Addition Rule for Disjoint Events Let E and F be two disjoint events.
Example Consider the experiment consisting of rolling two fair dice and observing the sum of the up faces. Let E stand for the event that the sum is 7 and  F stand for the event that the sum is 11.
A Leading Example A study 1  was performed to look at the relationship between motion sickness and seat position in a bus. The following table summarizes the data. 1  “Motion Sickness in Public Road Transport: The Effect of Driver, Route and Vehicle” ( Ergonomics  (1999): 1646 – 1664).
A Leading Example Let’s use the symbols N, N C , F, M, B to stand for the events Nausea, No Nausea, Front, Middle and Back respectively.
A Leading Example Computing the probability that an individual in the study gets nausea we have
A Leading Example Other probabilities are easily calculated by dividing the numbers in the cells by 3256 to get P(F) P(N and F) P(M and N C ) P(N)
A Leading Example The event “a person got nausea given he/she sat in the front seat” is an example of what is called a  conditional probability. Of the 928 people who sat in the front, 58 got nausea so the probability that “a person got nausea given he/she sat in the front seat is
Conditional Probability If we want to see if nausea is related to seat position we might want to calculate the probability that “a person got nausea given he/she sat in the front seat.” We usually indicate such a conditional probability with the notation  P(N | F). P(N | F) stands for the “probability of N given F.
Conditional Probability Let E and F be two events with P(F) > 0. The  conditional probability of the event E given that the event F has occurred , denoted by  P(E|F) , is
Example A survey of job satisfaction 2  of teachers was taken, giving the following results 2  “Psychology of the Scientist: Work Related Attitudes of U.S. Scientists” ( Psychological Reports  (1991): 443 – 450).
Example If all the cells are divided by the total number surveyed, 778, the resulting table is a table of empirically derived probabilities.
Example For convenience, let C stand for the event that the teacher teaches college, S stand for the teacher being satisfied and so on. Let’s look at some probabilities and what they mean. is the proportion of teachers who are college teachers. is the proportion of teachers who are satisfied with their job.
Example Restated: This is the proportion of satisfied that are college teachers. The proportion of teachers who  are college teachers given they are satisfied is
Example Restated: This is the proportion of college teachers that are satisfied. The proportion of teachers who  are satisfied given they are college teachers is
Independence ,[object Object],[object Object],[object Object]
Example
Multiplication Rule for Independent Events
Example ,[object Object],3 This assumption seems to be a reasonable assumption since the manufacturers are different. Suppose P(A) = 0.01 and P(B) = 0.02.
Example Consider the teacher satisfaction survey
Sampling Schemes ,[object Object],[object Object]
Example ,[object Object],[object Object],[object Object],[object Object]
Example –  With Replacement If we select the first card and then place it back in the deck before we select the second, and so on, the sampling will be with replacement.
Example –  Without Replacement If we select the cards in the usual manner without replacing them in the deck, the sampling will be without replacement.
A Practical Example ,[object Object],[object Object],[object Object],[object Object],[object Object]
A Practical Example ,[object Object]
A Practical Example - continued ,[object Object]
[object Object],[object Object],A Practical Example - continued
An Observation ,[object Object],[object Object]
General Addition Rule for Two Events
Example Consider the teacher satisfaction survey
General Multiplication Rule
Example 18% of all employees in a large company are secretaries and furthermore, 35% of the secretaries are male . If an employee from this company is randomly selected, what is the probability the employee will be a secretary and also male. Let E stand for the event the employee is male. Let F stand for the event the employee is a secretary. The question can be answered by noting that  P(F) = 0.18 and P(E|F) = 0.35 so
Bayes Rule
Example A company that makes radios, uses three different subcontractors (A, B and C) to supply on switches used in assembling a radio. 50% of the switches come from company A, 35% of the switches come from company B and 15% of the switches come from company C. Furthermore, it is known that 1% of the switches that company A supplies are defective, 2% of the switches that company B supplies are defective and 5% of the switches that company C supplies are defective.  If a radio from this company was inspected and failed the inspection because of a defective on switch, what are the probabilities that that switch came from each of the suppliers.
Example - continued Define the events S 1  = event that the on switch came from subcontractor A S 2  = event that the on switch came from subcontractor B S 3  = event that the on switch came from subcontractor C D = event the on switch was defective From the problem statement we have P(S 1 ) = 0.5, P(S 2 ) = 0.35 , P(S 3 ) = 0.15 P(D|S 1 ) =0.01, P(D|S 2 ) =0.02, P(D|S 3 ) =0.05
Example - continued
Example - continued These calculations show that 25.6% of the on defective switches are supplied by subcontractor A, 35.9% of the defective on switches are supplied by subcontractor B and 38.5% of the defective on switches are supplied by subcontractor C. Even though subcontractor C supplies only a small proportion (15%) of the switches, it supplies a reasonably large proportion of the defective switches (38.9%).

Weitere ähnliche Inhalte

Was ist angesagt?

Probability concepts for Data Analytics
Probability concepts for Data AnalyticsProbability concepts for Data Analytics
Probability concepts for Data AnalyticsSSaudia
 
Chapter 4 260110 044531
Chapter 4 260110 044531Chapter 4 260110 044531
Chapter 4 260110 044531guest25d353
 
Probability & Bayesian Theorem
Probability & Bayesian TheoremProbability & Bayesian Theorem
Probability & Bayesian TheoremAzmi Mohd Tamil
 
Introduction to Probability and Bayes' Theorom
Introduction to Probability and Bayes' TheoromIntroduction to Probability and Bayes' Theorom
Introduction to Probability and Bayes' TheoromYugal Gupta
 
Probability Theory
Probability TheoryProbability Theory
Probability TheoryParul Singh
 
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 Concept Of Probability
Basic Concept Of ProbabilityBasic Concept Of Probability
Basic Concept Of Probabilityguest45a926
 
Complements conditional probability bayes theorem
Complements  conditional probability bayes theorem  Complements  conditional probability bayes theorem
Complements conditional probability bayes theorem Long Beach City College
 
introduction to probability
introduction to probabilityintroduction to probability
introduction to probabilitylovemucheca
 
Probability theory good
Probability theory goodProbability theory good
Probability theory goodZahida Pervaiz
 
Probability Concepts Applications
Probability Concepts  ApplicationsProbability Concepts  Applications
Probability Concepts Applicationsguest44b78
 

Was ist angesagt? (20)

Probability concepts for Data Analytics
Probability concepts for Data AnalyticsProbability concepts for Data Analytics
Probability concepts for Data Analytics
 
Chapter 4 260110 044531
Chapter 4 260110 044531Chapter 4 260110 044531
Chapter 4 260110 044531
 
Probability+distribution
Probability+distributionProbability+distribution
Probability+distribution
 
Unit 1-probability
Unit 1-probabilityUnit 1-probability
Unit 1-probability
 
Probability & Bayesian Theorem
Probability & Bayesian TheoremProbability & Bayesian Theorem
Probability & Bayesian Theorem
 
Basic concepts of probability
Basic concepts of probabilityBasic concepts of probability
Basic concepts of probability
 
Introduction to Probability and Bayes' Theorom
Introduction to Probability and Bayes' TheoromIntroduction to Probability and Bayes' Theorom
Introduction to Probability and Bayes' Theorom
 
Probability Theory
Probability TheoryProbability Theory
Probability Theory
 
Lecture on Statistics 1
Lecture on Statistics 1Lecture on Statistics 1
Lecture on Statistics 1
 
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
 
Probability
ProbabilityProbability
Probability
 
Laws of probability
Laws of probabilityLaws of probability
Laws of probability
 
Basic Concept Of Probability
Basic Concept Of ProbabilityBasic Concept Of Probability
Basic Concept Of Probability
 
Complements conditional probability bayes theorem
Complements  conditional probability bayes theorem  Complements  conditional probability bayes theorem
Complements conditional probability bayes theorem
 
introduction to probability
introduction to probabilityintroduction to probability
introduction to probability
 
Probability
ProbabilityProbability
Probability
 
Probability theory good
Probability theory goodProbability theory good
Probability theory good
 
PROBABILITY
PROBABILITYPROBABILITY
PROBABILITY
 
Probability
ProbabilityProbability
Probability
 
Probability Concepts Applications
Probability Concepts  ApplicationsProbability Concepts  Applications
Probability Concepts Applications
 

Andere mochten auch

Cheesy cauliflower breadsticks
Cheesy cauliflower breadsticksCheesy cauliflower breadsticks
Cheesy cauliflower breadsticksJulia Page
 
Military OC Spray Certification
Military OC Spray CertificationMilitary OC Spray Certification
Military OC Spray CertificationOscar Barrera
 
Para ajudar estudantes de inglês
Para ajudar estudantes de inglêsPara ajudar estudantes de inglês
Para ajudar estudantes de inglêsRayan Gomes
 
Limkokwing Ass. Degree
Limkokwing Ass. DegreeLimkokwing Ass. Degree
Limkokwing Ass. DegreeMzwakhe Hlophe
 
Kellie's CELTA CV LH2015
Kellie's CELTA CV  LH2015Kellie's CELTA CV  LH2015
Kellie's CELTA CV LH2015Kellie Dixon
 

Andere mochten auch (9)

Cheesy cauliflower breadsticks
Cheesy cauliflower breadsticksCheesy cauliflower breadsticks
Cheesy cauliflower breadsticks
 
Military OC Spray Certification
Military OC Spray CertificationMilitary OC Spray Certification
Military OC Spray Certification
 
Mohamed Osama cv
Mohamed Osama cvMohamed Osama cv
Mohamed Osama cv
 
Para ajudar estudantes de inglês
Para ajudar estudantes de inglêsPara ajudar estudantes de inglês
Para ajudar estudantes de inglês
 
Limkokwing Ass. Degree
Limkokwing Ass. DegreeLimkokwing Ass. Degree
Limkokwing Ass. Degree
 
PMP Certificate - Houssam Shoukri
PMP Certificate - Houssam ShoukriPMP Certificate - Houssam Shoukri
PMP Certificate - Houssam Shoukri
 
Kellie's CELTA CV LH2015
Kellie's CELTA CV  LH2015Kellie's CELTA CV  LH2015
Kellie's CELTA CV LH2015
 
Martin's resume
Martin's resumeMartin's resume
Martin's resume
 
Aguai solutions ui-ux-portfolio
Aguai solutions ui-ux-portfolioAguai solutions ui-ux-portfolio
Aguai solutions ui-ux-portfolio
 

Ähnlich wie Chapter06

Probabilistic decision making
Probabilistic decision makingProbabilistic decision making
Probabilistic decision makingshri1984
 
3 PROBABILITY TOPICSFigure 3.1 Meteor showers are rare, .docx
3  PROBABILITY TOPICSFigure 3.1 Meteor showers are rare, .docx3  PROBABILITY TOPICSFigure 3.1 Meteor showers are rare, .docx
3 PROBABILITY TOPICSFigure 3.1 Meteor showers are rare, .docxtamicawaysmith
 
Probability Basic
Probability BasicProbability Basic
Probability BasicCosta012
 
7-Experiment, Outcome and Sample Space.pptx
7-Experiment, Outcome and Sample Space.pptx7-Experiment, Outcome and Sample Space.pptx
7-Experiment, Outcome and Sample Space.pptxssuserdb3083
 
introduction to Probability theory
introduction to Probability theoryintroduction to Probability theory
introduction to Probability theoryRachna Gupta
 
vinayjoshi-131204045346-phpapp02.pdf
vinayjoshi-131204045346-phpapp02.pdfvinayjoshi-131204045346-phpapp02.pdf
vinayjoshi-131204045346-phpapp02.pdfsanjayjha933861
 
Notes_5.2.pptx
Notes_5.2.pptxNotes_5.2.pptx
Notes_5.2.pptxjaywarven1
 
Notes_5.2 (1).pptx
Notes_5.2 (1).pptxNotes_5.2 (1).pptx
Notes_5.2 (1).pptxjaywarven1
 
Notes_5.2 (1).pptx
Notes_5.2 (1).pptxNotes_5.2 (1).pptx
Notes_5.2 (1).pptxjaywarven1
 
Making probability easy!!!
Making probability easy!!!Making probability easy!!!
Making probability easy!!!GAURAV SAHA
 
What is probability
What is probabilityWhat is probability
What is probabilityDeepak Thapa
 
PROBABILITY
PROBABILITYPROBABILITY
PROBABILITYVIV13
 
Chapter 05
Chapter 05Chapter 05
Chapter 05bmcfad01
 

Ähnlich wie Chapter06 (20)

Chapter6
Chapter6Chapter6
Chapter6
 
Probabilistic decision making
Probabilistic decision makingProbabilistic decision making
Probabilistic decision making
 
3 PROBABILITY TOPICSFigure 3.1 Meteor showers are rare, .docx
3  PROBABILITY TOPICSFigure 3.1 Meteor showers are rare, .docx3  PROBABILITY TOPICSFigure 3.1 Meteor showers are rare, .docx
3 PROBABILITY TOPICSFigure 3.1 Meteor showers are rare, .docx
 
Probability Basic
Probability BasicProbability Basic
Probability Basic
 
Probability[1]
Probability[1]Probability[1]
Probability[1]
 
7-Experiment, Outcome and Sample Space.pptx
7-Experiment, Outcome and Sample Space.pptx7-Experiment, Outcome and Sample Space.pptx
7-Experiment, Outcome and Sample Space.pptx
 
introduction to Probability theory
introduction to Probability theoryintroduction to Probability theory
introduction to Probability theory
 
vinayjoshi-131204045346-phpapp02.pdf
vinayjoshi-131204045346-phpapp02.pdfvinayjoshi-131204045346-phpapp02.pdf
vinayjoshi-131204045346-phpapp02.pdf
 
Notes_5.2.pptx
Notes_5.2.pptxNotes_5.2.pptx
Notes_5.2.pptx
 
Notes_5.2 (1).pptx
Notes_5.2 (1).pptxNotes_5.2 (1).pptx
Notes_5.2 (1).pptx
 
Notes_5.2 (1).pptx
Notes_5.2 (1).pptxNotes_5.2 (1).pptx
Notes_5.2 (1).pptx
 
Making probability easy!!!
Making probability easy!!!Making probability easy!!!
Making probability easy!!!
 
What is probability
What is probabilityWhat is probability
What is probability
 
Chap 2 (1).pdf
Chap 2 (1).pdfChap 2 (1).pdf
Chap 2 (1).pdf
 
tps5e_Ch5_3.ppt
tps5e_Ch5_3.ppttps5e_Ch5_3.ppt
tps5e_Ch5_3.ppt
 
tps5e_Ch5_3.ppt
tps5e_Ch5_3.ppttps5e_Ch5_3.ppt
tps5e_Ch5_3.ppt
 
PROBABILITY
PROBABILITYPROBABILITY
PROBABILITY
 
Basic Concepts of Probability
Basic Concepts of ProbabilityBasic Concepts of Probability
Basic Concepts of Probability
 
Probability
ProbabilityProbability
Probability
 
Chapter 05
Chapter 05Chapter 05
Chapter 05
 

Mehr von rwmiller

Mehr von rwmiller (18)

Chapter14
Chapter14Chapter14
Chapter14
 
Chapter13
Chapter13Chapter13
Chapter13
 
Chapter12
Chapter12Chapter12
Chapter12
 
Chapter11
Chapter11Chapter11
Chapter11
 
Chapter10
Chapter10Chapter10
Chapter10
 
Chapter09
Chapter09Chapter09
Chapter09
 
Chapter08
Chapter08Chapter08
Chapter08
 
Chapter07
Chapter07Chapter07
Chapter07
 
Chapter05
Chapter05Chapter05
Chapter05
 
Chapter04
Chapter04Chapter04
Chapter04
 
Chapter03
Chapter03Chapter03
Chapter03
 
Chapter02
Chapter02Chapter02
Chapter02
 
Chapter15
Chapter15Chapter15
Chapter15
 
Chapter01
Chapter01Chapter01
Chapter01
 
Chapter04
Chapter04Chapter04
Chapter04
 
Chapter03
Chapter03Chapter03
Chapter03
 
Chapter02
Chapter02Chapter02
Chapter02
 
Chapter01
Chapter01Chapter01
Chapter01
 

Kürzlich hochgeladen

SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESmohitsingh558521
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxBkGupta21
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 

Kürzlich hochgeladen (20)

SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 

Chapter06

  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9. Forming New Events Let A and B denote two events. The shaded area represents the event not A.
  • 10. Forming New Events Let A and B denote two events. The shaded area represents the event A  B.
  • 11. Forming New Events Let A and B denote two events. The shaded area represents the event A  B.
  • 12.
  • 13.
  • 14. Some illustrations A B C A, B & C are Disjoint A B C A B C A B C
  • 15. Probability – Classical Approach If a chance experiment has k outcomes, all equally likely, then each individual outcome has the probability 1/k and the probability of an event E is
  • 16. Probability - Example Consider the experiment consisting of rolling two fair dice and observing the sum of the up faces. A sample space description is given by {(1, 1), (1, 2), … , (6, 6)} where the pair (1, 2) means 1 is the up face of the 1 st die and 2 is the up face of the 2 nd die. This sample space consists of 36 equally likely outcomes. Let E stand for the event that the sum is 6. Event E is given by E={(1, 5), (2, 4), (3, 3), (4, 2), (5, 1)}. The event consists of 5 outcomes, so
  • 17. Probability - Empirical Approach Consider the chance experiment of rolling a “fair” die. We would like to investigate the probability of getting a “1” for the up face of the die. The die was rolled and after each roll the up face was recorded and then the proportion of times that a 1 turned up was calculated and plotted.
  • 18. Probability - Empirical Approach The process was simulated again and this time the result were similar. Notice that the proportion of 1’s seems to stabilize and in the long run gets closer to the “theoretical” value of 1/6.
  • 19. Probability - Empirical Approach In many “real-life” processes and chance experiments, the probability of a certain outcome or event is unknown, but never the less this probability can be estimated reasonably well from observation. The justification if the Law of Large Numbers. Law of Large Numbers : As the number of repetitions of a chance experiment increases, the chance that the relative frequency of occurrence for an event will differ from the true probability of the event by more than any very small number approaches zero.
  • 20. Relative Frequency Approach The probability of an event E , denoted by P(E) , is defined to be the value approached by the relative frequency of occurrence of E in a very long series of trials of a chance experiment. Thus, if the number of trials is quite large,
  • 21.
  • 22.
  • 23. Equally Likely Outcomes Consider an experiment that can result in any one of N possible outcomes. Denote the corresponding simple events by O 1 , O 2 ,… O n . If these simple events are equally likely to occur, then
  • 24. Example Consider the experiment consisting of randomly picking a card from an ordinary deck of playing cards (52 card deck). Let A stand for the event that the card chosen is a King.
  • 25. Example Consider the experiment consisting of rolling two fair dice and observing the sum of the up faces. Let E stand for the event that the sum is 7. The sample space is given by S ={(1 ,1), (1, 2), … , (6, 6)} and consists of 36 equally likely outcomes. The event E is given by E ={(1, 6), (2, 5), (3, 4), (4, 3), (5, 2), (6, 1)} and consists of 6 outcomes, so
  • 26. Example Consider the experiment consisting of rolling two fair dice and observing the sum of the up faces. Let F stand for the event that the sum is 11. The sample space is given by S ={(1 ,1), (1, 2), … , (6, 6)} and consists of 36 equally likely outcomes. The event F is given by F ={(5, 6), (6, 5)} and consists of 2 outcomes, so
  • 27. Addition Rule for Disjoint Events Let E and F be two disjoint events.
  • 28. Example Consider the experiment consisting of rolling two fair dice and observing the sum of the up faces. Let E stand for the event that the sum is 7 and F stand for the event that the sum is 11.
  • 29. A Leading Example A study 1 was performed to look at the relationship between motion sickness and seat position in a bus. The following table summarizes the data. 1 “Motion Sickness in Public Road Transport: The Effect of Driver, Route and Vehicle” ( Ergonomics (1999): 1646 – 1664).
  • 30. A Leading Example Let’s use the symbols N, N C , F, M, B to stand for the events Nausea, No Nausea, Front, Middle and Back respectively.
  • 31. A Leading Example Computing the probability that an individual in the study gets nausea we have
  • 32. A Leading Example Other probabilities are easily calculated by dividing the numbers in the cells by 3256 to get P(F) P(N and F) P(M and N C ) P(N)
  • 33. A Leading Example The event “a person got nausea given he/she sat in the front seat” is an example of what is called a conditional probability. Of the 928 people who sat in the front, 58 got nausea so the probability that “a person got nausea given he/she sat in the front seat is
  • 34. Conditional Probability If we want to see if nausea is related to seat position we might want to calculate the probability that “a person got nausea given he/she sat in the front seat.” We usually indicate such a conditional probability with the notation P(N | F). P(N | F) stands for the “probability of N given F.
  • 35. Conditional Probability Let E and F be two events with P(F) > 0. The conditional probability of the event E given that the event F has occurred , denoted by P(E|F) , is
  • 36. Example A survey of job satisfaction 2 of teachers was taken, giving the following results 2 “Psychology of the Scientist: Work Related Attitudes of U.S. Scientists” ( Psychological Reports (1991): 443 – 450).
  • 37. Example If all the cells are divided by the total number surveyed, 778, the resulting table is a table of empirically derived probabilities.
  • 38. Example For convenience, let C stand for the event that the teacher teaches college, S stand for the teacher being satisfied and so on. Let’s look at some probabilities and what they mean. is the proportion of teachers who are college teachers. is the proportion of teachers who are satisfied with their job.
  • 39. Example Restated: This is the proportion of satisfied that are college teachers. The proportion of teachers who are college teachers given they are satisfied is
  • 40. Example Restated: This is the proportion of college teachers that are satisfied. The proportion of teachers who are satisfied given they are college teachers is
  • 41.
  • 43. Multiplication Rule for Independent Events
  • 44.
  • 45. Example Consider the teacher satisfaction survey
  • 46.
  • 47.
  • 48. Example – With Replacement If we select the first card and then place it back in the deck before we select the second, and so on, the sampling will be with replacement.
  • 49. Example – Without Replacement If we select the cards in the usual manner without replacing them in the deck, the sampling will be without replacement.
  • 50.
  • 51.
  • 52.
  • 53.
  • 54.
  • 55. General Addition Rule for Two Events
  • 56. Example Consider the teacher satisfaction survey
  • 58. Example 18% of all employees in a large company are secretaries and furthermore, 35% of the secretaries are male . If an employee from this company is randomly selected, what is the probability the employee will be a secretary and also male. Let E stand for the event the employee is male. Let F stand for the event the employee is a secretary. The question can be answered by noting that P(F) = 0.18 and P(E|F) = 0.35 so
  • 60. Example A company that makes radios, uses three different subcontractors (A, B and C) to supply on switches used in assembling a radio. 50% of the switches come from company A, 35% of the switches come from company B and 15% of the switches come from company C. Furthermore, it is known that 1% of the switches that company A supplies are defective, 2% of the switches that company B supplies are defective and 5% of the switches that company C supplies are defective. If a radio from this company was inspected and failed the inspection because of a defective on switch, what are the probabilities that that switch came from each of the suppliers.
  • 61. Example - continued Define the events S 1 = event that the on switch came from subcontractor A S 2 = event that the on switch came from subcontractor B S 3 = event that the on switch came from subcontractor C D = event the on switch was defective From the problem statement we have P(S 1 ) = 0.5, P(S 2 ) = 0.35 , P(S 3 ) = 0.15 P(D|S 1 ) =0.01, P(D|S 2 ) =0.02, P(D|S 3 ) =0.05
  • 63. Example - continued These calculations show that 25.6% of the on defective switches are supplied by subcontractor A, 35.9% of the defective on switches are supplied by subcontractor B and 38.5% of the defective on switches are supplied by subcontractor C. Even though subcontractor C supplies only a small proportion (15%) of the switches, it supplies a reasonably large proportion of the defective switches (38.9%).