Slide 2 (Basic probabilityjhhhhhhhhhhh).pdf

BirBetalMatketing 15 views 27 slides May 08, 2024
Slide 1
Slide 1 of 27
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26
Slide 27
27

About This Presentation

asclkasasdvasddkjasdjkdkjsadajkasddfjasdjfasd


Slide Content

Basic Probability
•Definition & Terminologies
•Basic Laws
•Independent, Dependent,
Conditional
•Bayes theorem
Coverage:

Probability
•Probability is simply how likely
something is to happen.
•Many events can't be predicted with total certainty.
The best we can say is how likelythey are to happen,
using the idea of probability.
•How likely tossing a coin I will get ‘head’?
•How likely it will rain everyday in the month of
‘shrawannext year?
•How likely you will be a “happy” person in your life?

Your turn: give answer
What is the probability that a non-leap
year contains 53 Sundays?
And if it is a leap year?
ANS: 1/7
(& 2/7)
Non-leap yrhas 52 full weeks +1 extra day
1 extra day could be Sun, Mon,…Sat
P(extra Sunday) =1/7

58-4
Flipping is an Experiment / Trial
Head + Tail makes Sample Space
Head is Favorable case/Outcome, if we win for Head up
BothHead & Tail are possible outcomes -Exhaustive cases
In one tossboth H& Tcannot occur -Mutually exclusive
In tossing a fair coin bothH & T areEqually Likely
Terminologies
You flip a coin

Three type of probability
•a-priori
•empirical
•subjective

a-priori (Classical )ProbabilityEin outcomes ofnumber
outcomes ofnumber total
:
)(
e



n
n
N
Where
N
EP
e
Formula is applicable only if:
•Each outcome is equally likely,
exhaustive & mutually exclusive
•Needs a priori--information of chance

Find the probability, if we have such contingency table
•What is the probability that a household is planning to
purchase a large TV? =250/1000
•What is the probability that a household will actually
purchase a large TV? =300/1000
•What is the probability that a household is planning to
purchase a large TV and actually purchases the
television?=200/1000
Purchase behavior of big-screen TV

Probability of 2 or more events
2 die: redandblue, are rolled.
What is the probability that we get-
FIVE in blue& SIX in red ?
4-8
Laws for compound events
•Unions and Intersections of Events
•Independent and Dependent Events
•Complementary Events

Purchase behavior of big-screen TV
simple
events
Also called
Marginal
events
Joint event:
P(plan andactually purchased) = 200/1000
Complement event: (No plan to purchase),
is complement event of (Plan to purchase)

Marginal probability from joint prob
P(A) = P(A & B) + p(A & notB)

U = OR, Either X or Y
= AND, both X and Y
X YXUY
X Y

Mutually Exclusive (disjoint)
•Events with no common elements
are disjoint
YXPXY( )0
•P(Employedwho purchase
TV & unemployedwho
purchased TV) = 0
•Male & Female students
•HH in Urban & Rural

Independent & Dependent Events
Probability laws differ when
events are independent or when
dependent
#

General Law of Addition)&()()()(
)()()()(
YXPYPXPYorXP
YXPYPXPYXP


YX
When events are disjoint)()()( YPXPYXP 

Example: Law of Addition [ X ORY ]

Your turn
Let the events,
N=prefer name brand milk
M= male
Now,
a)P(N)=
660
2276
b)P(M & N) =
319
2276
=.14
c)P(M or N)=
P(M)+P(N)-P(M&N)
=
1138
2276
+
660
2276

319
2276
= .6498

Break
4-17

Independent Events
•Occurrence of one event does not affect the
occurrence or nonoccurrence of the other
event
•Getting Hin first toss of coin not affect
getting Hagain in second toss
•Solving a problem by student X has no
effect on solving same by student Y
•If X & Y are indep. events, P(X∩Y)=0

Happening of at least one Independent events
•When events X & Y are two independent
events, happening of at least one:
??????�∪�=�−??????�∩�
=�−??????�∩??????�
= �−??????�×??????�

Example: A problem was given to three students X, Y, & Z
whose chances of solving such problem is 0.5, 0.6 & 0.7
respectively.
If all three tries to solve the problem independently, what is
the chance that the problem will be solved?
??????�∪�∪�=�−??????�∩�∩�
=�−??????�∩??????�∩??????�
= �−??????�×??????�×??????�
=1-(0.5)x(0.4)x(0.3) = .94
Your turn: if P(A)= 0.2, P(B)=0.3 & P(C )=0.6 for
solving a problem, what is the chance that problem
will be solved?
Ans:
.776

Event P or A but not both
4-2115.0
1000
2002
1000
300
1000
250
)(2)()(
)(


X
APPAPPP
bothnotbutAORPP
P

Neither P/Nor A
4-2265.035.01
)(1)(
)(,
35.0
1000
200
1000
300
1000
250
)(



APPAPP
AnorPsaidnetherwhoPso
APP

Conditional Probability
ConditionalprobabilityofAgivenB=P(A|B))(
)(
)|(
BP
BAP
BAP


4-23
P(not purchased| not planed)
=?650/750=0.867

Joint probability in conditional form
Multiplication rule of probability)(
)(
)|(
BP
BAP
BAP

 )()|()( BxPBAPBAP 

Bayes’ Theorem -extended
4-25
)()()()(
)()(
BPBDPAPADP
APADP
D
A
P


If A & B are me&exevents
& if Dis a subset event of {A,B}
the conditional probability
of Agiven Dis:
A
B
D
Revised
(posterior)
prior
conditional
joint

Example: Suppose two types of drugs(X & Y) is available for curing Degu(D) whose
market share is 40% & 60% respectively.
Also suppose, chances for curing Deguusing these drugs is P(D/X)=0.6 &
P(D/Y)=0.7.
One patient visiting the doctor who was suffering from Degu and now cured was
selected randomly, what is the probability that he was using drug X?
Here, P(X, market share)=0.4, P(Y)=.6, Let D= cured from Degu
P(D/X)=0.6 & P(D/Y)=0.7
P(X/D)=P(drug X used | Degu was cured)=
??????
??????
�
??????�
??????
??????
�
??????�+??????
??????
�
??????�
=
�.�??????�.�
�.�??????�.�+�.�??????�.�
=
.��
�.��+�.��
=
.��
�.��
=�.��
Q. What is the probability that he
was taking Drug Y? Ans: 0.64

Thanks
Tags