Mixing multiple probabilities
Given a box of 10 coins out of which 9 coins are fair and one coin has both sides heads, what is the probability of getting all heads on picking a coin from the bag and flipping it 5 times.
There are two outcomes possible if we pick a coin from the bag.
The first outcome would be that we pick a normal coin and its probability would be 9/10 --- (1).
The second outcome would be that we pick a coin having both sided heads, whose probability is 1/10 --- (2).
Now after this,
Given a normal coin what is the probability of getting all 5 heads is, as we know it to be (1/2)*(1/2)*(1/2)*(1/2)*(1/2) = 1/32 --- (3).
Given a both sided heads coin, the probability of getting all 5 heads is 1 --- (4).
From (1), (2), (3) & (4) we get the
P(getting all 5 heads) = (P(picking the normal coin)*P(getting all heads provided its normal coin))+(P(Picking an unfair coin)*P(getting all heads provided its unfair coin))
= (1/32)*(9/10) + 1*(1/10) = 9/320 + 1/10 = 41/320
Showing posts with label Probability. Show all posts
Showing posts with label Probability. Show all posts
Saturday, October 31, 2009
Probability 5
Wednesday, October 28, 2009
Probability 4
Example:
---------
The probability of me making a shot in basketball is 80%, I have 3 shots and we need 1 pt to win the match. What is the probability of we winning the match?
P(we winning) = P(me making atleast one shot) = 1 - P(me making no shots at all)
P(me making no shots at all) = 0.2 * 0.2 * 0.2 = 0.008 = 0.8%
P(we winning) = 1-0.008 = 99.2%
---------
The probability of me making a shot in basketball is 80%, I have 3 shots and we need 1 pt to win the match. What is the probability of we winning the match?
P(we winning) = P(me making atleast one shot) = 1 - P(me making no shots at all)
P(me making no shots at all) = 0.2 * 0.2 * 0.2 = 0.008 = 0.8%
P(we winning) = 1-0.008 = 99.2%
Tuesday, October 27, 2009
Probability 3
Arrangements [Permutations] meeting Probability.
1) Find the probability of getting only one heads in 5 flips
Outcomes are
TTTTH
TTTHT
TTHTT
THTTT
HTTTT
The probability of occurrence of each of these outcomes is 1/32.
Since there are 5 such arrangements the total probability becomes 5/32.
2) Find the probability of not getting exactly one heads in 5 flips
This is exactly equal to all the outcomes except the above which results to 1-5/32 = 27/32
1) Find the probability of getting only one heads in 5 flips
Outcomes are
TTTTH
TTTHT
TTHTT
THTTT
HTTTT
The probability of occurrence of each of these outcomes is 1/32.
Since there are 5 such arrangements the total probability becomes 5/32.
2) Find the probability of not getting exactly one heads in 5 flips
This is exactly equal to all the outcomes except the above which results to 1-5/32 = 27/32
Monday, October 26, 2009
Probability 2
Probability Tree
Probability Tree is a very good tool in finding the probability of an occurrence of an event provided -
1) The outcomes or circumstances of an event are very small in number
2) The experiment should not be repeated large number of times
Note:
The depth of the tree is the number of times the experiment is repeated.
Example: Flipping coins 5 times.
The width of the tree is the count of all possible outcomes of an event.
Example: H & T are the 2 outcome of flipping the coin.
Lets take an example and solve the probability using Probability Tree
Find the probability of two heads occuring on two consecutive flips of coins, i.e., P(HH)
From the above probability tree the total out comes or circumstances of flipping coin twice is 4. Out of the 4 outcomes, the total number of times we get HH is 1, so the P(HH) = 1/4.
Another way to look at it is the probability of first flip leading to heads is 1/2, and this remains the same even during the second flip because both heads and tails are equally probable and they are not mutually exclusive so it leads to 1/2 * 1/2 = 1/4.
Note we multiply the probabilities because the events are not mutually exclusive.
Similary P(1H, 1T) = 2/4 = 1/2
P(HHHHH) = 1/2*1/2*1/2*1/2*1/2 = 1/32
P(Out of 7 flips, heads should not come even once) = p(TTTTTTT) = 1/128
Probability Tree is a very good tool in finding the probability of an occurrence of an event provided -
1) The outcomes or circumstances of an event are very small in number
2) The experiment should not be repeated large number of times
Note:
The depth of the tree is the number of times the experiment is repeated.
Example: Flipping coins 5 times.
The width of the tree is the count of all possible outcomes of an event.
Example: H & T are the 2 outcome of flipping the coin.
Lets take an example and solve the probability using Probability Tree
Find the probability of two heads occuring on two consecutive flips of coins, i.e., P(HH)
Another way to look at it is the probability of first flip leading to heads is 1/2, and this remains the same even during the second flip because both heads and tails are equally probable and they are not mutually exclusive so it leads to 1/2 * 1/2 = 1/4.
Note we multiply the probabilities because the events are not mutually exclusive.
Similary P(1H, 1T) = 2/4 = 1/2
P(HHHHH) = 1/2*1/2*1/2*1/2*1/2 = 1/32
P(Out of 7 flips, heads should not come even once) = p(TTTTTTT) = 1/128
Sunday, October 25, 2009
Probability 1
Probability
-------------
Two ways of looking at probability are:
1) Repeated experiments possible [Frequency Test]
Perform an experiment repeatedly and identify wht percent of times the experiment has
behaved the way u want it to behave.
Example: Flipping a coin hundred times to know the probability of occurrence of heads.
2) Repeated experiments not possible
Based on the data that you have, how strongly you believe that the experiment will behave
the way you want it to behave.
Example: What are the chances that its going to rain today.
Definition of Probability
-----------------------------
P(x) = number of events in which x is true
------------------------------------
total number of events or all possible outcomes of an event or all possible circumstances of an event.
In case of flipping a coin, the total number of circumstances or outcome of flipping a coin is 2, it can be either heads or tails.
assuming that the occurence of all the events are equally probable, i.e no single event should occur more number of times than other events.
Examples:
---------
P(Occurence of Head on flipping a coin) = 1 / 2 = 50%
-------------
Two ways of looking at probability are:
1) Repeated experiments possible [Frequency Test]
Perform an experiment repeatedly and identify wht percent of times the experiment has
behaved the way u want it to behave.
Example: Flipping a coin hundred times to know the probability of occurrence of heads.
2) Repeated experiments not possible
Based on the data that you have, how strongly you believe that the experiment will behave
the way you want it to behave.
Example: What are the chances that its going to rain today.
Definition of Probability
-----------------------------
P(x) = number of events in which x is true
------------------------------------
total number of events or all possible outcomes of an event or all possible circumstances of an event.
In case of flipping a coin, the total number of circumstances or outcome of flipping a coin is 2, it can be either heads or tails.
assuming that the occurence of all the events are equally probable, i.e no single event should occur more number of times than other events.
Examples:
---------
P(Occurence of Head on flipping a coin) = 1 / 2 = 50%
Subscribe to:
Posts (Atom)