- Expected Value of a Random Variable
- Conditional, Joint, and Total Probability
- Bayes’ Theorem: Tree and Frequency Workflow
- Variance and Standard Deviation of a Random Variable
- Portfolio Expected Return, Covariance, and Correlation
- Worked Example: Expected Value and Variance
- Common Mistakes in Probability and Random Variables
- Properties of Random Variables: Q&A
- Level 1 CFA Exam Takeaway: Properties of Random Variables
Expected Value of a Random Variable
A random variable assigns a numerical value to each possible outcome of an uncertain event. In investment analysis, it can represent a return, cash flow, loss, interest rate, or other quantity whose realized value is not known today. A probability distribution lists the possible outcomes and the probability attached to each one.
Expected value is the probability-weighted average of those possible outcomes. It is a long-run average or central estimate, not necessarily the outcome most likely to occur and not a promise of what will happen in the next period. For a return distribution, it is often called expected return.
Before calculating, check that the outcomes are mutually exclusive and exhaustive and that their probabilities sum to one. Probability is a weight, so an outcome with a small probability should affect expected value less than an equally sized outcome with a large probability. This structure is more useful than simply averaging the displayed outcomes.
- – expected value of random variable
- – probability of outcome
- – numerical value of outcome
- – number of mutually exclusive and exhaustive outcomes
If three returns of 5%, 10%, and 15% are equally likely, each has probability one-third and the expected return is 10%. The same result could come from a very different distribution with wider outcomes. Expected value alone does not measure risk, which is why variance and standard deviation are needed later in the analysis.
Conditional, Joint, and Total Probability
Joint probability is the probability that two events occur together. For example, the joint probability of a company entering financial distress and receiving a negative signal refers to the chance of both events in the same stated period. It is different from conditional probability, which asks about one event after information about another event is known.
Conditional probability updates the probability of one event using information about another. The expression reads “the probability of A given B” and equals the joint probability of A and B divided by the probability of B, provided is not zero. The denominator is the relevant population after the condition is known.
- – probability of event given event
- – joint probability that both and occur
- – probability of conditioning event , which must be positive
The total probability rule combines conditional probabilities across a complete set of scenarios. If the scenarios are mutually exclusive and exhaustive, the unconditional probability of an event equals the sum of each scenario’s probability multiplied by the event’s conditional probability within that scenario. This rule supplies the denominator in many Bayes calculations.
- – unconditional probability of event
- – probability of event given scenario
- – probability of scenario
- – number of mutually exclusive and exhaustive scenarios
Independence changes the calculation. If A and B are independent, then , and knowing B does not change the probability of A. Do not assume independence merely because events sound unrelated; it is an assumption that must be given, justified, or tested.

