SlideShare uma empresa Scribd logo
1 de 45
Baixar para ler offline
Elementary Probability
• Chance of observing a particular outcome.
• It is a measure of how likely an event is to occur.
• Assumes a “stochastic” or “random” process: i.e.. the
outcome is not predetermined - there is an element of
chance.
• Example: A physician say that a patient has a 50–50
chance of surviving a certain operation.
– Today there is a 60% chance of rain.
Cont…
• Probability theory developed from the study of games
of chance like dice and cards.
• A process like flipping a coin, rolling a die or drawing
a card from a deck are called probability experiments
Why Probability in Medicine?
“Statistics - A subject which most statisticians find difficult but
in which nearly all physicians are expert”
• Because medicine is an inexact science, physicians seldom
predict an outcome with absolute certainty.
• E.g., to formulate a diagnosis, a physician must rely on
available diagnostic information about a patient
• History and physical examination
• Laboratory investigation, X-ray findings, ECG, etc…
3
Cont…
• Although no test result is absolutely accurate, it does
affect the probability of the presence (or absence) of
a disease.
• Sensitivity = + and specificity = -
• Probability theory also allows us to draw conclusions
about a population of patients based on information
obtained from a sample of patients drawn from that
population.
4
Cont…
More importantly probability theory is used to
understand:
• About probability distributions: Binomial,
Poisson, and Normal Distributions
• Sampling and sampling distributions
• Estimation
• Hypothesis testing
• Advanced statistical analysis
5
Cont…
5
Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved.
5 - 6
P = probability …of getting four(4) aces
= 52 Cards(the Population)
Deck
D
a
t
13 cards
4 Suits
x
4 Suits
Hearts
Diamonds
Clubs Spades
13 cards in each
P
robability
Definitions of Some Probability Terms
• An experiment is an act or process of observation or
measurement/count that leads to a single outcome that cannot
be predicted with certainty.
• Example:
– Parasite counts of malaria patients entering Mizan-Aman
Hospital , or
– Measurements of social awareness among mentally
disturbed children or
– Measurements of blood pressure among a group of students
Cont…
• Probability Experiment: It is an experiment that can
be repeated any number of times under similar
conditions and it is possible to enumerate the total
number of outcomes with out predicting an individual
out come.
• Example:
– Tossing a coin.
– Looking for sex of child.
Cont…
• Sample point (outcome): The individual result of
a random experiment.
• Sample space: The set containing all possible
sample points (out comes) of the random
experiment.
• The sample space is often called the universe.
Sample spaces may be finite, countably infinite
or continuous.
Cont…
• Event: The collection of outcomes or simply a subset
of the sample space. We denote events with capital
letters, A, B, C, etc.
• Elementary event (simple event) is an event which
contains only a single outcome in the sample space.
• A compound event is one in which there is more than
one possible outcome.
Cont…
• Equally Likely Events: Events which have the same
equal chance of occurrence.
• Mutually Exclusive Events: Two events which cannot
happen at the same time.
• Independent Events: Two events are independent if
the occurrence of one does not affect the probability
of the other occurrence.
Cont…
• Example:
The outcomes on the first and second coin tosses are
independent.
• Dependent Events: Two events are dependent if the
first event affects the outcome or occurrence of the
second event in a way the probability is changed.
Approaches to Measuring Probability
There are different conceptual approaches to the study
of probability theory. These are:
 Subjective and
 Objective
 The classical approach.
 The relative frequency approach.
Subjective Probability
❖ A subjective probability is an individual’s degree of belief in
the occurrence of an event..
Example:
❖ If some one says that he is 95% certain that a cure for AIDS
will be discovered within 5 years, then he means that Pr(
discovery of cure of AIDS within 5 years) = 95%.=0.95
❖ Although the subjective view of probability has enjoyed
increased attention over the years, it has not fully accepted by
scientists.
14
The classical approach
 This approach is used when:
 All outcomes are equally likely.
 Total number of outcome is finite, say N.
