0% found this document useful (0 votes)
55 views96 pages

Quantitative Methods in Management: Chapter 4, 5 (Part) : 149-188

The probability of selecting a male taking statistics is 84/229 = 0.367 or 36.7% This is an empirical probability based on observed data in the contingency table. The number of males taking statistics (84) is divided by the total number of males (229).

Uploaded by

sudheer gotteti
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
55 views96 pages

Quantitative Methods in Management: Chapter 4, 5 (Part) : 149-188

The probability of selecting a male taking statistics is 84/229 = 0.367 or 36.7% This is an empirical probability based on observed data in the contingency table. The number of males taking statistics (84) is divided by the total number of males (229).

Uploaded by

sudheer gotteti
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 96

QUANTITATIVE

METHODS IN
MANAGEMENT
Chapter 4, 5 (part) : 149-188

DAY 6
Course content
Chapter Page number content
1 11-32 Introduction, variables, levels of measurement, types of statistics
2 33-98 Organizing and visualizing variables
3 99-148 Numerical descriptive measures – categorical / numerical – Measures of central
tendencies, measures of dispersion, skewness, kurtosis, measures of relations –
co variance and correlation
12 430-446 Simple linear regression, estimating bo and b1, measures of variations, SST, SSR
and SSE, coefficient of determination, coefficient of correlation.
4 149-182 Basic probability
5,6 183-232 Discrete probability distributions – binomial and poisson
Continuous probability distribution – Normal
7 234-257 Sampling distribution
8 258-293 Confidence interval – mean, proportion and determining sample size
9 294-304 Fundamentals of testing of hypothesis
11 402-415 Chi square test
15 15-1 to 15-17 Decision analysis
RECAP
• Introduction – definition, types of statistics, levels of
measurement
• Collection / compilation/ classification / tabulation
• Presentation – graphical and diagrammatic
• Measures of central tendencies
• Measures of dispersion
• Measures of skewness
• Exploratory data analysis
• Association between variables – covariance and correlation
• Regression analysis – simple, measures of variations ( SSE, SSR,
SST, coefficient of determination and coefficient of correlation)
INFERENCE STATISTICS
• Preliminaries  concepts on probability and random
variables, theoretical distributions
• Sampling distribution
• Estimation and
• Testing of hypothesis
Probability
• Concepts
• Definition - different ways of assigning probability.
• Understand and apply marginal, union, joint, and
conditional probabilities.
• Solve problems using the laws of probability including
the laws of addition, multiplication and conditional
probability
• Revise probabilities using Bayes’ rule.
CERTAIN/ REAL UNCERTAIN/ABSTRACT
• Survey • Experiment

• Data • Events

• Descriptive statistics • Probability inference statistics


Introduction
• A student considers enrolling in a program and
would like to know how difficult it is. She obtains
the marks distribution of students who have
appeared for the most recent exam

Marks % # of students
0 – 25 45
25 – 50 280
50 – 75 205
75 –100 30
Introduction…
• Assuming the next exam is equally tough and
there is a same % of dull and bright students, she
can conclude that the % of students in the 4
classes of marks would be

Marks % # of students % of students


0 – 25 45 8
25 – 50 280 50
50 – 75 205 37
75 –100 30 5
Introduction…
• The first distribution is related to past data and is
a frequency distribution
• The second relates to the future and is called a
probability distribution
• Inference
• 8% of the students score 0 – 25 mks, 50% between 25
& 50 & so on
• If the student considers herself in the top 5%, she can
expect to score 75 – 100 mks
• She has a 8% chance of scoring 0 – 25 mks etc
Probability…
• Business decisions are often based on an analysis
of uncertainties such as
• What are the chances that sales will decrease if we
increase prices?
• What is the likelihood a new assembly method will
increase productivity?
• How likely is it that the project will be finished on
time?
• What are the odds in favour of a new investment being
profitable?
• What are the VPs prospects of turning around a dept?
Probability
• This chance is “PROBABILITY”
• Some of the earliest works on probability
originated in a series of letters between Pierre de
Fermat and Blaise Pascal in the 1650s
• First general theory of probability was initially
applied to gambling – 19th century – Pierre Simon
Laplace in his book “Theorie Analytique de
Probabilities” in 1812
Probability is
 A quantitative measure of uncertainty
 A measure of the strength of belief in the
occurrence of an uncertain event
 A measure of the degree of chance or likelihood of
