Author-reviewedEvidence: highv1.0.1

Expected Value

Expected value is the probability-weighted mean of an uncertain outcome, such as a cost or QALY total, across all its possible values.

Download concept guide
Last reviewed byDr Darrin Baines

Concept Architecture

Expected Value as the Probability-Weighted Mean of Costs, QALYs and Model Outputs

Almost every figure a health economic model reports, from the expected cost of a strategy to its expected QALYs and expected net benefit, is the expectation of a random quantity. As a statistical quantity, expected value is defined for discrete and continuous outcomes, and its linearity lets expected costs and QALYs be built up branch by branch and simulation by simulation. Linearity fails for curved functions, so a model run at mean inputs does not in general give mean outputs, and functions of several parameters, skewed patient-level costs and variance as a second expectation each need care, as two illustrative examples show. Choosing between strategies by their expected costs and outcomes is a separate decision principle, covered on the expected value analysis page.

The expectation of a random cost or health outcome

A random variable assigns a number, such as a cost in pounds or a QALY total, to each possible outcome of an uncertain process. Its expected value weights every possible value by its probability. For an outcome with a finite set of values, it is defined as follows.

E[X]=∑k=1Kpkxk,∑k=1Kpk=1\mathbb{E}[X] = \sum_{k=1}^{K} p_k x_k, \qquad \sum_{k=1}^{K} p_k = 1

where XX is the random outcome, xkx_k is its kk-th possible value, pkp_k is the probability of that value and KK is the number of values. For a continuous non-negative outcome, such as a cost or a survival time, the sum becomes an integral.

E[X]=∫0∞x f(x) dx\mathbb{E}[X] = \int_{0}^{\infty} x\, f(x)\, dx

where f(x)f(x) is the probability density of XX; for an outcome that can be negative, such as an incremental cost, the integral runs over the whole real line. The expectation exists only when the sum or integral converges, and for skewed costs or survival it depends heavily on the upper tail.

The expected value carries the units of XX and describes a distribution, not any one patient. It is a property of a probability model, whereas the mean of observed data is a statistic that estimates it. By linearity, the expected budget for NN patients is N×E[C]N \times \mathbb{E}[C], where CC is cost per patient. By the law of large numbers, the average over a large cohort of independent patients with the same distribution also approaches the expected value. Uncertainty shared by every patient, such as an uncertain treatment effect, does not average out in this way.

Expectations at chance nodes and across model cycles

Decision models are built from conditional pieces, and the law of total expectation is what allows those pieces to be combined. Linearity then lets the pieces be added and rescaled. If the branches B1,…,BJB_1, \ldots, B_J leaving a chance node are mutually exclusive and exhaustive, the expectation combines as follows.

E[X]=∑j=1JP(Bj) E[X∣Bj]\mathbb{E}[X] = \sum_{j=1}^{J} P(B_j)\, \mathbb{E}[X \mid B_j]

where P(Bj)P(B_j) is the probability of branch jj and E[X∣Bj]\mathbb{E}[X \mid B_j] is the expected outcome among patients who take it. Applied repeatedly from the terminal nodes back to the root, this identity is the rollback calculation set out on the chance node, folding back and decision tree pages.

For any two outcomes XX and YY and constants aa and bb, E[aX+bY]=a E[X]+b E[Y]\mathbb{E}[aX + bY] = a\,\mathbb{E}[X] + b\,\mathbb{E}[Y], whether or not XX and YY are correlated. This is why the expected total cost of a Markov model is the sum of discounted expected costs per cycle, and why expected net benefit equals the threshold times expected QALYs minus expected costs. Linearity does not extend to ratios, so the ICER is formed from expected costs and QALYs after they have been calculated.

The Monte Carlo mean in probabilistic sensitivity analysis

When the parameters are uncertain, a model output becomes a function of random inputs, and its expected value is an average over the parameter distribution. That average is usually estimated by simulation. Formally, it is written as follows.

Eθ[g(θ)]=∫g(θ) π(θ) dθ≈1N∑n=1Ng(θ(n))\mathbb{E}_\theta\left[g(\theta)\right] = \int g(\theta)\, \pi(\theta)\, d\theta \approx \frac{1}{N} \sum_{n=1}^{N} g\left(\theta^{(n)}\right)