Bayes’ Theorem: Tree and Frequency Workflow
Bayes’ theorem updates a prior probability after observing new information. The result is a posterior probability: the probability of an event after the signal is known. It is particularly useful when a signal has false positives or false negatives, because the apparent accuracy of the signal does not by itself tell you how likely the underlying event is.
Start with a frequency tree rather than a formula. Suppose 1,000 issuers enter a one-year screen: 50 are expected to experience financial distress, giving a 5% prior probability, and 950 are not. The signal is positive for 80% of distressed issuers and for 10% of non-distressed issuers. The tree first separates the base rate, then applies each conditional signal rate within its branch.
The tree produces 40 true positive signals from the 50 distressed issuers and 95 false positive signals from the 950 non-distressed issuers. There are therefore 135 positive signals in total. The frequency table makes the joint outcomes visible before any algebra is used.
| Issuer condition | Positive signal count | Negative signal count | Total count |
|---|---|---|---|
| Future financial distress | 40 | 10 | 50 |
| No future financial distress | 95 | 855 | 950 |
| All issuers | 135 | 865 | 1,000 |
Given a positive signal, the posterior probability of distress is , not 80%. The 80% figure is the probability of a positive signal given distress; the 29.63% figure is the probability of distress given a positive signal. Reversing those conditions is the base-rate fallacy.
- – posterior probability of event after observing event
- – probability of observing event when occurs
- – prior probability of event
- – total probability of observing event
Using the formula gives . In investment terms, a positive screen is a reason to investigate an issuer, not necessarily a reason to sell its bond or exclude it from a portfolio. The decision still depends on expected loss, valuation, diversification, constraints, and the cost of false positives and false negatives.
Variance and Standard Deviation of a Random Variable
Variance measures the probability-weighted dispersion of outcomes around expected value. It gives greater weight to outcomes farther from the mean because the deviations are squared. Two investments can have the same expected return while having very different variance, so expected return should not be treated as a complete description of risk.
The variance of a discrete random variable uses each outcome’s deviation from expected value, squares it, weights it by probability, and adds the results. Standard deviation is the square root of variance and is usually easier to interpret because it is expressed in the same units as the random variable. Variance is in squared units; standard deviation is not.
- – variance of random variable
- – standard deviation of random variable
- – probability of outcome
- – numerical value of outcome
- – expected value of random variable
- – number of outcomes
Standard deviation is useful for comparing the variability of investments with the same return unit, but it does not identify the direction of an outcome. A positive and a negative deviation of equal size contribute equally to variance. Risk interpretation still needs context, including downside exposure, liquidity, leverage, and the investor’s objective.
The formulas describe a probability distribution, not a guarantee that the realized return will stay within a particular range. A distribution can be skewed or have rare extreme outcomes that standard deviation alone does not communicate. Read the outcome values and probabilities, not only the final variance statistic.
Portfolio Expected Return, Covariance, and Correlation
The expected return of a portfolio is the weighted average of the expected returns of its assets. Asset weights must add to one, and each expected return must be measured over the same horizon and in the same currency and return convention. This linear calculation does not require an independence assumption.
- – expected return of portfolio
- – weight of asset in the portfolio
- – expected return of asset
- – number of assets
Portfolio variance is different because it depends on how asset returns move together. Covariance measures whether deviations from expected values tend to occur together; positive covariance tends to increase portfolio variance, while negative covariance can reduce it. It is not enough to average individual asset variances.
- – variance of portfolio return
- and – weights of assets and
- – covariance between the returns of assets and
- – number of assets
Correlation standardizes covariance to a scale from minus one to plus one. A correlation of zero means no linear association, not necessarily no relationship of any kind. Lower correlations can reduce portfolio variance, but the result depends on the weights, the individual variances, and whether correlations remain stable when markets are stressed.
An expected-return calculation and a variance calculation answer different investment questions. Expected return summarizes the distribution’s central outcome; variance and covariance describe dispersion and co-movement. Diversification is about the joint distribution, not merely holding a larger number of securities.
Worked Example: Expected Value and Variance
Assume an investment has three possible one-year returns: −5% with probability 20%, 10% with probability 50%, and 25% with probability 30%. The outcomes are mutually exclusive and exhaustive, and the probabilities sum to one. The distribution, not an unweighted average, determines the expected return.
Expected return is 11.5%: . This is above the simple arithmetic average of the three displayed returns because the 25% outcome has a larger probability than the −5% outcome. The result is an expected one-year return, not the return that must occur next year.
For variance, subtract 11.5% from each outcome, square the deviations, and apply the probabilities. The weighted terms are , , and . Their sum, the variance, is 0.011025.
The standard deviation is , or 10.5%. The standard deviation gives the dispersion in return units, so it can be compared directly with the 11.5% expected return. The interpretation is not that every annual outcome must fall exactly 10.5% from the mean; the distribution itself remains the primary description.
Suppose a portfolio manager is considering the investment because of its 11.5% expected return. The decision question is whether that expected return compensates for the 10.5% dispersion, possible downside outcome, correlation with existing holdings, and the investor’s constraints. Expected value informs a decision; it does not make the decision by itself.
Common Mistakes in Probability and Random Variables
Do not reverse a conditional probability. Probability of a positive signal given distress is not the same as probability of distress given a positive signal. A frequency tree keeps the prior count, true positives, and false positives visible, which makes the correct denominator easier to identify.
Do not use the total probability rule unless the conditioning scenarios are mutually exclusive and exhaustive. If scenarios overlap or omit possible cases, their probabilities do not provide a complete denominator. Check the scenario partition before adding conditional branches.
Another mistake is treating expected value as the most likely outcome or treating variance as a complete measure of investment risk. Expected value is a weighted average, while variance is a squared-dispersion measure. Skewness, tail outcomes, liquidity, and correlation can matter even when two investments have the same expected value and standard deviation.
Finally, do not assume independence without support. Independence simplifies joint probabilities and conditional probabilities, but asset returns and credit events often move together in stressed conditions. Joint distributions and covariance are precisely the tools that reveal when a portfolio’s outcomes are connected.
Properties of Random Variables: Q&A
What is the difference between conditional and joint probability?
When should Bayes’ theorem be used?
How can a probability tree prevent Bayes errors?
What is the base-rate fallacy?
How are expected value and variance calculated from a probability distribution?
What does independence change in a probability calculation?
What does a probability result mean in investment terms?
Does zero correlation mean that two investments are unrelated?
Level 1 CFA Exam Takeaway: Properties of Random Variables
- Expected value is the probability-weighted average of mutually exclusive and exhaustive outcomes.
- Conditional probability, total probability, and Bayes’ theorem depend on identifying the correct denominator and prior probability.
- A frequency tree exposes base rates and false positives before applying Bayes’ formula.
- Variance measures squared dispersion; standard deviation returns that dispersion to the original unit.
- Portfolio expected return is weighted, while portfolio variance depends on covariances and the joint distribution of returns.

