2. Probability and Distribution
2. Probability and Distribution
Probability implies 'likelihood' or 'chance'. When an event is certain to happen then the
probability of occurrence of that event is 1 and when it is certain that the event cannot
happen then the probability of that event is 0.
Hence the value of probability ranges from 0 to 1.
Classical Definition of Probability
As the name suggests the classical approach to defining probability is the oldest
approach. It states that if there are n exhaustive, mutually exclusive and equally likely
cases out of which m cases are favourable to the happening of event A,
Then the probabilities of event A is defined as given by the following probability
function:
PROBABILITY
Example
Problem Statement:
A coin is tossed. What is the probability of getting a head?
Solution:
Sample Space
The set of all possible out-comes of an experiment is called the sample space. It is denoted by 'S'
and its number of elements are n(s).
Example
In throwing a dice, the number that appears at top is any one of 1,2,3,4,5,6. So here:
S ={1,2,3,4,5,6} and n(s) = 6
Similarly in the case of a coin, S={Head,Tail} or {H,T} and n(s)=2.
PROBABILITY - BASIC CONCEPTS
Event
Every subset of a sample space is an event. It is denoted by 'E'.
Example
In throwing a dice S={1,2,3,4,5,6}, the appearance of an even number will be the event
E={2,4,6}.
Clearly E is a sub set of S.
PROBABILITY - BASIC CONCEPTS
Equally likely events
Events are said to be equally likely, if the probability of occurrence of the events are same.
Example
When a dice is thrown, all the six faces {1,2,3,4,5,6} are equally likely to come up.
Mutually exclusive events:
Experiment: Throw a dice
Sample space ( S ) = { 1, 2, 3, 4, 5, 6}
A = occurrence of even numbers
A = {2 , 4 , 6}
B = occurrence of odd numbers
B = {1, 3, 5}
What happens when we know that A has occurred?
What can we conclude about B?
Joint events events:
Experiment: Throw a dice
Sample space ( S ) = { 1, 2, 3, 4, 5, 6}
A = occurrence of even numbers
A = {2 , 4 , 6}
C = A multiple of 3
C = {3, 6}
What happens when we know that A has occurred?
What can we conclude about B?
Independent events:
Experiment 1: Throw a dice
Experiment 2: toss a coin
Event A: Head on first coin
P(A) = ½
Event B: occurrence of number 2 on dice
P(B) = 1/6
Example
When a coin is tossed, the event of occurrence of a head and the event of occurrence of a tail are mutually
exclusive events.
Statement: If A and B are two mutually exclusive events, then the probability of occurrence of either A or B is the
sum of the individual probabilities of A and B. Symbolically
ADDITIVE THEOREM OF PROBABILITY - EXAMPLES
• For Non Mutually Exclusive Events
1. In a math class of 30 students, 17 are boys and 13 are girls. On a unit test, 4 boys and 5 girls made an A
grade. If a student is chosen at random from the class, what is the probability of choosing a girl or an A student?
1. A card is drawn from a pack of 52, what is the probability that it is a king or a queen?
QUICK RECAP
The two events are independent events; the choice of hat has no effect on the choice of shirt.
There are three different hats, so the probability of choosing the songkok is 1/3 .
There are four different shirts, so the probability of choosing the black shirt is 1/4.
If we recall dependent event(), the earlier stated multiplicative theorem is not applicable for dependent events. For
dependent event, we have an another theorem called the conditional probability which is given as:
The probability of event B given event A equals the probability of event A and event B divided by the probability
of event A
BAYES THEOREM
Named after Thomas Bayes
Bayes' Theorem describes the probability of an event, based on prior knowledge of
conditions that might be related to the event.
Note: This conditional probability is known as a hypothesis. This hypothesis is calculated
through previous evidence or knowledge. This conditional probability is the probability of
the occurrence of an event, given that some other event has already happened.
Example:
Suppose the weather of the day is cloudy. Now, you need to know whether it would rain
today, given the cloudiness of the day. Therefore, you are supposed to calculate the
probability of rainfall, given the evidence of cloudiness.
BAYES THEOREM – FROM WHERE IT CAME?
We know from Conditional Probability:
Rearranging Equation 1:
= *
Similarly: *
=
Finally:
RANDOM VARIABLES – DISCRETE/CONTINUOUS
RANDOM VARIABLE TYPES
PROBABILITY MASS FUNCTION/PROBABILITY DENSITY FUNCTION
DISCRETE DISTRIBUTIONS - BINOMIAL DISTRIBUTION
A distribution where only two outcomes are possible, such as success or failure,
gain or loss, win or lose and where the probability of success and failure is same
for all the trials is called a Binomial Distribution.
The outcomes need not be equally likely.
Each trial is independent.
A total number of n identical trials are conducted.
The probability of success and failure is same for all trials. (Trials are identical.)
Mathematical Representation
Probability that a product is defective is 0.20. If 10
Mathematical Representation products are selected what is the probability that
exactly 3 products are defective?
CONTINUOUS DISTRIBUTION – NORMAL DISTRIBUTION
Normal distribution represents the behaviour of most of the situations in the universe
(That is why it’s called a “normal” distribution.)
The large sum of (small) random variables often turns out to be normally distributed,
contributing to its widespread application.
Characteristics:
The mean, median and mode of the distribution coincide.
The curve of the distribution is bell-shaped and symmetrical about the line x=μ.
The total area under the curve is 1.
Exactly half of the values are to the left of the center and the other half to the right.
https://byjus.com/maths/normal-distribution/
NORMAL DISTRIBUTION – CENTRAL LIMIT THEOREM
Central Limit Theorem (Key Takeaways)
The central limit theorem (CLT) states that the distribution of sample means approximates a normal
distribution as the sample size gets larger.
Sample sizes equal to or greater than 30 are considered sufficient for the CLT to hold.
A key aspect of CLT is that the average of the sample means and standard deviations will equal the
population mean and standard deviation.
A sufficiently large sample size can predict the characteristics of a population accurately.