where g(θ)g(\theta) is an output such as expected cost given parameter values θ\theta, π(θ)\pi(\theta) is the joint density representing parameter uncertainty, θ(n)\theta^{(n)} is the nn-th sampled set and NN is the number of simulations. Doubilet and colleagues described this approach for medical decision trees in 1985, recording the mean and standard deviation of each strategy's expected utility across simulations. Monte Carlo averaging of this kind is the basis of probabilistic sensitivity analysis, and the simulated mean carries a Monte Carlo error with standard error sg/Ns_g / \sqrt{N}, where sgs_g is the output's standard deviation across draws.

Patient-level models add a second layer. In a microsimulation, E[Y]=Eθ[E[Y∣θ]]\mathbb{E}[Y] = \mathbb{E}_\theta\big[\mathbb{E}[Y \mid \theta]\big], where YY is one simulated patient's outcome. The inner expectation averages over patients, the stochastic or first-order uncertainty in the ISPOR-SMDM task force terms, and the outer one over parameter, or second-order, uncertainty. O'Hagan, Stevenson and Madan noted that each run of such a model may simulate many thousands of patients, so few runs are feasible, and developed analysis-of-variance methods to estimate the mean and variance of the output more efficiently.

Where linearity stops, and Jensen's inequality

The mean of a linear function equals the function of the mean. For a curved function the two differ. Jensen showed in 1906 that the direction of the gap follows the curvature.

E[g(X)]≥g(E[X]) for convex g,E[g(X)]≤g(E[X]) for concave g\mathbb{E}\left[g(X)\right] \ge g\left(\mathbb{E}[X]\right) \ \text{for convex } g, \qquad \mathbb{E}\left[g(X)\right] \le g\left(\mathbb{E}[X]\right) \ \text{for concave } g

where gg is a function of the random quantity XX. Health economic models contain many curved functions, among them exponentials, powers and the back-transformation of log costs. A deterministic run at mean inputs is then biased, in a direction set by the curvature where gg is convex or concave throughout; the consequences for choosing between strategies are shown on the expected value analysis page.

The expected value of a function of several parameters

Most outputs depend on many parameters, and their dependence matters as well as their spread. The simplest case is a product. For the number of admissions times the cost per admission, the expectation is as follows.

E[NU]=E[N] E[U]+Cov⁡(N,U)\mathbb{E}[NU] = \mathbb{E}[N]\,\mathbb{E}[U] + \operatorname{Cov}(N, U)

where NN is the number of admissions, UU is the cost per admission and Cov⁡(N,U)\operatorname{Cov}(N, U) is their covariance. With an illustrative mean of 1.5 admissions, a mean of £3,000 per admission and a covariance of 300, the expected cost is £4,800 (1.5 × 3,000 + 300 = 4,800), not the £4,500 from multiplying the means. For a general smooth function, a second-order expansion shows where the gap comes from.

E[g(θ)]≈g(μ)+12∑i=1m∑j=1m∂2g∂θi ∂θjCov⁡(θi,θj)\mathbb{E}\left[g(\boldsymbol{\theta})\right] \approx g(\boldsymbol{\mu}) + \frac{1}{2} \sum_{i=1}^{m} \sum_{j=1}^{m} \frac{\partial^2 g}{\partial \theta_i \, \partial \theta_j} \operatorname{Cov}(\theta_i, \theta_j)

where θ\boldsymbol{\theta} is the vector of mm parameters, μ\boldsymbol{\mu} is the vector of their means, the second derivatives are taken at μ\boldsymbol{\mu}, and Cov⁡(θi,θi)\operatorname{Cov}(\theta_i, \theta_i) is the variance of θi\theta_i. The correction vanishes for a linear model, and for a multilinear model with independent parameters, such as a tree in which each parameter appears at most once on every pathway. Otherwise it depends on parameter variance, model curvature and correlation, and correlation can widen or narrow the gap. The expansion indicates sign and rough size; the simulated mean is the estimate.

Worked example of an uncertain hazard and a five-year fracture probability