Definition: If a random experiment with N equally likely
outcomes is conducted and out of these NA outcomes
are favorable to the event A, then the probability that
event A occur denoted is defined as:
P(A)= the probability of A = P(A) = NA/N
Cont…
 A fair die is tossed once. What is the probability of getting
 Number 4?
 An odd number?
 An even number?
 Short coming of the classical approach
This approach is not applicable when:
➢ The total number of outcomes is infinite.
➢ Outcomes are not equally likely.
Cont…
▪ Example:
▪ A fair die is tossed, and the up face is observed. If
the face is even, you win $1. Otherwise, you lose
$1. What is the probability that you win?
18
If we toss a coin, how many possibilities are?
Class cont.…
The Frequentist Approach
(based on repeatability of events)
 This is based on the relative frequencies of outcomes
belonging to an event.
 The probability of an event A is the proportion of
outcomes favorable to A in the long run when the
experiment is repeated under same condition (n).
 P(A)= the probability of A = P(E) = lim
𝑛→∞
𝑛𝐴
𝑛
• If you toss a coin 100 times and head comes up 40 times,
P(H) = 40/100 = 0.4
• If we toss a coin 10,000 times and the head comes up
5562,
P(H) = 0.5562
• Therefore, the longer the series and the longer sample
size, the closer the estimate to the true value
20
cont.…
• Since trials cannot be repeated an infinite number of
times, theoretical probabilities are often estimated by
empirical probabilities based on a finite amount of
data
• Example:
Of 158 people who attended a dinner party, 99 were
ill.
P (Illness) = 99/158 = 0.63 = 63%
21
cont.…
Axiomatic Approach:
Properties of Probability
1. The numerical value of a probability always lies
between 0 and 1, inclusive
0  P(E)  1
✓A value 0 means the event can not occur
✓A value 1 means the event definitely will occur
✓A value of 0.5 means that the probability that the
event will occur is the same as the probability that
it will not occur
23
2. The sum of the probabilities of all mutually exclusive outcomes is equal to 1.
P(E1) + P(E2 ) + .... + P(En ) = 1
3. For two mutually exclusive events A and B,
P(A or B ) = P(A) + P(B)
• Example:
• A coin toss cannot produce heads and tails simultaneously
• Weight of an individual classified as “underweight”, “normal”,
“overweight”
If not mutually exclusive:
P(A or B) = P(A) + P(B) - P(A and B)
24
cont.…
4. The complement of an event A, denoted by A’ or Ac,
is the event that A does not occur
• Consists of all the outcomes in which event A does
NOT occur .
P(A’) = 1 – P(A)
• These are complementary events
25
cont.…
26
RF cont.…
Basic Probability Rules
1. Addition rule
• If events A and B are mutually exclusive:
• P(A or B) = P(A) + P(B)
• P(A and B) = 0
More generally:
• P(A or B) = P(A) + P(B) - P(A and B)
• P(event A or event B occurs or they both occur)
27
• If A and B are not mutually exclusive events, then
subtract the overlapping:
P(AU B) = P(A)+P(B) − P(A ∩ B)
28
cont.…
2. Multiplication rule
• If A and B are independent events, then
P(A ∩ B) = P(A) × P(B)
• More generally,
P(A ∩ B) = P(A) P(B|A) = P(B) P(A|B)
P(A and B) denotes the probability that A and B
both occur at the same time.
29
cont.…
Conditional Probability
• Refers to the probability of an event, given that
another event is known to have occurred
• “What happened first is assumed”
• Hint - When thinking about conditional probabilities,
think in stages. Think of the two events A and B
occurring chronologically, one after the other, either
in time or space.
30
• The conditional probability that event B has
occurred given that event A has occurred is denoted
P(B|A) and is defined
provided that P(A) ≠ 0
31
Cont.…
• Example:
A study investigating the effect of prolonged exposure to
bright light on retina damage in premature infants.
Retinopathy
YES
Retinopathy
NO
TOTAL
Bright light
Reduced light
18
21
3
18
21
39
TOTAL 39 21 60
32
Cont.…
• The probability of developing retinopathy is:
P (Retinopathy) = No. of infants with retinopathy
Total No. of infants
= (18+21)/(21+39)
= 0.65
33
Cont.…
• We want to compare the probability of retinopathy,
given that the infant was exposed to bright light, with
that the infant was exposed to reduced light
• Exposure to bright light and exposure to reduced
light are conditioning events, events we want to take
into account when calculating conditional
probabilities.
34
Cont.…
• The conditional probability of retinopathy, given
exposure to bright light, is:
• P(Retinopathy/exposure to bright light) =
No. of infants with retinopathy exposed to bright light
No. of infants exposed to bright light
= 18/21 = 0.86
35
Cont.…
• P(Retinopathy/exposure to reduced light) =
# of infants with retinopathy exposed to reduced light
No. of infants exposed to reduced light
= 21/39 = 0.54
• The conditional probabilities suggest that premature
infants exposed to bright light have a higher risk of
retinopathy than premature infants exposed to reduced
light.
36
Cont.…
• For independent events A and B
P(A/B) = P(A)
• For non-independent events A and B
P(A and B) = P(A/B) P(B)
(General Multiplication Rule)
37
Cont.…
Test for Independence
• Two events A and B are
independent if:
P(B|A)=P(B)
or
P(A and B) = P(A) • P(B)
• Two events A and B are
dependent if:
P(B|A) ≠P(B)
or
P(A and B) ≠P(A) • P(B)
38
Cont.…
If the conditional and unconditional probabilities are
identical, then the two events are Independent.
Exercise:
• In a study of optic-nerve degeneration in Alzheimer’s
disease, postmortem examinations were conducted on 10
Alzheimer’s patients. The following table shows the
distribution of these patients according to sex and
evidence of optic-nerve degeneration.
• Are the events “patients has optic-nerve degeneration”
and “patient is female” independent for this sample of 10
patients?
39
Cont.…
Sex
Optic-nerve Degeneration
Present Not Present
Female 4 1
Male 4 1
40
Cont.…
Solution
• P(Optic-nerve degeneration/Female) =
No. of females with optic-nerve degeneration
No. of females
= 4/5 = 0.80
P(Optic-nerve degeneration) = No of patients with optic-nerve degeneration
Total No. of patients
= 8/10 = 0.80
The events are independent for this sample.
41
Cont.…
Culture and Gonodectin (GD) test results for 240 Urethral
Discharge Specimens
GD Test
Result
Culture Result
Gonorrhea No Gonorrhea Total
Positive 175 9 184
Negative 8 48 56
Total 183 57 240
42
Exercise
Cont…
1. What is the probability that a man has gonorrhea?
2. What is the probability that a man has a positive GD test?
3. What is the probability that a man has a positive GD test and
gonorrhea?
4. What is the probability that a man has a negative GD test and
does not have gonorrhea
5. What is the probability that a man with gonorrhea has a
positive GD test
43
Cont…
6. What is the probability that a man does not have
gonorrhea has a negative GD test?
7. What is the probability that a man does not have
gonorrhea has a positive GD test?
8. What is the probability that a man with positive
GD test has gonorrhea?
44
45

