Probability & Probability Distribution
Probability & Probability Distribution
1
Inferential Statistics
2
Objectives
At the end of this course, students will be able to
Explain Probability and Types of probabilities
3
Probability and probability distribution
Probability refers to likelihood of an event occuring, as a
value b/n 0 and 1, where 0 indicates impossibility &1
indicates certainty of an event to happen.
4
Probability and probability distribution………..
An understanding of probability is fundamental for
quantifying the uncertainty that is inherent in the
decision-making process
5
Probability and probability distribution………..
Basic terms
Probability experiment is an action through which
specific results/outcomes(counts, measurements or
responses) are obtained.
Example:
Tossing a coin and observing the face showing up is a
probability experiment.
7
Probability and probability distribution………..
Random variable: It is a variable associated with a
randomly selected sample
RV can take on different values according to the
outcome of a random experiment.
Example:
A medical doctor realized that out of 100,000 patients
visited the hospital, there are 50 cancer cases. What is
the probability that a patient to be examined will be
positive for cancer?
P(+ve for cancer) = 50/100,000 = 0.0005
If we toss a coin 10,000 times and the head comes up
5562, P(h) = 0.5562. 10
Probability and probability distribution………..
If the number of trials in an experiment is repeated
over and over, the empirical probability of an event
approaches the classical /theoretical (actual)probability
of the event.
Example: See how the probability of getting head
changes as the number of trials of tossing a coin
change:
11
Probability and probability distribution………..
Subjective Probability: It is usually set from
intuition, educated guesses, or estimates.
12
Unions and Intersections
Unions of Two Events
―If A and B are events, then the union of A and B, denoted
by AUB, represents the event composed of all basic
outcomes in A or B.‖
Intersections of Two Events
―If A and B are events, then the intersection of A and B,
denoted by AnB, represents the event composed of all
basic outcomes in A and B.‖
13
Probability and probability distribution………..
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.
The sum of the probabilities of all mutually
exclusive outcomes is equal to 1.
P(E1) + P(E2 ) + .... + P(En ) = 1.
14
Probability and probability distribution………..
For two mutually exclusive events A and B,
P(A or B ) = P(A) + P(B).
If not mutually exclusive:
P(A or B) = P(A) + P(B) - P(A and B)
16
Example
The following data are the results of
electrocardiograms (ECGs)
and radionuclide angiocardiograms (RAs) for 19
patients with
post-traumatic myocardial confusions.
– 7 patients developed both ECG and RA
abnormality
– 17 patients developed ECG abnormal only
– 9 patients developed RA abnormal only
What is the probability of ECGs and RAs
P(ECG abnormal and RA abnormal) = 7/19 = 0.37
What is the probability of ECGs or RAs
P(ECG abnormal) + P(RA abnormal) – P(Both ECG
and RA abnormal)
= 17/19 + 9/19 – 7/19 = 19/19 =1 17
Probability and probability distribution………..
Multiplication rule
If A and B are two events in a sample space S, the
probability of the joint occurrence of both A and B is
given by
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. I,e both events happening
together that is what we call it joint probability.
Probability and probability distribution………..
To convert joint probabilities in to public health
language,
Smoking & Lung Cancer :
P(A) =Probability of some one being smoker =.0.3(30%)
P(B) =Probability of that person developing lung
cancer=0.4(40%)
Then the joint probability of both smoking and
developing lung cancer due to smoking is
P(AnB)=P(A)P(B/A)=P(B)P(A/B)=0.3*0.4=0.12(12%)
21
Probability and probability distribution………..
• A system contains two components, A and B. Both components
must function for the system to work. The probability that
component A fails is 0.08, and the probability that component B
fails is 0.05. Assume the two components function independently.
• What is the probability that the system fails?
• P(A fails and B fails) = P(A fails) P(B fails)
= (0.08)(0.05) = 0.004
22
Conditional probabilities
CP is the probability of an event occurring
given that another event has already occurred.
Denoted by (P(A/B)),read as the probability of
event A given event B‖
23
Application of conditional probability in public health
Conditional probability plays a crucial role in
understanding the likelihood of disease transmission
given certain conditions.
24
Example:
A study investigating the effect of prolonged exposure to
bright light on retina damage in premature infants.
25
Probability and probability distribution………..
The probability of developing retinopathy is:
P(Retinopathy) = No. of infants with retinopathy
Total No. of infants
= (18+21)/(21+39) = 0.65
26
Probability and probability distribution………..
The conditional probability of retinopathy, given
exposure to bright light, is:
18/21 = 0.86
27
Probability and probability distribution………..
Bayes Theorem
Allows us to calculate some conditional probabilities
using other conditional probabilities
28
Probability and probability distribution………..
Application of Bayes theorem & conditional probability
29
Probability and probability distribution………..
30
Probability and probability distribution………..
31
Exercise
A. What is the probability of a person randomly picked
is a male?
C. Given that the person has used cocaine less than 100
times, what is the probability of being female?
32
Probability and probability distribution………..
Counting Rules
Permutations
Combinations
33
Probability and probability distribution………..
34
Probability and probability distribution………..
Permutations
The number of possible permutations is the number of
different orders in which particular events occur. The
number of possible permutations are
35
Probability and probability distribution………..
Example: Five different new drugs are given
simultaneously to each of the five patients. The drugs
are compared by the length of time taken to cure the
patients.(assume that the five patients are same in all
other characteristics like: disease type, severity status,
sex, age etc. )
a)How many possible drugs we have for the 1st place
(the fastest to cure).
37
Probability and probability distribution………..
Example:
Three members of a 5-person committee must
be chosen to form a subcommittee. How many
different subcommittees could be formed?
38
Sampling with and without replacement
Sampling with replacement from finite population or
sampling from infinite population
Here if the population is finite, the selected unit will
be returned back to the population after being
observed
The probability of selecting a sampling unit from a
population remains constant every time
Sampling without replacement for finite population
We do not return back the selected object/individual
As a result, the probability of selecting a sampling
unit changes every time.
39
Probability and probability distribution………..
• Example: From a population of 10 TB patients who
are numbered 1 up to 10, two are randomly selected
sequentially and assigned to a new drug treatment .
How many possible samples of size 2 can we form if
sampling is:
a. With replacement/with more possibilities?
a. Without replacement/only one chance to draw?
40
Probability distribution
A probability distribution is complete description of the
probabilities of all possible outcomes of a random variable
.
Probability distribution is possibilities of multiple outcomes
41
Probability distribution……
Probability distribution of a categorical variables
Discrete probability distributions
The binomial distribution and
The Poisson distribution
42
Probability distribution……
Bernoulli Distribution
When a random process or experiment, called a trial, can
result in only one of two mutually exclusive outcomes,
such as
Male or female
dead or alive,
sick or well,
43
Probability distribution……
Binomial Distribution
Based on Bernoulli trial = When a single trial of some
experiment can result in only one of two mutually
exclusive outcomes (success or failure; dead or alive;
sick or well, male or female)
In general the binomial distribution involves three
assumptions
There are fixed n number of Bernoulli trial search
of which results in one of two mutually exclusive
outcomes.
The outcomes of n trials are independent.
The probability of ―success‖ is constant for each
trial
Pr (X=success) = Pr (X=1) =p
Pr (X=failure) = Pr (X=0) = 1-p 44
Probability and probability distribution………..
• If you have only two possible outcomes (call them 1/0 or
yes/no or success/failure) n independent trials, then the
probability of exactly X― successes‖ is:
45
Probability and probability distribution………..
• Example 1: Suppose that in a certain population, 52% of all
recorded births are males. If we select randomly 10 birth
records, what is the probability that exactly 5 will be males?
46
Exercise
Each child born to a particular set of parents has
a probability of 0.25 of having blood type O. If these
parents have 5 children.
What is the probability that
a. Exactly two of them have blood type O
b. At most 2 have blood type O
c. At least 4 have blood type O
d. 2 do not have blood type O.
47
Probability and probability distribution………..
In addition to the probabilities of individual outcomes, we can
also compute the numerical summary measures associated
with a probability distribution.
49
The Poisson distribution
When the probability of ―success‖ is very small, e.g.,
the probability of a mutation, then
p x and (1 –p)n– x become too small to calculate
exactly by the binomial distribution.In such cases, the
Poisson distribution becomes useful
51
Continuous Probability Distributions
52
Continuous Probability Distributions……
A continuous random variable has an infinite number of
possible values that can be represented by an interval on
the number line.
54
Continuous Probability Distributions……
The Normal Distribution
55
Continuous Probability Distributions……
Properties of a Normal Distribution
The mean, median, and mode are equal.
57
Continuous Probability Distributions……
58
The Standard Normal Distribution
SND is a normal distribution that has a mean equal to
0 and a SD equal to 1, and is denoted by N(0, 1).
The main idea is to standardize all the data that is
given by using Z-scores.
These Z-scores can then be used to find the area (and
thus the probability) under the normal curve.
Z-transformation: If a random variable
X~N(,) then we can transform it to a SND
with the help of Z-transformation
Z= x-
Z represents the Z-score for a given x value
59
Properties of the Standard Normal Distribution
The cumulative area is close to 0 for z- scores close to z=− 3.49.
The cumulative area increases as the z- scores increase.
The cumulative area for z= 0 is 0.5000.
The cumulative area is close to1forz- scores close to z=3. 49
60
Guidelines for Finding Areas
1)Sketch the standard normal curve and shade the
appropriate area under the curve.
2) Find the area by following the directions for each case shown.
61
Guidelines for Finding Areas
• Finding Areas Under the Standard Normal Curve
b. To find the area to the right of z , use the Standard Normal
Table to find the area that corresponds to z. Then subtract the
area from 1 ; I;e Pr[>Z]
62
To find the area between two z- scores, find the area
corresponding to each z- score in the Standard Normal Table.
Then subtract the smaller area from the larger area I,e
P r [ a < X < b],
63
The Standard Normal Table
• Example: Find the cumulative area that corresponds to a z- score
of 2.71.
• Find the area by finding 2.7 in the left hand column, and then
moving across the row to the column under 0.01.
The area to the left of z= 2.71 is 0.9966 64
The Standard Normal Table……………
65
Normal Distributions and Probabilities
66
Normal Distributions and Probabilities………
67
Normal Distributions and Probabilities……….
• The diastolic blood pressures of males 35–44 years of age are
normally distributed with µ = 80 mm Hg and σ2 = 144 mmHg2
σ = 12 mm Hg
• Let individuals with BP above 95 mm Hg are considered to be
hypertensive.
• What is the probability that a randomly selected male has a
blood pressure above 95 mm Hg?
Solution:
68
Exercise
A population of sandwich has a mean weight of
250 grams with standard deviation of
20 grams. Based on this
information give a short answer to the
following questions.
1.What proportion of sandwiches will weight above 289. 2
grams?
69
70
71
72
Thank You For Attention!
73