The figures are illustrative. A falls-prevention model needs the probability of a hip fracture within five years. The annual hazard hh has a mean of 0.10 and a standard deviation of about 0.071, represented by a gamma distribution with shape k=2k = 2 and scale s=0.05s = 0.05, and each fracture costs £12,000. Under a constant hazard, p=1−e−5hp = 1 - e^{-5h}, a hazard-to-probability conversion that is concave in hh.

1. Run at the mean hazard. The probability is p=1−e−0.5≈0.3935p = 1 - e^{-0.5} \approx 0.3935, giving an expected fracture cost of about £4,722 per person.

2. Take the expectation over the hazard. For a gamma-distributed hazard the survival term has a closed form.

E[e−ht]=(1+s t)−k\mathbb{E}\left[e^{-ht}\right] = (1 + s\,t)^{-k}

where tt is the horizon in years and ss and kk are the scale and shape. With t=5t = 5 this is 1.25 raised to the power −2, or 0.64, so the expected probability is 0.36 and the expected cost £4,320 per person.

3. Compare. The deterministic run overstates the probability by about 0.033, or about 393 rather than 360 fractures per 1,000 people, and the expected cost by about £402 per person. The probability is concave in hh, so its expectation lies below its value at the mean; fracture-free survival e−5he^{-5h} is convex, so its expectation, 0.64, lies above the deterministic 0.6065.

4. Check with the expansion. The second derivative −t2e−ht-t^2 e^{-ht} is about −15.16 at the mean and the hazard variance is ks2=0.005k s^2 = 0.005, so the correction is about −0.038 and the approximate expectation 0.356, close to the exact 0.36. A simulation of 10,000 draws would have a standard error of about 0.0019, as the probability has a standard deviation of about 0.187 across draws.

The bias would shrink with a more precise hazard and grow with a longer horizon, up to a horizon of about 20 to 25 years in this example, beyond which the absolute gap narrows again.

Expected costs from skewed patient-level data

Patient-level costs are usually skewed to the right, because a minority of patients have complications, reoperations or long stays. Thompson and Barber argued in 2000 that health care policy needs the total cost of treating all patients, which is the arithmetic mean cost multiplied by the number of patients, so the arithmetic mean is the informative summary. In their menorrhagia trial example, for endometrial resection, the median cost was £523, the geometric mean £683 and the arithmetic mean £790.

The statistical method decides which summary is compared. Thompson and Barber noted that a t test on untransformed costs compares arithmetic means, one on log costs compares geometric means, and the Mann-Whitney U test compares whole distributions; they judged t tests reliable when skewness is not too extreme or samples are moderately large, with bootstrapping as a check. Mihaylova and colleagues add that means compared on a transformed scale need back-transformation, commonly by Duan's smearing method when the error is homoskedastic, and review generalised linear models, which are estimated on the original cost scale and need no back-transformation. Thompson and Nixon found that cost-effectiveness conclusions can depend on how the upper tail beyond the observed data is modelled.

Worked example of the mean and median of a log-normal cost

The figures are illustrative. Annual costs after an admission follow a log-normal distribution with a median of £2,000 and a standard deviation of log cost of 1.0. The expected cost is calculated as follows.

E[C]=eμ+σ2/2\mathbb{E}[C] = e^{\mu + \sigma^2 / 2}

where CC is annual cost per patient, μ=ln⁡2000≈7.601\mu = \ln 2000 \approx 7.601 is the mean of log cost and σ=1.0\sigma = 1.0 is its standard deviation. The median and geometric mean both equal eμe^{\mu}, £2,000.

1. Calculate the mean. The expected cost is £2,000 times e0.5≈1.6487e^{0.5} \approx 1.6487, about £3,297, or about 65% above the median. Exponentiating the mean log cost returns the median, and the factor eσ2/2e^{\sigma^2/2} is Jensen's inequality for the convex exponential.

2. Locate the mean in the distribution. About 69% of patients cost less than the expected value, and the costliest 10% account for about 39% of total cost.

3. Set the budget. For 5,000 patients the expected annual budget is about £16.49 million, whereas the median or back-transformed log mean gives £10.0 million, a shortfall of about £6.49 million, or 39.3% of the true total.