occurrence of an uncertain event
 Measured by a number between 0 and 1 (or
between 0% and 100%)
 Basis for inference statistics
Probability as a Numerical Measure
of the Likelihood of Occurrence

Increasing Likelihood of Occurrence

0 .5 1
Probability:

The event The occurrence The event


is very of the event is is almost
unlikely just as likely as certain
to occur. it is unlikely. to occur.
Basic Probability Concepts

• Probability – the chance that an uncertain


event will occur (always between 0 and 1)

• Impossible Event – an event that has no chance of


occurring (probability = 0)

• Certain Event – an event that is sure to occur


(probability = 1)
Events

Each possible outcome of a variable is an event/ collection of sample


points/ Collectively exhaustive/ sample space/ total possible event.

• Simple event
• An event described by a single characteristic
• e.g., A red card from a deck of cards
• Joint event
• An event described by two or more characteristics
• e.g., An ace that is also red from a deck of cards
• Complement of an event A (denoted A’)
• All events that are not part of event A
• e.g., All cards that are not diamonds
• Equally likely event

• Independent event

• Mutually exclusive event


Sample space
• Enumerating all the possible outcomes

• Permutations and combinations

• Contingency table

• Tree diagram

• Venn diagram
Sample Space
The Sample Space is the collection of all possible events
e.g. All 6 faces of a die:

e.g. All 52 cards of a bridge deck:


Visualizing Events
• Contingency Tables
Ace Not Ace Total

Black 2 24 26
Red 2 24 26

Total 4 48 52

Sample
• Decision Trees Ace 2 Space
Sample
Space ac k Card
Full Deck Bl Not an Ace 24
of 52 Cards Ace
Red Ca 2
rd
Not an 24
Ace
Definition
• Classical method of assigning probability (rules and
laws)

• Relative frequency of occurrence (cumulated


historical data)

• Subjective Probability (personal intuition or


reasoning)

• Axiomatic
Assessing Probability
There are three approaches to assessing
the probability of an uncertain event:
1. a priori -- based on prior knowledge of the process
X number of ways the event can occur
probability of occurrence  
Assuming
T total number of elementaryoutcomes
all
outcomes 2. empirical probability
are equally
likely number of ways the event can occur
probability of occurrence 
total number of elementaryoutcomes

3. subjective probability
based on a combination of an individual’s past experience,
personal opinion, and analysis of a particular situation
Example of a priori probability

Find the probability of selecting a face card (Jack, Queen,


or King) from a standard deck of 52 cards.

X number of face cards


Probability of Face Card  
T total number of cards

X 12 face cards 3
 
T 52 total cards 13
Empirical probability
• 383 of 751 business graduates were employed in the
past. The probability that a particular graduate will be
employed in his or her major area is 383/751 = 0.51
or 51%.
 
• The probability that your income tax return will be
audited if there are two million mailed to your district
office and 2,400 are to be audited is 2,400/2,000,000
= 0.0012 or 0.12%.
Example of empirical probability
Find the probability of selecting a male taking statistics from the
population described in the following table:

Taking Stats Not Taking Total


Stats
Male 84 145 229
Female 76 134 210
Total 160 279 38

number of males taking stats 84


Probability of male taking stats    0.191
total number of people 439
Relative Frequency Approach
• Probability is defined as the proportion of
times A occurs, if the experiment is
repeated several times under the same or
similar conditions
• Example - An insurance company knows
from past data that of all men, 60 yrs old,
about 50 out of every 1,00,000 will die
within a year
P = 50 / 100000 = 0.0005
• As the number of trials increase, the
estimate would reach true probability
Relative Frequency Method
 Example: Lucas Tool Rental
Lucas Tool Rental would like to assign probabilities
to the number of car polishers it rents each day.
Office records show the following frequencies of daily
rentals for the last 40 days.
Number of Number
Polishers Rented of Days
0 4
1 6
2 18
3 10
4 2
Relative Frequency Method
 Example: Lucas Tool Rental
Each probability assignment is given by dividing
the frequency (number of days) by the total frequency
(total number of days).
Number of Number
Polishers Rented of Days Probability
0 4 .10
1 6 .15
2 18 .45 4/40
3 10 .25
4 2 .05
40 1.00
Subjective Probability
• Comes from a person’s intuition or reasoning
• Subjective -- different individuals may (correctly) assign different numeric probabilities
to the same event
• Degree of belief
• Useful for unique (single-trial) experiments
• New product introduction
• Initial public offering of common stock
• Site selection decisions
• Sporting events

