![]() |
VOOZH | about |
A probability function that gives discrete random variables a probability equal to an exact value is called the probability mass function. The probability mass function is abbreviated as PMF. The different distribution has different formulas to calculate the probability mass function.
PMF is referred to as the probability of discrete random variable which is equal to a particular value. It is represented as f(x) = P (X = x) where, X is discrete random variable and x is the specified value.
Let is dice is rolled then the probability of getting a number equal to 4 is an example of probability mass function. The sample space for the given event is {1, 2, 3, 4, 5, 6} and X be the random variable for getting a 4. The probability mass function evaluated for X = 4 is 1/6.
The probability mass function for a discrete variable X with its value x is written as: f(x) = P (X = x). The formula for the probability mass function for different distributions are listed below.
Binomial distribution with the number of outcomes, probability of success and probability of failures. The PMF formula in Binomial distribution is given by:
P (X = x) = nCx px (1 - p) n-x
where,
Poisson distribution deals with the mean and the number of independent events occurred in specific interval of time. The formula for the probability mass function in Poisson distribution is given by:
P(X = x) = [λxe-λ] / x!
where,
Table that represents the probability mass function with the value of the random variables is called the probability mass function. Let a coin is tossed two times and X be the random variable representing the number of tails then, the probability mass function table for above event is given below.
x | 0{HH} | 1{HT, TH} | 2{TT} |
|---|---|---|---|
P(X = x) | 1/4 | 2/4 = 1/2 | 1/4 |
Probability mass function graph for above table is given below:
Some properties of the probability mass function are listed below.
Differences between the PMF and PDF is explained in the table below:
Probability Mass Function | Probability Density Function |
|---|---|
The PMF is the probability that a discrete random variable takes at an exact value. | The PDF is the probability that a continuous random variable takes at a specified interval. |
The PMF deals with the discrete random variables. | The PDF deals with the continuous random variables. |
PMF is evaluated at specific point. | PDF is evaluated at specified interval |
f(x) = P (X = x) | P(x) = F'(x) where, F(x) is CDF |
Probability Mass Function (PMF) is a fundamental concept in probability theory and statistics, particularly when dealing with discrete random variables. Some uses of the PMF are:
Example 1: Probability mass function is given by: f(x) = ax2 for x = 0, 1, 2 then, find the value of a.
Solution:
To find the value of a we use the PMF property.
∑x∈ S f(x) = 1
f(0) + f(1) + f(2) = 1
a × 02 + a × 12 + a × 22 = 1
a × (02 + 12 + 22) = 1
a × (0+ 1 + 4) = 1
5a = 1
a = 1/5
Example 2: From the below probability mass function table determine CDF.
X | 1 | 2 | 3 | 4 |
|---|---|---|---|---|
P(X = x) | 0.2 | 0.05 | 0.25 | 0.5 |
Solution:
To find the CDF for P(X < 3) we use the property of PMF.
P (X ∈ E) = ∑x∈ E f(x)
P(X < 3) = P(X = 1) + P(X = 2)
P(X < 3) = 0.2 + 0.05
P(X < 3) = 0.25
So, CDF of P(X < 3) = 0.25
Example 3: Table below represents the PMF for a random variable X. Find the value of p.
X | 2 | 4 | 6 |
|---|---|---|---|
P(X = x) | p | p + 0.5 | 0.2 |
Solution:
To find the value of p we use formula.
∑x∈ S f(x) = 1
p + p + 0.5 + 0.2 = 1
2p + 0.7 = 1
2p = 1 - 0.7
2p = 0.3
p = 0.3 / 2
p = 0.15
Example 4: Find probability of good number of products = 8 if there 10 products and the probability of good product is 0.95.
Solution:
We will solve above question using Binomial distribution.
Here, n = 10, x = 8, p = 0.95
PMF of Binomial distribution is given by:
P (X = x) = nCx px (1 - p) n-x
P (X = 8) = 10C8 (0.95)8 (1 - 0.95)10 - 8
P (X = 8) = 45 × 0.663 × (0.05)2
P (X = 8) = 29.835 × 0.0025
P (X = 8) = 0.0746
Probability of 8 good products = 0.0746
Example 5: There are 10 pens, and the probability of defective pens is 0.1 then find the probability of 2 defective pens.
Solution:
Mean = λ = np = 10 × 0.1 = 1
P(X = x) = [λxe-λ] / x!
P(X = 2) = [12 × e-1] / 2!
P(X = 2) = (0.3679) / 2
P(X = 2) = 0.184
Probability of 2 defective pens is 0.184
Q1. Find the value of q if the PMF is P(x) = 2x2 + 5x - 1 with values of x = 0, 1 and 2.
Q2. Determine the value of b from the probability mass function table.
X | 1 | 2 | 3 | 4 |
|---|---|---|---|---|
P(X = x) | b | 2b2 | 3b | 0.3 |
Q3. From the below PMF table find the CDF P(X ≤ 4).
X | 2 | 3 | 4 | 5 |
|---|---|---|---|---|
P(X = x) | 0.2 | 0.1 | 0.4 | 0.3 |
Q4. What is the probability of 3 orange to be rotten from total 50 oranges if the probability of rotten orange is 0.6.
Q5. The item manufactured by a company is defective has a probability of 0.215 and total number of items manufactured are 200. Find the probability of less than 4 items to be defective.