4. Test the tail. With a standard deviation of log cost of 1.2 and the same median, the expected cost rises to about £4,109, so with marked skewness the mean depends on the modelled tail, a sensitivity of the kind Thompson and Nixon reported for the choice of cost distribution.

Variance as an expectation

Variance is itself an expected value, the expected squared distance of an outcome from its mean. It measures spread and recurs throughout uncertainty analysis. Formally, it is written as follows.

Var⁡(X)=E[(X−E[X])2]=E[X2]−(E[X])2\operatorname{Var}(X) = \mathbb{E}\left[(X - \mathbb{E}[X])^2\right] = \mathbb{E}\left[X^2\right] - \left(\mathbb{E}[X]\right)^2

where Var⁡(X)\operatorname{Var}(X) is the variance of XX. In the fracture example the hazard variance of 0.005 largely sets the size of the Jensen gap, and the rearranged identity, E[X2]=(E[X])2+Var⁡(X)\mathbb{E}[X^2] = (\mathbb{E}[X])^2 + \operatorname{Var}(X), is the step used in the relapse example on the expected value analysis page. The variance of patient costs governs how precisely a trial estimates mean cost, and the variance of simulated outputs gives the Monte Carlo standard error. A decision taken on expected values does not use variance directly, a point about risk attitudes taken up on the expected utility page.

Expected value beside nearby terms

Several terms share the word "expected" or the idea of an average but answer different questions. A sample mean estimates an expected value from data, and a median describes a typical patient rather than a budget. Expected utility averages utilities of outcomes so that attitudes to risk enter, expected value analysis is the rule of choosing by expectations, and expected net benefit applies that rule at a stated threshold. The expected value of perfect information is the expected gain from resolving uncertainty before choosing, so there the expectation is taken of a gain in net benefit, not of a cost or a QALY total.

Misreadings of expected values

Two statistical misreadings are illustrated above. One is equating an expectation with the central value of a skewed distribution, when more than two thirds of patients in the log-normal example fall below the mean. The other is equating the function of mean inputs with the mean of the function, which overstates the fracture probability by about 9% of its expected value. A further error is to report a median, geometric mean or exponentiated mean log cost as the expected cost, understating the budget. Another is to average patient-level or subgroup ratios instead of forming a ratio of expectations, and a last is to treat a mean cost as secure when it rests on an extrapolated upper tail.

Sources

  • Briggs A, Claxton K, Sculpher M. Decision Modelling for Health Economic Evaluation. Oxford: Oxford University Press; 2006.
  • Briggs AH, Weinstein MC, Fenwick EAL, Karnon J, Sculpher MJ, Paltiel AD. Model parameter estimation and uncertainty: a report of the ISPOR-SMDM Modeling Good Research Practices Task Force-6. Value in Health. 2012;15(6):835-842. doi:10.1016/j.jval.2012.04.014
  • Casella G, Berger RL. Statistical Inference. 2nd ed. Pacific Grove, CA: Duxbury; 2002.
  • Doubilet P, Begg CB, Weinstein MC, Braun P, McNeil BJ. Probabilistic sensitivity analysis using Monte Carlo simulation: a practical approach. Medical Decision Making. 1985;5(2):157-177. doi:10.1177/0272989X8500500205
  • Jensen JLWV. Sur les fonctions convexes et les inégalités entre les valeurs moyennes. Acta Mathematica. 1906;30:175-193. doi:10.1007/BF02418571
  • Mihaylova B, Briggs A, O'Hagan A, Thompson SG. Review of statistical methods for analysing healthcare resources and costs. Health Economics. 2011;20(8):897-916. doi:10.1002/hec.1653
  • O'Hagan A, Stevenson M, Madan J. Monte Carlo probabilistic sensitivity analysis for patient level simulation models: efficient estimation of mean and variance using ANOVA. Health Economics. 2007;16(10):1009-1023. doi:10.1002/hec.1199
  • Thompson SG, Barber JA. How should cost data in pragmatic randomised trials be analysed? BMJ. 2000;320(7243):1197-1200. doi:10.1136/bmj.320.7243.1197
  • Thompson SG, Nixon RM. How sensitive are cost-effectiveness analyses to choice of parametric distributions? Medical Decision Making. 2005;25(4):416-423. doi:10.1177/0272989X05276862

