RM Unit-7 Statistical Reasoning
RM Unit-7 Statistical Reasoning
(2180703)
Rutal Mahajan
S.N.P.I.T.R.C., Umrakh
[email protected]
Using common sense reasoning /Predicate logic /Propositional/ (any logical approach)
to represent facts, It assumes all values are either completely true or completely false.
• Statistical Approach:
completely true 1, completely false 0 or (e.g. 0.5 –equal) chance of being true or
false
• Logical Approach
• E.g. Common sense reasoning:
In general, * (default rule) is applied. So according to that “tweety is bird so tweety can fly”
- But “if the number of exceptions is large such system tend to break down.”
• Statistical Approach
- Provide a method for representing beliefs that are not certain (or uncertain) but for which
there may be some supporting (or contradictory) evidence. (works with Probabilities)
Statistical Reasoning
Bayesian Networks
Dampster-Shafer Theory
Fuzzy Logic
The basic approach statistical methods adopt to deal with uncertainty is via the axioms
of probability
Probability axioms:
1. Probabilities are real numbers in range 0 to 1. P(A) є [0,1]
2. P(A)=0 indicates total uncertainty in A
P(A)=1 indicates total certainty in A and
values in between indicates some degree of (un)certainty.
3. Sum of all probabilities is 1. (total probability) P(U)=1
Example:
A coin is tossed. What is the probability of getting a head?
Total number of outcomes of tossing coin (n): 2 (head and tail)
Number of outcome of our interest (m): 1 (we are interested in getting head)
P(head) =1/2
Example: A card is drawn from a pack of 52, what is the probability that it is a king or a
queen?
Event (A): draw of king card Event (B): draw of queen card
P(card draw is king or queen) =P(A or B) = P( card is king) + P(card is queen)
= 4/52 + 4/52
= 2/13
2. Mutually Exclusive Events:
If two events A and B are mutually exclusive (independent) of each other then,
probability of either A or B can be given as:
Statistical Reasoning (AI B.E.8th semester)
3/28/2019 7
by Rutal Mahajan
Basic Statistical Method- Probability
Probability calculation of various types of events:
1. Mutually Exclusive Events:
If two events A and B are mutually exclusive (independent) of each other then, probability
of occurrence of either A or B can be given as:
Example: A card is drawn from a pack of 52, what is the probability that it is a king or a
queen?
Event (A): draw of king card Event (B): draw of queen card
P(card draw is king or queen) =P(A or B) = P( card is king) + P(card is queen)
= 4/52 + 4/52
= 2/13
2. Non- Mutually Exclusive Events: A and B
Cases of occurrences of event A or B and events are overlapping. A∩B
P(A or B)= P(A) +P(B)- P(A and B) A B
P(A U B) = P(A) +P(B) –P(A ∩ B)
• Multiple events
1. Independent events (happening simultaneously) calculate joint probability
This can be calculated by multiplying the probabilities of each event.
E.g. case of coin tossing twice,so probability of first and second toss both getting head
(½) * (½ ) =0.25
So in general, probability of two independent event A and B occurring together
P(A and B) =P(A) * P(B)
Solution:
P(A and B)
P(A) A B P(A ∩ B)
Solution:
Event A and B are not mutually exclusive as both the shooters may hit target.
Hence the additive rule applicable is
P(A∪B)=P(A)+P(B)−P(A∩B)
=3/7+2/5−((3/7)×(2/5))=29/35−6/35=23/35
P(A and B)
P(A) A B P(A ∩ B)
Solution:
T: the student is tall
W: the student is white
P(T|W) = ?
Solution:
T: the student is tall
W: the student is white
P(T|W) = ?
P(E | Hi) = the probability that we will observe evidence E given that hypothesis Hi is
true
P(Hi) = the a priori probability that hypothesis Hi is true in the absence of any specific
evidence. These probabilities are called prior probabilities or priories.