Mais conteúdo relacionado

Semelhante a Introduction to probability.pdf

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&Bayes theorem
Probability&Bayes theoremProbability&Bayes theorem
Probability&Bayes theoremimran iqbal
 
Probability concepts for Data Analytics
Probability concepts for Data AnalyticsProbability concepts for Data Analytics
Probability concepts for Data AnalyticsSSaudia
 
Chapter – 15 probability maths || CLASS 9 || The World Of presentation youtub...
Chapter – 15 probability maths || CLASS 9 || The World Of presentation youtub...Chapter – 15 probability maths || CLASS 9 || The World Of presentation youtub...
Chapter – 15 probability maths || CLASS 9 || The World Of presentation youtub...NishitGajjar7
 
CHAPTER 1 THEORY OF PROBABILITY AND STATISTICS.pptx
CHAPTER 1 THEORY OF PROBABILITY AND STATISTICS.pptxCHAPTER 1 THEORY OF PROBABILITY AND STATISTICS.pptx
CHAPTER 1 THEORY OF PROBABILITY AND STATISTICS.pptxanshujain54751
 
1615 probability-notation for joint probabilities
1615 probability-notation for joint probabilities1615 probability-notation for joint probabilities
1615 probability-notation for joint probabilitiesDr Fereidoun Dejahang
 