Institutional Perspectives (1)

  • NICE

    Probabilistic Means Preferred Unless the Model Is Linear

    NICE requires reported incremental cost-effectiveness ratios to be the ratio of expected additional total cost to expected additional QALYs. The committee's preferred cost-effectiveness estimate should come from a probabilistic analysis when possible unless the model is linear, and any use of deterministic results must be clearly justified. Distributions for mean parameter values should reflect the available evidence, and submissions should present the expected value of each cost component, expected total costs and expected QALYs for each option compared, alongside expected net health benefits.

    NICE technology appraisal and highly specialised technologies guidance: the manual (PMG36), sections 4.2.16, 4.7.10, 4.7.12 and 4.10.6, last updated 31 March 2026View source →

Functions & Formulae (4)

E[X] = sum_(k=1)^K p_k * x_k

Maps the probability distribution of an uncertain quantity, such as a cost per patient, a QALY total or a model output that depends on uncertain parameters, to its probability-weighted mean, which carries the units of the quantity. The discrete form applied at chance nodes is HE-FM-CHN-001 on the chance node page, the Monte Carlo mean over probabilistic simulations is HE-FM-ENB-001 and the constant-hazard event probability used below is HE-FM-TP-001. The records here cover the cases in which the mean of a function differs from the function of the means: a product of correlated quantities, a curved output with an uncertain parameter, an event probability under a gamma-distributed hazard and the mean of a log-normal cost. Notation follows the Expected Value article.

  • Expected value of a product of two correlated quantities

    E_NU = E_N * E_U + Cov_NU

    Gives the expected value of a product, such as the number of admissions times the cost per admission, from the two means and their covariance. The identity is exact for any joint distribution with finite variances. The product of the means equals the expected product only when the covariance is zero, for example when the two quantities are independent; a positive covariance raises the expected product above the product of the means and a negative one lowers it.

  • Second-order approximation to the expected value of a curved model output

    E_g = g_mu + 0.5 * d2g * Var_theta

    Approximates the expected value of an output g(theta) that depends on one uncertain parameter by its value at the parameter mean plus half its second derivative at the mean times the parameter variance. The correction shows the direction of Jensen's inequality: it is negative for a concave output, positive for a convex one and zero for a linear one. With several parameters the article's double sum adds a term for each pair, weighted by their covariance; for the product N times U the only second derivative is the cross term, equal to 1, so the expansion is exact and gives HE-FM-EV-001. The approximation indicates sign and rough size; the simulated mean (HE-FM-ENB-001) or a closed form is the estimate.

  • Expected survival and event probability under a gamma-distributed constant hazard

    S_bar = (1 + s * t)^(-k); p_bar = 1 - S_bar

    When a constant hazard h is uncertain and follows a gamma distribution with shape k and scale s, so that its mean is k times s and its variance k times s squared, the expected value of exp(minus h t) is the gamma Laplace transform evaluated at t, and the expected event probability over the horizon t is one minus that value. It replaces the deterministic 1 minus exp(minus h t) at the mean hazard (HE-FM-TP-001), which overstates the expected probability because the probability is concave in h. The same identity gives population survival under a gamma frailty with a constant baseline hazard.

  • Mean and median of a log-normal cost

    E_C = exp(mu + sigma^2 / 2); M_C = exp(mu)

    When the natural log of cost is normally distributed with mean mu and standard deviation sigma, the median cost and the geometric mean cost both equal exp(mu), and the expected cost is the median multiplied by exp(sigma squared over 2). The factor is Jensen's inequality for the convex exponential: exponentiating the mean log cost returns the median, not the mean. The expected cost is the figure that, multiplied by the number of patients, gives the total budget.

View all formulae

Library

Publications

