Stats Probability
Stats Probability
V. Theoretical Probability
Now, as we learn the formula, let’s put this formula in our coin-tossing case. If we tossed a
coin 10 times and recorded heads for 4 times and a tail 6 times then the Probability of
Occurrence of Head on tossing a coin:
P(H) = 4/10
Similarly, the Probability of Occurrence of Tails on tossing a coin:
P(T) = 6/10
Example: Let’s take two random dice and roll them randomly, now the probability of
getting a total of 10 is calculated.
Solution:
Total Possible events that can occur (sample space) {(1,1), (1,2),…, (1,6),…, (6,6)}. The
total spaces are 36.
Now the required events, {(4,6), (5,5), (6,4)} are all which adds up to 10.
So the probability of getting a total of 10 is = 3/36 = 1/12
VIII. Basics of Probability Theory
Various terms used in probability theory are discussed below,
In probability theory, any event which can be repeated multiple times and its outcome is not
hampered by its repetition is called a Random Experiment. Tossing a coin, rolling dice, etc.
are random experiments.
X. Sample Space
The set of all possible outcomes for any random experiment is called sample space. For
example, throwing dice results in six outcomes, which are 1, 2, 3, 4, 5, and 6. Thus, its
sample space is (1, 2, 3, 4, 5, 6)
XI. Event
The outcome of any experiment is called an event. Various types of events used in
probability theory are,
Independent Events: The events whose outcomes are not affected by the outcomes
of other future and/or past events are called independent events. For example, the output of
tossing a coin in repetition is not affected by its previous outcome.
Dependent Events: The events whose outcomes are affected by the outcome of other
events are called dependent events. For example, picking oranges from a bag that contains
100 oranges without replacement.
Mutually Exclusive Events: The events that can not occur simultaneously are called
mutually exclusive events. For example, obtaining a head or a tail in tossing a coin, because
both (head and tail) can not be obtained together.
Equally likely Events: The events that have an equal chance or probability of
happening are known as equally likely events. For example, observing any face in rolling
dice has an equal probability of 1/6.
A variable that can assume the value of all possible outcomes of an experiment is called a
random variable in Probability Theory. Random variables in probability theory are of two
types which are discussed below,
Discrete Random Variable: Variables that can take countable values such as 0, 1, 2,… are
called discrete random variables.
Continuous Random Variable: Variables that can take an infinite number of values in a
given range are called continuous random variables.
Probability theory is widely used in our life, it is used to find answers to various types of
questions, such as will it rain tomorrow? what is the chance of landing on the Moon? what
is the chance of the evolution of humans? and others. Some of the important uses of
probability theory are,
Probability theory is used to predict the performance of stocks and bonds.
Probability theory is used in casinos and gambling.
Probability theory is used in weather forecasting.
Probability theory is used in Risk mitigation.
Probability theory is used in consumer industries to mitigate the risk of product failure.
Example 3: If someone takes out one card from a 52-card deck, what is the probability
of the card being a heart? What is the probability of obtaining a 7-number card?
Solution:
Total number of cards in a deck = 52
Total Number of heart cards in a deck = 13
So, the probability of obtaining a heart,
P(heart) = 13/52 = 1/4
Total number of 7-number cards in a deck = 4
So, the probability of obtaining a 7-number card,
P(7-number) = 4/52 = 1/13
Example 4: Find the probability of rolling an even number when you roll a die
containing the numbers 1-6. Express the probability as a fraction, decimal, ratio, or
percent.
Solution:
Out of 1 to 6 number, even numbers are 2, 4, and 6.
So, Number of favorable outcomes = 3.
Total number of outcomes = 6.
Probability of obtaining an even number P(Even)= 1/2 = 0.5 = 1 : 2 = 50%
PROBABILITY DISTRIBUTION
Probability distribution formula mainly refers to two types of probability distribution which
are normal probability distribution (or Gaussian distribution) and binomial probability
distribution. To recall, a table that assigns a probability to each of the possible outcomes of a
random experiment is a probability distribution table. In simple words, it gives the probability
for each value of the random variable.
It is also known as Gaussian distribution and it refers to the equation or graph which are bell-
shaped.
Where,
μ = Mean
σ = Standard Distribution.
x = Normal random variable.
Note: If mean(μ) = 0 and standard deviation(σ) = 1, then this distribution is known to be normal
distribution.
It is defined as the probability that occurred when the event consists of “n” repeated trials and
the outcome of each trial may or may not occur.
Where,
n = Total number of events
r = Total number of successful events
p = Probability of success on a single trial
1 – p = Probability of failure
Solution:
Given,
Number of trails(n) = 10
12
= 0.5
To find
=
10!8!(10–8)!
=
10×9×8!8!2!
= 45
To find pr = 0.58 = 0.00390625
Question 2: Find the probability of normal distribution with population mean 2, standard
deviation 3 of random variable 5.
Solution:
Given,
x=5
Mean = μ = 2
Standard deviation = σ = 3
Normal probability distribution:
Question 3: The probability of a man hits the target is ¼. If he fires 9 times, then find the
probability that he hits the target exactly 4 times.
Solution:
Number of fires = n = 9
Number of success hits = r = 4
Probability of hitting the target = p = ¼
Probability of not hitting the target = q = 1 – p = 1 – (¼) = ¾
Finding nCr :
9
C4 = 9!/[4! (9-4)!] = 9!/(4! 5!) = (9 × 8 × 7 × 6 × 5!)/(4 × 3 × 2 × 1 × 5!) = 126
Probability of the person hits the target exactly 4 times
= 9C4 (¼)4(¾)(9-4)
= 126 × (1/256) × (243/1024)
= 0.1168
BINOMIAL DISTRIBUTION
The binomial distribution formula helps to check the probability of getting “x” successes in
“n” independent trials of a binomial experiment. To recall, the binomial distribution is a type
of probability distribution in statistics that has two possible outcomes. In probability theory,
the binomial distribution comes with two parameters n and p.
The probability distribution becomes a binomial probability distribution when it meets the
following requirements.
1. Each trial can have only two outcomes or the outcomes that can be reduced to two outcomes. These
outcomes can be either a success or a failure.
2. The trails must be a fixed number.
3. The outcome of each trial must be independent of each others.
4. And the success of probability must remain the same for each trial.
Where,
1 – p = Probability of failure.
Solution:
P(7) = 792.(½)12
P(7) = 0.193
Example 2:
A coin that is fair in nature is tossed n number of times. The probability of the occurrence of a
head six times is the same as the probability that a head comes 8 times, then find the value of
n.
Solution:
Similarly, the probability that head occurs 8 times = nC8 (½)8 (½)n-8
Given that, the probability of the occurrence of a head six times is the same as the probability
that a head comes 8 times,
⇒nC6 = nC8
⇒ 6 = n-8
⇒ n= 14.
Therefore, the value of n is 14.
Example 3:
The probability that a person can achieve a target is 3/4. The count of tries is 5. What is the
probability that he will attain the target at least thrice?
Solution:
Given that, p = ¾, q = ¼, n = 5.
= 459/512.
Therefore, the probability that the person will attain the target atleast thrice is 459/512.
NORMAL DISTRIBUTION
In probability and statistics, the normal distribution or Gaussian distribution or bell curve is
one of the most important continuous probability distributions. The normal distribution is
defined as the probability density function f(x) for the continuous random variable, say x, in
the system. A normal distribution is a very important statistical data distribution pattern
occurring in many natural phenomena, such as height, blood pressure, lengths of objects
produced by machines, etc. Here, we are going to discuss the normal distribution formula and
examples in detail.
For a random variable x, with mean “μ” and standard deviation “σ”, the probability density
function for the normal distribution is given by:
Where
μ = Mean
σ = Standard deviation
Example:
Find the probability density function for the normal distribution where mean = 4 and standard
deviation = 2 and x = 3.
Solution:
Given:
Mean,μ = 4
Standard deviation, σ = 2
Random variable, x = 3.
2) Solved Example
Question: As only 3 students came to attend the class today, find the probability for exactly 4
students to attend the classes tomorrow.
Solution:
Given,
Average rate of value(
)=3
Poisson random variable(x) = 4
GAUSSIAN DISTRIBUTION
The probability density function formula for Gaussian distribution is given by,