PROBABILITY
PROBABILITYPROBABILITY
PROBABILITYVIV13
 
Basic probability concept
Basic probability conceptBasic probability concept
Basic probability conceptMmedsc Hahm
 
BASIC PROBABILITY distribution - Copy.pptx
BASIC PROBABILITY distribution - Copy.pptxBASIC PROBABILITY distribution - Copy.pptx
BASIC PROBABILITY distribution - Copy.pptxMinilikDerseh1
 
Fundamentals Probability 08072009
Fundamentals Probability 08072009Fundamentals Probability 08072009
Fundamentals Probability 08072009Sri Harsha gadiraju
 
vinayjoshi-131204045346-phpapp02.pdf
vinayjoshi-131204045346-phpapp02.pdfvinayjoshi-131204045346-phpapp02.pdf
vinayjoshi-131204045346-phpapp02.pdfsanjayjha933861
 
Decision Sciences_SBS_10.pdf
Decision Sciences_SBS_10.pdfDecision Sciences_SBS_10.pdf
Decision Sciences_SBS_10.pdfKhushbooJoshiSBS
 

Semelhante a Introduction to probability.pdf (20)

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
 
Probability
ProbabilityProbability
Probability
 
Basic concepts of probability
Basic concepts of probabilityBasic concepts of probability
Basic concepts of probability
 
Probability&Bayes theorem
Probability&Bayes theoremProbability&Bayes theorem
Probability&Bayes theorem
 
Probability concepts for Data Analytics
Probability concepts for Data AnalyticsProbability concepts for Data Analytics
Probability concepts for Data Analytics
 
Probability concept and Probability distribution
Probability concept and Probability distributionProbability concept and Probability distribution
Probability concept and Probability distribution
 
Chapter – 15 probability maths || CLASS 9 || The World Of presentation youtub...
Chapter – 15 probability maths || CLASS 9 || The World Of presentation youtub...Chapter – 15 probability maths || CLASS 9 || The World Of presentation youtub...
Chapter – 15 probability maths || CLASS 9 || The World Of presentation youtub...
 
CHAPTER 1 THEORY OF PROBABILITY AND STATISTICS.pptx
CHAPTER 1 THEORY OF PROBABILITY AND STATISTICS.pptxCHAPTER 1 THEORY OF PROBABILITY AND STATISTICS.pptx
CHAPTER 1 THEORY OF PROBABILITY AND STATISTICS.pptx
 
1615 probability-notation for joint probabilities
1615 probability-notation for joint probabilities1615 probability-notation for joint probabilities
1615 probability-notation for joint probabilities
 
PROBABILITY4.pptx
PROBABILITY4.pptxPROBABILITY4.pptx
PROBABILITY4.pptx
 
PROBABILITY
PROBABILITYPROBABILITY
PROBABILITY
 
Probability
ProbabilityProbability
Probability
 
Basic probability concept
Basic probability conceptBasic probability concept
Basic probability concept
 
BASIC PROBABILITY distribution - Copy.pptx
BASIC PROBABILITY distribution - Copy.pptxBASIC PROBABILITY distribution - Copy.pptx
BASIC PROBABILITY distribution - Copy.pptx
 
Probability theory
Probability theoryProbability theory
Probability theory
 
Fundamentals Probability 08072009
Fundamentals Probability 08072009Fundamentals Probability 08072009
Fundamentals Probability 08072009
 