4
  • Journal article

    How sensitive are cost-effectiveness analyses to choice of parametric distributions? — Thompson SG, Nixon RM, Vol. 25, No. 4, pp. 416-423 ed., 2005 (Medical Decision Making)

    Study of the sensitivity of cost-effectiveness analyses to the choice of parametric cost distribution, concluding that conclusions depend in particular on how the upper tail of the cost distribution beyond the observed data is modelled.

  • Journal article

    Probabilistic sensitivity analysis using Monte Carlo simulation: a practical approach — Doubilet P, Begg CB, Weinstein MC, Braun P, McNeil BJ, Vol. 5, No. 2, pp. 157-177 ed., 1985 (Medical Decision Making)

    Paper describing a practical method of probabilistic sensitivity analysis for medical decision trees, in which uncertainties in all values are considered together and the mean and standard deviation of each strategy's expected utility are recorded across multiple simulations.

  • Journal article

    Sur les fonctions convexes et les inégalités entre les valeurs moyennes — Jensen JLWV, Vol. 30, pp. 175-193 ed., 1906 (Acta Mathematica)

    Paper on convex functions and inequalities between mean values, the original source of Jensen's inequality, cited for the history of the inequality used when the expected value of a nonlinear function differs from the function of the expected value.

  • Journal article

    Conceptualizing a Model: A Report of the ISPOR-SMDM Modeling Good Research Practices Task Force-2 — Roberts, Russell, Paltiel, Chambers, McEwan & Krahn, Task Force Report 2 ed., 2012 (Value in Health / Medical Decision Making)

    Best-practice guidance on model conceptualisation — defining the decision problem, scoping, and choosing an appropriate model structure before implementation.

Frequently Asked Questions (6)

  • What is expected value?

    Expected value is the probability-weighted mean of an uncertain outcome, such as a cost or QALY total, across all its possible values.

    Source: Briggs, Claxton & Sculpher 2006

  • Why is expected value used to compare uncertain options?

    When the outcome of a choice is uncertain, no single result can represent it, so decision analysis summarises each option by the average result it would give over many repetitions, weighting each possible outcome by its probability. Comparing options on this probability-weighted average provides a consistent rule for choosing under uncertainty and is the basis of the expected value criterion. It assumes the decision-maker is content to be guided by the long-run average rather than by the worst or best case. Hunink and colleagues (2014) explain this rationale.

    Source: Hunink et al. 2014

  • How is expected value calculated?

    Expected value is calculated by listing all the possible outcomes of an uncertain event, multiplying each outcome by its probability, and adding these products together. For example, the expected value of a treatment's cost is the sum, over all possible cost outcomes, of each cost multiplied by its probability. The result is a single number summarising the uncertain situation by its probability-weighted average, which represents the outcome expected on average across the range of possibilities.

    Source: von Neumann & Morgenstern 1944

  • How is expected value used in decision analysis?

    In decision analysis, expected value is used to summarise and compare uncertain options: the expected cost and expected effect of each strategy are computed by weighting the outcomes of its possible paths by their probabilities, and the strategies are compared on these expected values. Folding back a decision tree computes expected values at chance nodes and chooses the best at decision nodes. Choosing the option with the best expected value is the standard criterion for decisions under uncertainty in economic evaluation.

    Source: von Neumann & Morgenstern 1944

  • How does expected value relate to expected utility?

    Expected value is the probability-weighted average of outcomes measured in their natural units, such as money or health, while expected utility is the probability-weighted average of the utility, or value, of those outcomes. Von Neumann and Morgenstern showed that a rational decision maker under risk should maximise expected utility, not expected value, because utility captures attitudes to risk. When outcomes are valued linearly, the two coincide, but where risk aversion matters, expected utility, not expected value, is the appropriate criterion.

    Source: von Neumann & Morgenstern 1944

  • What are the limitations of using expected value?

    Using expected value alone ignores the spread and risk of outcomes, treating a certain outcome and a risky one with the same average as equivalent, which may not match a decision maker's preferences when large losses or risk aversion are involved. It also depends on the probabilities and outcomes being correctly specified, which may be uncertain. For decisions where risk matters, expected utility is preferred, and expected value is best seen as a summary that must be complemented by attention to the uncertainty around it.

    Source: von Neumann & Morgenstern 1944

Trust Record

Verified by Dr Darrin Baines

British health economist

Professional identity: darrinbaines.org

Verification date: 28 Oct 2026

Content version: 1.0.1

Canonical Identity

Term code
HE-EM-DM-033
Wikidata
Q200125

Stable URI · Machine-readable · Resolvable · CC BY 4.0