Example – an analyst on share prices may opine that the price of Reliance share has a 20%

probability of increasing by Rs.500 in the next 2 months


• Estimating the probability that a person wins a jackpot lottery.
• Estimating the probability that the GM will lose its first ranking in car sales.
Axiomatic ( basic rules)
• Probability lies between 0 and 1
• P(sure event) = 1
• P( impossible event) = 0
• P(AUB) = P(A) +P(B) – P(AB)
Definitions
Simple vs. Joint Probability
• Simple Probability refers to the probability of a
simple event.
• ex. P(King)
• ex. P(Spade)

• Joint Probability refers to the probability of an


occurrence of two or more events (joint event).
• ex. P(King and Spade)
SIMPLE PROBLEMS
Problem
• An experiment with three outcomes has been repeated
50 times, and it was learned that E1 occurred 20 times,
E2 occurred 13 times, and E3 occurred 17 times.
Assign probabilities to the outcomes. What method
did you use?

• A decision maker subjectively assigned the following


probabilities to the four outcomes of an experiment:
P(E1)= .10, P(E2) = .15, P(E3)= .40, and P(E4) =.20.
Are these probability assignments valid? Explain.
• The following data are the results of a random
poll of machinists and foremen regarding a
wage package

Opinion Machinists Foremen


Strongly Support 9 10
Mildly Support 11 3
Undecided 2 2
Mildly oppose 4 8
Strongly oppose 4 7
• What is the probability that
• A machinist mildly supports.
• A foreman is undecided.

• What types of probability estimates are


these?
Problem sol…
• What is the probability that
• A machinist mildly supports (11/60)
• A foreman is undecided ( 2/ 60)

• What types of probability estimates are these?


(Relative frequency)
Problem
• Data on the functioning of photocopiers in the
office
Copier Days functioning Days out of service
---------------------------------------------------------------------
1 209 51
2 217 43
3 258 02
4 229 31
5 247 13
---------------------------------------------------------------------
What is the probability of a copier being out of
service?
Problem 4
• Availability of VC funding has provided a big boost to companies. In
2017, 2374 VC disbursements were made – of these, 1434 were made
to companies in Bangalore, 390 in Chennai, 217 in Hyderabad and 112
in Mumbai. 22% of companies were in early stages of development &
55% in an expansion stage. If you were to randomly chose a company,
what is the probability that the company will be
• Be from Bangalore?
• Not be from one of the four places mentioned?
• Not be in early stages of development?
• The total funds was 32.4 crores. Estimate the amount that went to Mumbai.
• How many companies in Chennai were in early stage of development if they
were evenly distributed across the cities ?
solution
a. 1434/2374
b. 221/2374
c. 78%
d. 112/2374*32.4 crores
e. 22% of 390
Exercise
• 6 states in the US have the largest number
of Fortune 500 companies
• New York 56 - California 53
• Texas 43 - Illinois 37
• Ohio 28 - Pennsylvania 28
If a Fortune 500 company is chosen for a
survey, what are the probabilities of the
following?
• P(New York)
• P(Texas)
Mutually Exclusive Events
• Mutually exclusive events
• Events that cannot occur simultaneously

Example: Drawing one card from a deck of cards

A = queen of diamonds; B = queen of clubs

• Events A and B are mutually exclusive


Organizing & Visualizing Events

• Venn Diagram For All Days In 2015


Sample Space (All Days Days That Are In January and Are
In 2015) Wednesdays

January Days

Wednesdays
Organizing & Visualizing Events
(continued)

• Contingency Tables -- For All Days in 2015


Jan. Not Jan. Total

Wed. 4 48 52
Not Wed. 27 286 313

Total 31 334 365

Total
• Decision Trees Wed. 4 Number
Sample Of
Jan.
Space Sample
All Days Not Wed. 27
Space
In 2015 Wed. 48
Outcomes
No t J a
n.
Not W 286
ed.
Definition: Simple Probability
• Simple Probability refers to the probability of a
simple event.
• ex. P(Jan.)
• ex. P(Wed.)

Jan. Not Jan. Total P(Wed.) = 52 / 365


Wed. 4 48 52
Not Wed. 27 286 313

Total 31 334 365

P(Jan.) = 31 / 365
Definition: Joint Probability
• Joint Probability refers to the probability of an
occurrence of two or more events (joint event).
• ex. P(Jan. and Wed.)
• ex. P(Not Jan. and Not Wed.)

