-
Definition of the random variable:
- Let be defined as:
- if a randomly selected vehicle passes the emissions test.
- if it does not pass.
- Let be defined as:
-
Nature of :
- is a Bernoulli random variable with the following probability mass function (pmf):
- is a Bernoulli random variable with the following probability mass function (pmf):
-
Expected value calculation:
- The expected value of is computed as follows:
E(X) &= 0 \cdot P(X = 0) + 1 \cdot P(X = 1) \ &= 0 \cdot (1 - p) + 1 \cdot p \ &= p \end{align} $$ - Thus, the expected value is simply the probability that takes the value 1 - i.e., the probability of passing the test.
-
Conceptual population:
- If we think of a population consisting of:
- s in proportion (vehicles that fail).
- s in proportion (vehicles that pass).
- The average of this conceptual population is:
- If we think of a population consisting of:
-
Interpretation:
- The mean represents the overall probability of a vehicle passing the emissions test when considering a large population.