Introduction
Probability is a measure of likelihood that an event will occur in a random experiment.It is quantified by a number between 0 and 1, where, 0 indicates impossibility and 1 indicates certainty. For example, if a coin is tossed, the probability of getting "head" is
We can define probability in three different ways/approaches as below.
- Classical approach
- Relative frequency approach
- Axiomatic approach
The classical approach
Classical definition of probability is for equally likely outcomes. If an experiment can produced
For example, if a bag contains 3 red and 5 white marbles, then the probability of getting red marble is
The classical definition of probability has always been criticized for the following reasons:
- This definition assumes that the outcomes are equally likely.
- The definition is not applicable when the numbers of outcomes are not equally likely.
- The definition is also not applicable when the total number of outcomes is infinite or it is difficult to count the total outcomes. For example, it is difficult to count the fish in the ocean.
Example 1
A fair die is thrown. Find the probabilities that the face on the die is (a) Maximum (b) Prime (c) Multiple of 3 (d) Multiple of 7Solution
There are 6 possible outcomes when a die is tossed. We assumed that all the 6 faces are equally likely. The classical definition of probability is to be applied here
The sample space is
- (a) Let
be the event that the face is maximum, thus
Therefore, - (b) Let
be the event that is prime, thus
Therefore, - (c) Let
be the event that is multiples of 3, thus
Therefore, - (d) Let
be the event that is multiples of 7, Thus
Therefore,
Relative frequency approach
Let us take an example. When a meteorologist states that the chance of rain is 90\%, the meteorologist is in terms of relative frequency. The relative frequency is the ratio of observed frequency to the total frequency of a random experiment. Suppose a random experiment is repeated n times and outcomes A is observed k times, then
For example, probability of having rain today? Probability of selecting a motorbike of YAMAHA brand in KTM valley?
Both of these answer are sample dependent. We need a sample to describe these probabilities. Therefore, this can be answered based on relative frequency approach of probability.
Axiomatic approach
An axiomatic approach to probability refers to the probability of an event based on additional evidence. This approach is based on three axioms. According to this approach, probability is defined as follows.
Let S is a sample space, then probability is a function that assign a real number to every event E of S. In this case, the probability of en even event is P(E), and it satisfy following three axioms:
- Non negativity:
for any event E - Additive:
for mutually exclusive events - Certainty: P(S) =1, for sample space S.
Key terms of Probability
- Sample Space and Event
The set of all possible outcomes in a random experiment is called sample space. It is denoted by S. A subset E of sample space S is called an event.
For example, if a dice is rolled, then sample space is
And, if we are interested in even number, then
is an event. - Mutually exclusive events
In probability, two events A and B are called mutually exclusive events if both events A and B cannot occur together. For example,- in a dice, 1 and 2 are mutually exclusive events because, either 1 will come or 2 will come but not both at a time.
- in a coin, H and T are mutually exclusive events because, either H will come or T will come but not both at a time.
- in a dice, even and prime are not-mutually exclusive events because, if 2 is the output, then it is even as well as prime, thus even AND prime both can come together at a time.
- Independent events
In probability, two events A and B are called independent events if occurrence of A has no effect in the occurrence of B. For example, in a dice 1 and in a coin H are independent events because, occurrence of either will have no effect on the other.
NOTE: Independent events are applied for series (more than one) of experiment.- If a bag contains 3 red and 5 white marbles, and two marbles are selected one after another with replacement then the events in both experiment are independent.
- If a bag contains 3 red and 5 white marbles, and two marbles are selected one after another without replacement then the events in both experiment are not independent.
Random variable
A headmaster bought one dozen of computer monitor, of which, unknown to him three are broken. He checks four of the monitors at random to see how many are broken in his sample of 4. The answer which he label X, is one of the numbers 0,1,2,3,4. Since the value of X is random, X is called random variable. The mathematical definition is as follows.
Random variable is a function that assign a numerical value to sample space of a random experiment. A random variable is also called chance variable and it is abbreviated by
S (Sample Space ) | T | H |
X=x (Number of heads) | 0 (no head) | 1(1 head) |
The value of the random variable is denoted by small letters of English alphabets, like
Types of random variable (Discrete and Continuous)
Random variable are of two types. They ate discrete and continuous. A random variable
A random variable
Probability distribution
Probability distribution is a table or a function that give a numerical value for each outcome of a random experiment. With this probability distribution, one can model behavior of a random variable. In this essence, probability distribution is called function of random variable.
Discrete probability distribution
Let
S | TT | HT, TH | HH |
| | | |
|
For example, if we toss a pair of coins, and X= number of heads obtained, then the probability distribution of X is given in the table above, and the corresponding histogram is given below.
Example 2
The function of a random variables
Solution
Given the probability function
Example 2
The probability function of a random variables
f(50)=? | F(50)=? | ||
f(200)=? | F(200)=? | ||
f(350)=? | F(350)=? |
Continuous probability distribution
Let
Example 3
The probability function of a continuous random variables X is
find the probability at 0<x<
Solution
Given the probability function
the probability at 0<x<1/2 is
Mathematical Expectation
Mathematical expectation is one of the most important the digital characteristic of the random variable. It ha a good application in life, including insurance, investment decision, profit on sales, customer service period of service, medical laboratory.
Example 4
A headmaster bought one dozen of computer monitor, of which, unknown to him three are broken. He checks four of the monitors at random to see how many are broken in his sample of 4. Now, what is the expected number of broken monitors that the headmaster finds? To answer this question, we need mathematical expectation.
Definition
In statistics, expected value, mathematical expectation and mean are same. They all represents arithmetic mean as in ordinary calculation.
For example,
suppose, we toss a pair of coin and read
X= number of heads,
Then sample space and value of random variable are given below.
S | TT | HT,TH | HH |
X=x | 0 | 1 | 2 |
Now, using random variable, mean of X is
In this example, probability distribution of X is
S | TT | HT,TH | HH |
X=x | 0 | 1 | 2 |
f(X=x) |
Also, using the probability function, mean of X is
So, both (A) and (B) are same.
Let X be a random variable with probability function f(x), then expected value of X is denoted by E(X) or
Properties of expected value
- If a is a constant then
- If X is a random variable and a is a constant then
- If X is a random variable, also a and b are constants then
Example 5
The probability of X is
Solution
Given, the probability of X the expected value of X is
or
or
or
or
Example 6
Based on the distribution given below, find the Expected Value?
X | 0 | 1 | 2 | 3 |
f(x) | 14/55 | 28/55 | 1/55 | 12/55 |
Solution
The expected value of X is
or
or
Example 7
The probability function of X is
Solution
Given, joint probability of X and Y, the expected value of X is
or
or
or
Conditional probability
We start with an example.
Amar and Binod are going out to dinner. They toss a fair coin ‘best of three’ to decide who pays: if there are more heads than tails in the three tosses, Amar pays, otherwise Binod pays.Clearly each has a 50% chance of paying.
The sample space corresponding to this experiment is
S = {HHH,HHT,HTH,HTT,THH,THT,TTH,TTT}
and the favorable events for ‘Amar pays’ and ‘Binod pays’ are respectively
It shows that, the probabilities that Amar and Binod pay for dinner are
They toss the coin once and the result is head; call this event A. Then
A = {HHH,HHT,HTH,HTT}
i.e given the information that result of the first toss is head, then A becomes the sample space of the experiment.
For this case, the outcomes ‘Amar pays’ and ‘Binod pays’ are
Thus the new probabilities that Amar and Binod pay for dinner are
Let us see another example too
Let a sample space S is given by
S={1,2,3,4,5}
Within this sample space, let us define two even
We know that
Now
Definition
Let
The vertical bar in the notation is
The definition only applies in the case where P(A) is not equal to zero, since we have to divide by it, and this would make no sense if P(A) = 0. Thus,
Example 8
Amar and Binod are going out to dinner. They toss a fair coin ‘best of three’ to decide who pays: if there are more heads than tails in the three tosses, Amar pays, otherwise Binod pays.They toss the coin once and the result is head, now find the probability that Amar will pay.
Solution
If
or
So we have
Example 9
A random car is chosen among all those passing through Singhadarbar Gate on a certain day. The probability that the car is yellow is 0.03, the probability that the driver is female is 0.2, and the probability that the car is yellow and the driver is female is 0.02. Find the conditional probability that the driver is female given that the car is yellow.
Solution
If A is the event ‘the car is yellow’ and
or
So we have
Bayes' theorem
Bayes' theorem is a formula that describes how to update the probabilities of hypotheses when given an evidence. It follows simply from the axioms of conditional probability.
More explicitely, the Bayes theorem describes the probability of an event based on the prior knowledge of the given conditions. If we know the conditional probability P(A|B), we can use the bayes theorem to find out the reverse probabilities P(B|A).
Theorem
Baye's Theorem: Let A and B be two events and let P(A|B) be the conditional probability of A given that B has occurred, then
0,0 A B C D A B |
0,0 A B C D A B |
Solution
Given that, A and B be two events.
Now suppose that event B is occured (Fig1), then the conditional probability of A given that B has occurred is
or
Again, assume that event A is occured (Fig 2), then the conditional probability of B given that A has occurred is
or
Using (1) and (2), we get
or
or
Example 10
Amar and Binod are going out to dinner. They toss a fair coin ‘best of three’ to decide who pays: if there are more heads than tails in the three tosses, Amar pays, otherwise Binod pays.They toss the coin once and the result is head, now find the probability that Amar will pay.
Solution
If
So we have
Law of total Probability
Suppose a sample space S can be partitioned into a set of disjoint events
Then the probability of an arbitrary event A in S can be written as
or
or
Bayes Theorem
Let
Example 11
Amar and Binod are going out to dinner. They toss a fair coin ‘best of three’ to decide who pays: if there are more heads than tails in the three tosses, Amar pays, otherwise Binod pays.They toss the coin once and the result is head, now find the probability that Amar will pay.
Solution
If
So we have
Example 12
A man is known to speak truth 2 out of 3 times. He throws a die and reports that number obtained is a four. Find the probability that the number obtained is actually a four.
Solution
Let us suppose that, A be the event that the "man reports that number four is obtained". Also let,
Now,
By using Bayes’ theorem, probability that number obtained is actually a four is
Exercise
- Suppose 36% of students read computer, 30% of students read math, and 22% of the students read computer also read math. A student is chosen at random and found reading math. What is the probability they also read computer?
- Suppose the test for Covid-19 is 99% accurate in both directions and 0.3% of the population is Covid-19 positive. If someone tests positive, what is the probability they actually are Covid-19 positive.[23%]
- Suppose 30% of the girl in a class received an A on the test and 25% of the boy received an A. The class is 60% girl. Given that a student chosen at random received an A, what is the probability this student is a girl?
- A fair coin is flipped 12 times. What is the probability that exactly 10 heads appear given that at least two heads appeared?
- In a class, 60% of the students like Mathematics and 35% of students like Physics and 25% like both the subjects. One student select at random, find the probability that he likes Physics if it is known that he likes Mathematics.
No comments:
Post a Comment