Jan. Not Jan. Total


P(Not Jan. and Not Wed.)
Wed. 4 48 52
= 286 / 365
Not Wed. 27 286 313

Total 31 334 365

P(Jan. and Wed.) = 4 / 365


Collectively Exhaustive Events
• Collectively exhaustive events
• One of the events must occur
• The set of events covers the entire sample space

Example: Randomly choose a day from 2015

A = Weekday; B = Weekend;
C = January; D = Spring;

• Events A, B, C and D are collectively exhaustive (but not


mutually exclusive – a weekday can be in January or in
Spring)
• Events A and B are collectively exhaustive and also
mutually exclusive
Collectively Exhaustive Events
• Collectively exhaustive events
• One of the events must occur
• The set of events covers the entire sample space

example:
A = aces; B = black cards;
C = diamonds; D = hearts

• Events A, B, C and D are collectively exhaustive (but


not mutually exclusive – an ace may also be a heart)
• Events B, C and D are collectively exhaustive and also
mutually exclusive
Probability Summary So Far
• Probability is the numerical measure of the likelihood
that an event will occur 1 Certain

• The probability of any event must be between 0 and 1,


inclusively
0 ≤ P(A) ≤ 1 For any event A
0.5
• The sum of the probabilities of all mutually exclusive
and collectively exhaustive events is 1

P(A)  P(B)  P(C)  1


0 Impossible
If A, B, and C are mutually exclusive and collectively
exhaustive
General Addition Rule

General Addition Rule:


P(A or B) = P(A) + P(B) - P(A and B)

If A and B are mutually exclusive, then


P(A and B) = 0, so the rule can be simplified:

P(A or B) = P(A) + P(B)


For mutually exclusive events A and B
Addition theorem
I
fXa
n
dYa
r
emu
t
ua
ll
yex
c
l
us
iv
e
,
P
(
X
Y
)P(
X)
P(
Y)

Y
X
Law of Addition

P( X  Y )  P( X )  P(Y )  P( X  Y )

X Y
Rules of Probability- Addition
theorem
• The probability of the entire sample space is 1
• 0  p(A)  1

• Mutually exclusive events, p(A or B) = p(A) + p(B)


• For non mutually exclusive events, p(A or B) =
p(A) + p(B) – p(A and B)

Example – 80% of tourists visit Delhi, 70% visit


Mumbai and 60% visit both
• P(D or M) – 0.9
• P(D nor M) – 0.1
General Addition Rule Example

P(Jan. or Wed.) = P(Jan.) + P(Wed.) - P(Jan. and Wed.)


= 31/365 + 52/365 - 4/365 = 79/365
Don’t count the
four Wednesdays
in January twice!

Jan. Not Jan. Total

Wed. 4 48 52
Not Wed. 27 286 313

Total 31 334 365


Computing Joint and
Marginal Probabilities

• The probability of a joint event, A and B:


number of outcomes satisfying A and B
P( A and B) 
total number of elementary outcomes

• Computing a marginal (or simple) probability:

P(A)  P(A and B1 )  P(A and B 2 )    P(A and Bk )


• Where B1, B2, …, Bk are k mutually exclusive and collectively
exhaustive events
Joint Probability Example
P(Red and Ace)

number of cards that are red and ace 2


 
total number of cards 52

Color
Type Red Black Total
Ace 2 2 4
Non-Ace 24 24 48
Total 26 26 52
Marginal Probability Example
P(Ace)

2 2 4
 P( Ace and Re d)  P( Ace and Black )   
52 52 52

Color
Type Red Black Total
Ace 2 2 4
Non-Ace 24 24 48
Total 26 26 52
Marginal & Joint Probabilities In
A Contingency Table

Event
B1 B2
Event Total
A1 P(A1 and B1) P(A1 and B2) P(A1)

A2 P(A2 and B1) P(A2 and B2) P(A2)

Total P(B1) P(B2) 1

Joint Probabilities Marginal (Simple) Probabilities


Joint Probability Example

P(Jan. and Wed.)


number of days that are in Jan. and are Wed. 4
 
total number of days in 2015 365

Jan. Not Jan. Total

Wed. 4 48 52
Not Wed. 27 286 313

Total 31 334 365


Marginal Probability Example

P(Wed.)
448
52

P
( 
Jan.
and
W 
P(Not
Jan.
and 
ed.)
W) ed.
365
365
365