vinayjoshi-131204045346-phpapp02.pdf
vinayjoshi-131204045346-phpapp02.pdfvinayjoshi-131204045346-phpapp02.pdf
vinayjoshi-131204045346-phpapp02.pdf
 
Decision Sciences_SBS_10.pdf
Decision Sciences_SBS_10.pdfDecision Sciences_SBS_10.pdf
Decision Sciences_SBS_10.pdf
 
Addition rule and multiplication rule
Addition rule and multiplication rule  Addition rule and multiplication rule
Addition rule and multiplication rule
 
Machine learning session2
Machine learning   session2Machine learning   session2
Machine learning session2
 

Último

Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........LeaCamillePacle
 
Quarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up FridayQuarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up FridayMakMakNepo
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...Nguyen Thanh Tu Collection
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfSpandanaRallapalli
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Romantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptxRomantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptxsqpmdrvczh
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 

Último (20)

Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........
 
Quarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up FridayQuarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up Friday
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptx
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdf
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Romantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptxRomantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptx
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 

Introduction to probability.pdf

  • 1. Elementary Probability • Chance of observing a particular outcome. • It is a measure of how likely an event is to occur. • Assumes a “stochastic” or “random” process: i.e.. the outcome is not predetermined - there is an element of chance. • Example: A physician say that a patient has a 50–50 chance of surviving a certain operation. – Today there is a 60% chance of rain.
  • 2. Cont… • Probability theory developed from the study of games of chance like dice and cards. • A process like flipping a coin, rolling a die or drawing a card from a deck are called probability experiments
  • 3. Why Probability in Medicine? “Statistics - A subject which most statisticians find difficult but in which nearly all physicians are expert” • Because medicine is an inexact science, physicians seldom predict an outcome with absolute certainty. • E.g., to formulate a diagnosis, a physician must rely on available diagnostic information about a patient • History and physical examination • Laboratory investigation, X-ray findings, ECG, etc… 3 Cont…
  • 4. • Although no test result is absolutely accurate, it does affect the probability of the presence (or absence) of a disease. • Sensitivity = + and specificity = - • Probability theory also allows us to draw conclusions about a population of patients based on information obtained from a sample of patients drawn from that population. 4 Cont…
  • 5. More importantly probability theory is used to understand: • About probability distributions: Binomial, Poisson, and Normal Distributions • Sampling and sampling distributions • Estimation • Hypothesis testing • Advanced statistical analysis 5 Cont…
  • 6. 5 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. 5 - 6 P = probability …of getting four(4) aces = 52 Cards(the Population) Deck D a t 13 cards 4 Suits x 4 Suits Hearts Diamonds Clubs Spades 13 cards in each P robability
  • 7. Definitions of Some Probability Terms • An experiment is an act or process of observation or measurement/count that leads to a single outcome that cannot be predicted with certainty. • Example: – Parasite counts of malaria patients entering Mizan-Aman Hospital , or – Measurements of social awareness among mentally disturbed children or – Measurements of blood pressure among a group of students
  • 8. Cont… • Probability Experiment: It is an experiment that can be repeated any number of times under similar conditions and it is possible to enumerate the total number of outcomes with out predicting an individual out come. • Example: – Tossing a coin. – Looking for sex of child.
  • 9. Cont… • Sample point (outcome): The individual result of a random experiment. • Sample space: The set containing all possible sample points (out comes) of the random experiment. • The sample space is often called the universe. Sample spaces may be finite, countably infinite or continuous.
  • 10. Cont… • Event: The collection of outcomes or simply a subset of the sample space. We denote events with capital letters, A, B, C, etc. • Elementary event (simple event) is an event which contains only a single outcome in the sample space. • A compound event is one in which there is more than one possible outcome.
  • 11. Cont… • Equally Likely Events: Events which have the same equal chance of occurrence. • Mutually Exclusive Events: Two events which cannot happen at the same time. • Independent Events: Two events are independent if the occurrence of one does not affect the probability of the other occurrence.
  • 12. Cont… • Example: The outcomes on the first and second coin tosses are independent. • Dependent Events: Two events are dependent if the first event affects the outcome or occurrence of the second event in a way the probability is changed.
  • 13. Approaches to Measuring Probability There are different conceptual approaches to the study of probability theory. These are:  Subjective and  Objective  The classical approach.  The relative frequency approach.
  • 14. Subjective Probability ❖ A subjective probability is an individual’s degree of belief in the occurrence of an event.. Example: ❖ If some one says that he is 95% certain that a cure for AIDS will be discovered within 5 years, then he means that Pr( discovery of cure of AIDS within 5 years) = 95%.=0.95 ❖ Although the subjective view of probability has enjoyed increased attention over the years, it has not fully accepted by scientists. 14
  • 15. The classical approach  This approach is used when:  All outcomes are equally likely.  Total number of outcome is finite, say N. Definition: If a random experiment with N equally likely outcomes is conducted and out of these NA outcomes are favorable to the event A, then the probability that event A occur denoted is defined as: P(A)= the probability of A = P(A) = NA/N
  • 16. Cont…  A fair die is tossed once. What is the probability of getting  Number 4?  An odd number?  An even number?  Short coming of the classical approach This approach is not applicable when: ➢ The total number of outcomes is infinite. ➢ Outcomes are not equally likely.
  • 17. Cont… ▪ Example: ▪ A fair die is tossed, and the up face is observed. If the face is even, you win $1. Otherwise, you lose $1. What is the probability that you win?
  • 18. 18 If we toss a coin, how many possibilities are? Class cont.…
  • 19. The Frequentist Approach (based on repeatability of events)  This is based on the relative frequencies of outcomes belonging to an event.  The probability of an event A is the proportion of outcomes favorable to A in the long run when the experiment is repeated under same condition (n).  P(A)= the probability of A = P(E) = lim 𝑛→∞ 𝑛𝐴 𝑛
  • 20. • If you toss a coin 100 times and head comes up 40 times, P(H) = 40/100 = 0.4 • If we toss a coin 10,000 times and the head comes up 5562, P(H) = 0.5562 • Therefore, the longer the series and the longer sample size, the closer the estimate to the true value 20 cont.…
  • 21. • Since trials cannot be repeated an infinite number of times, theoretical probabilities are often estimated by empirical probabilities based on a finite amount of data • Example: Of 158 people who attended a dinner party, 99 were ill. P (Illness) = 99/158 = 0.63 = 63% 21 cont.…
  • 23. Properties of Probability 1. The numerical value of a probability always lies between 0 and 1, inclusive 0  P(E)  1 ✓A value 0 means the event can not occur ✓A value 1 means the event definitely will occur ✓A value of 0.5 means that the probability that the event will occur is the same as the probability that it will not occur 23
  • 24. 2. The sum of the probabilities of all mutually exclusive outcomes is equal to 1. P(E1) + P(E2 ) + .... + P(En ) = 1 3. For two mutually exclusive events A and B, P(A or B ) = P(A) + P(B) • Example: • A coin toss cannot produce heads and tails simultaneously • Weight of an individual classified as “underweight”, “normal”, “overweight” If not mutually exclusive: P(A or B) = P(A) + P(B) - P(A and B) 24 cont.…
  • 25. 4. The complement of an event A, denoted by A’ or Ac, is the event that A does not occur • Consists of all the outcomes in which event A does NOT occur . P(A’) = 1 – P(A) • These are complementary events 25 cont.…
  • 27. Basic Probability Rules 1. Addition rule • If events A and B are mutually exclusive: • P(A or B) = P(A) + P(B) • P(A and B) = 0 More generally: • P(A or B) = P(A) + P(B) - P(A and B) • P(event A or event B occurs or they both occur) 27
  • 28. • If A and B are not mutually exclusive events, then subtract the overlapping: P(AU B) = P(A)+P(B) − P(A ∩ B) 28 cont.…
  • 29. 2. Multiplication rule • If A and B are independent events, then P(A ∩ B) = P(A) × P(B) • More generally, P(A ∩ B) = P(A) P(B|A) = P(B) P(A|B) P(A and B) denotes the probability that A and B both occur at the same time. 29 cont.…
  • 30. Conditional Probability • Refers to the probability of an event, given that another event is known to have occurred • “What happened first is assumed” • Hint - When thinking about conditional probabilities, think in stages. Think of the two events A and B occurring chronologically, one after the other, either in time or space. 30
  • 31. • The conditional probability that event B has occurred given that event A has occurred is denoted P(B|A) and is defined provided that P(A) ≠ 0 31 Cont.…
  • 32. • Example: A study investigating the effect of prolonged exposure to bright light on retina damage in premature infants. Retinopathy YES Retinopathy NO TOTAL Bright light Reduced light 18 21 3 18 21 39 TOTAL 39 21 60 32 Cont.…
  • 33. • The probability of developing retinopathy is: P (Retinopathy) = No. of infants with retinopathy Total No. of infants = (18+21)/(21+39) = 0.65 33 Cont.…
  • 34. • We want to compare the probability of retinopathy, given that the infant was exposed to bright light, with that the infant was exposed to reduced light • Exposure to bright light and exposure to reduced light are conditioning events, events we want to take into account when calculating conditional probabilities. 34 Cont.…
  • 35. • The conditional probability of retinopathy, given exposure to bright light, is: • P(Retinopathy/exposure to bright light) = No. of infants with retinopathy exposed to bright light No. of infants exposed to bright light = 18/21 = 0.86 35 Cont.…
  • 36. • P(Retinopathy/exposure to reduced light) = # of infants with retinopathy exposed to reduced light No. of infants exposed to reduced light = 21/39 = 0.54 • The conditional probabilities suggest that premature infants exposed to bright light have a higher risk of retinopathy than premature infants exposed to reduced light. 36 Cont.…
  • 37. • For independent events A and B P(A/B) = P(A) • For non-independent events A and B P(A and B) = P(A/B) P(B) (General Multiplication Rule) 37 Cont.…
  • 38. Test for Independence • Two events A and B are independent if: P(B|A)=P(B) or P(A and B) = P(A) • P(B) • Two events A and B are dependent if: P(B|A) ≠P(B) or P(A and B) ≠P(A) • P(B) 38 Cont.… If the conditional and unconditional probabilities are identical, then the two events are Independent.
  • 39. Exercise: • In a study of optic-nerve degeneration in Alzheimer’s disease, postmortem examinations were conducted on 10 Alzheimer’s patients. The following table shows the distribution of these patients according to sex and evidence of optic-nerve degeneration. • Are the events “patients has optic-nerve degeneration” and “patient is female” independent for this sample of 10 patients? 39 Cont.…
  • 40. Sex Optic-nerve Degeneration Present Not Present Female 4 1 Male 4 1 40 Cont.…
  • 41. Solution • P(Optic-nerve degeneration/Female) = No. of females with optic-nerve degeneration No. of females = 4/5 = 0.80 P(Optic-nerve degeneration) = No of patients with optic-nerve degeneration Total No. of patients = 8/10 = 0.80 The events are independent for this sample. 41 Cont.…
  • 42. Culture and Gonodectin (GD) test results for 240 Urethral Discharge Specimens GD Test Result Culture Result Gonorrhea No Gonorrhea Total Positive 175 9 184 Negative 8 48 56 Total 183 57 240 42 Exercise
  • 43. Cont… 1. What is the probability that a man has gonorrhea? 2. What is the probability that a man has a positive GD test? 3. What is the probability that a man has a positive GD test and gonorrhea? 4. What is the probability that a man has a negative GD test and does not have gonorrhea 5. What is the probability that a man with gonorrhea has a positive GD test 43
  • 44. Cont… 6. What is the probability that a man does not have gonorrhea has a negative GD test? 7. What is the probability that a man does not have gonorrhea has a positive GD test? 8. What is the probability that a man with positive GD test has gonorrhea? 44
  • 45. 45