Jan. Not Jan. Total

Wed. 4 48 52
Not Wed. 27 286 313

Total 31 334 365


General Addition Rule Example

P(Red or Ace) = P(Red) +P(Ace) - P(Red and Ace)

= 26/52 + 4/52 - 2/52 = 28/52


Don’t count
the two red
Color aces twice!
Type Red Black Total
Ace 2 2 4
Non-Ace 24 24 48
Total 26 26 52
Computing Conditional Probabilities
• A conditional probability is the probability of one event,
given that another event has occurred:

P(A and B) The conditional


P(A | B)  probability of A given
P(B) that B has occurred

P(A and B) The conditional


P(B | A)  probability of B given
P(A) that A has occurred

Where P(A and B) = joint probability of A and B


P(A) = marginal or simple probability of A
P(B) = marginal or simple probability of B
Conditional Probability Example

 Of the cars on a used car lot, 70% have air


conditioning (AC) and 40% have a CD player (CD).
20% of the cars have both.

• What is the probability that a car has a CD player,


given that it has AC ?

i.e., we want to find P(CD | AC)


Conditional Probability Example
(continued)
 Of the cars on a used car lot, 70% have air conditioning (AC) and 40% have a CD
player (CD).
20% of the cars have both.

CD No CD Total

AC 0.2 0.5 0.7


No AC 0.2 0.1 0.3
Total 0.4 0.6 1.0
P(CD and AC) 0.2
P(CD | AC)    0.2857
P(AC) 0.7
Conditional Probability Example
(continued)
 Given AC, we only consider the top row (70% of the cars). Of
these, 20% have a CD player. 20% of 70% is about 28.57%.

CD No CD Total

AC 0.2 0.5 0.7


No AC 0.2 0.1 0.3
Total 0.4 0.6 1.0

P(CD and AC) 0.2


P(CD | AC)    0.2857
P(AC) 0.7
Using Decision Trees
.2
Given AC or no AC: CD .7 P(AC and CD) = 0.2
Ha s

=0 .7
C) Does
P(A n
have ot .5 P(AC and CD’) = 0.5
AC CD
a s
H .7
All Conditional
Probabilities
Cars
Doe .2
hav s not .3
eA D P(AC’ and CD) = 0.2
C P(A a s C
C ’) = H
0.3
Does
n
have ot .1 P(AC’ and CD’) = 0.1
CD
.3
Using Decision Trees
(continued)
.2
Given CD or no CD: .4 P(CD and AC) = 0.2
a s AC
H
.4
D )=0 Does
P( C n
have ot .2 P(CD and AC’) = 0.2
C D AC
Has .4
All Conditional
Probabilities
Cars
Doe .5
hav s not .6
e CD C P(CD’ and AC) = 0.5
P(C a s A
D ’)= H
0 .6
Does
n
have ot .1 P(CD’ and AC’) = 0.1
AC
.6
Independence
• Two events are independent if and only if:

P(A | B)  P(A)
• Events A and B are independent when the probability of
one event is not affected by the fact that the other event
has occurred
Multiplication Rules

• Multiplication rule for two events A and B:

P(A and B)  P(A | B) P(B)

Note: If A and B are independent, then P(A | B)  P(A)


and the multiplication rule simplifies to

P(A and B)  P(A) P(B)


Marginal Probability
• Marginal probability for event A:

P(A)  P(A | B1 ) P(B1 )  P(A | B2 ) P(B2 )    P(A | Bk ) P(Bk )

• Where B1, B2, …, Bk are k mutually exclusive and collectively exhaustive events
Problem Contingency Table

Counts

AT& T IBM Total

Telecommunication 40 10 50
Probability that a project is
undertaken by IBM given it is a
Computers 20 30 50 telecommunications project:

Total 60 40 100

Probabilities
P ( IBM  T )
AT& T IBM Total P ( IBM T ) 
P (T )
Telecommunication .40 .10 .50
0 . 10
  0 .2
Computers .20 .30 .50 0 . 50

Total .60 .40 1.00


Problem
• Job Satisfaction scores (0-100)
<50 50-60 60-70 70-80 80-90

Carpenter 0 2 4 3 1

Lawyer 6 2 1 1 0

Therapist 0 5 2 1 2

System 2 1 4 3 0
Analyst
Problem ….
• Develop a joint probability table
• What is the p that one of the participants had a score
in the 80s
• What is the p of a score in the 80s given he was a
therapist
• What is the p that one of the participants was a
lawyer
• What is the p that one of the participants was a
lawyer and received a score under 50
• What is the p of a score under 50 given that he is a
lawyer
• What is the p of being a lawyer given that his score is
under 50
• What is the p of a score of 70 or higher
Problem
• Joint Probability table
<50 50-60 60-70 70-80 80-90 Total

Carpenter .000 .050 .100 .075 .025 .250

Lawyer .150 .050 .025 .025 .000 .250

Therapist .000 .125 .050 .025 .050 .250

System Analyst .050 .025 .100 .075 .000 .250

TOTAL .200 .250 .275 .200 .075 1.000


Problem
• Preference of a brand of soap in 4 cities

Delhi Kolkata Chennai Mumbai

Yes 45 55 60 50

No 35 45 35 45

No 5 5 5 5
opinion
Problem …
What is the probability that a consumer selected at
random
• Preferred the brand = 210/390
• Preferred the brand and was from Chennai = 60/390
• Preferred the brand given that he was from Chennai =
60/100
• Given that a consumer preferred the brand, what
is the p that he was from Mumbai = 50/210
Bayes’ Theorem
• Bayes’ Theorem is used to revise previously
calculated probabilities based on new information.

• Developed by Thomas Bayes in the 18th Century.

• It is an extension of conditional probability.


Bayes’ Theorem

P(A | B i )P(Bi )
P(Bi | A) 
P(A | B 1 )P(B1 )  P(A | B 2 )P(B2 )      P(A | B k )P(Bk )

• where:
Bi = ith event of k mutually exclusive and collectively
exhaustive events
A = new event that might impact P(Bi)
Bayes’ Theorem …
Prior Probabilities

New Information

Bayesian Theorem

Posterior Probabilities
Bayes’ Theorem Example
• A drilling company has estimated a 40% chance of
striking oil for their new well.
• A detailed test has been scheduled for more
information. Historically, 60% of successful wells
have had detailed tests, and 20% of unsuccessful
wells have had detailed tests.
• Given that this well has been scheduled for a
detailed test, what is the probability
that the well will be successful?
Bayes’ Theorem Example
(continued)

• Let S = successful well


U = unsuccessful well
• P(S) = 0.4 , P(U) = 0.6 (prior probabilities)
• Define the detailed test event as D
• Conditional probabilities:
P(D|S) = 0.6 P(D|U) = 0.2
• Goal is to find P(S|D)
Bayes’ Theorem Example
(continued)
Apply Bayes’ Theorem:

P(D | S)P(S)
P(S | D) 
P(D | S)P(S)  P(D | U)P(U)
(0.6)(0.4)

(0.6)(0.4)  (0.2)(0.6)
0.24
  0.667
0.24  0.12

So the revised probability of success, given that this well has


been scheduled for a detailed test, is 0.667
Bayes’ Theorem Example
(continued)

• Given the detailed test, the revised probability of a


successful well has risen to 0.667 from the original
estimate of 0.4

Prior Conditional Joint Revised


Event Prob.
Prob. Prob. Prob.
S (successful) 0.4 0.6 (0.4)(0.6) = 0.24 0.24/0.36 = 0.667
U (unsuccessful) 0.6 0.2 (0.6)(0.2) = 0.12 0.12/0.36 = 0.333

Sum = 0.36
Problem 13
The probability of 3 events A, B and C occurring
are
p(A) = .35 p(B) = .45 p(C) = 0.2
Assuming that A, B or C has occurred, the
probabilities of another event, X, occurring are
p(X/A) = .8 p(X/B) = .65 p(X/C) = 0.3

Find p(A/X), p(B/X) and p(C/X)


Problem
Prior Conditional Joint Posterior
P(A) P(X/A) = . P(XA) = .80 * . P(A/X) = .28/.6325
= .35 80 35 = .4427
= .28
P(B) P(X/B) = .65 P(XB) = .65 * .45 P(B/X)= .2925/.6325
= .45 = .2925 = .4624
P(C) P(X/C) = .30 P(XC) = .30 * .20 P(C/X) = .06/.6325
= .20 = .06 = .0949
P(X) = p(XA) + .6325 1.0000
p(XB) + p(XC)
Problem
.8 .8*.35 =.28 .28/.6325 =.4427

.35

.45 .65 .65*.45=.2925 .2925/.6325=.4624

.20
.3 .3*.2 = .06 .06/.6325=.0949

Prior Conditional Joint Posterior


Problem 14
When a machine is set correctly, it produces 25%
defectives – otherwise it produces 60% defectives.
From past experience, manufacturer knows that
the chances that the machine is set correctly or
wrongly is 50/50. The machine was set and
before production, one piece was inspected and
found to be defective. What is the probability of
the machine set up being correct?
Problem …
.25 5*.25 =.125 .29

.5

.5
.60 .5*.6 = .30 .71

Prior Condl Joint Posterior


Problem 15
An item is manufactured by 3 machines, M1, M2 and M3.
Out of the total manufactured during a specific
production period, 50% are manufactured on M1, 30% on
M2 and 20% on M3. 2% of the items are produced by M1
& M2 are defective, while 3% of those by M3 are defective.
All items are put into one bin. From the bin, one item is
drawn at random and is found to be defective. What is
the ‘p’ that it was made on M1, M2 or M3?
Problem …
.02 .01 .4546

.5

.3 .02 .006 .2727

.2
.03 .006 .2727

Prior Condl Joint Posterior


Problem 16
A doctor has decided to prescribe 2 new drugs
to 200 heart patients as follows: 50 get Drug
A, 50 get Drug B and 100 get both. The 200
patients were chosen so that each had a 80%
chance of having a heart attack, if given
neither drug. Drug A reduces the probability
of a heart attack by 35%, B by 20% and the 2
drugs taken together work independently. If
a randomly selected patient in a program has
a heart attack, what is the probability that
the patient was given both drugs?
Problem 16…
Prior Conditional Joint Posterior
P(A) P(H/A) = P(HA) = .52 * .25 P(A/H) = .13/.498
= .25 .8 * .65 = .520= .13 = .261
P(B) P(H/B) = . P(HB) = .64 * .25 P(B/H)= .16/.498
= .25 8*.8=.640 = .16 = .321
P(A&B) P(H/A & B) = . P(HAB) = . P(A&B/H) = .208/.498
= .50 8*.65*.8=.416 416*.5 = .418
= .208
P(H) .498 1.0000
Counting Rules
• Rules for counting the number of possible outcomes

• Counting Rule 1:
• If any one of k different mutually exclusive and
collectively exhaustive events can occur on each of n
trials, the number of possible outcomes is equal to

kn
• Example
• If you roll a fair die 3 times then there are 63 = 216 possible
outcomes
Counting Rules
(continued)
• Counting Rule 2:
• If there are k1 events on the first trial, k2 events on the
second trial, … and kn events on the nth trial, the number
of possible outcomes is

(k1)(k2)…(kn)

• Example:
• You want to go to a park, eat at a restaurant, and see a movie.
There are 3 parks, 4 restaurants, and 6 movie choices. How
many different possible combinations are there?
• Answer: (3)(4)(6) = 72 different possibilities
Counting Rules
(continued)

• Counting Rule 3:
• The number of ways that n items can be arranged in order
is

n! = (n)(n – 1)…(1)

• Example:
• You have five books to put on a bookshelf. How many different
ways can these books be placed on the shelf?

• Answer: 5! = (5)(4)(3)(2)(1) = 120 different possibilities


Counting Rules (continued)

• Counting Rule 4:
• Permutations: The number of ways of arranging X objects
selected from n objects in order is

n!
n Px 
(n  X)!
• Example:
• You have five books and are going to put three on a bookshelf.
How many different ways can the books be ordered on the
bookshelf?
n! 5! 120
• Answer: n Px     60
(n  X)! (5  3)! 2 possibilities
different
Counting Rules
(continued)
• Counting Rule 5:
• Combinations: The number of ways of selecting X objects
from n objects, irrespective of order, is
n!
n Cx 
X!(n  X)!

• Example:
• You have five books and are going to select three are to read.
How many different combinations are there, ignoring the order
in which they are selected?
n! 5! 120
n Cx     10
X!(n  X)! 3!(5  3)! (6)(2)
• Answer: different possibilities
Chapter Summary
• Discussed basic probability concepts
• Sample spaces and events, contingency tables, Venn diagrams, simple
probability, and joint probability
• Examined basic probability rules
• General addition rule, addition rule for mutually exclusive events, rule
for collectively exhaustive events
• Defined conditional probability
• Statistical independence, marginal probability, decision trees, and the
multiplication rule
• Discussed Bayes’ theorem

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy