Author-reviewedEvidence: highv1.0.2

Gaussian Process

A Gaussian process is a probability distribution over unknown functions, used in health economics to emulate slow decision models and to estimate EVPPI.

Status
Published, version 1.0.2
Last reviewed
31 Oct 2026, by Dr Darrin Baines
Report a problem
Tell us if something is wrong or out of date

Concept Architecture

Gaussian Process in Health Economic Modelling

A Gaussian process is a way of putting a probability model on an unknown function itself, rather than on a handful of parameters. In health economics the unknown function is usually the link between a decision model's uncertain inputs and an output such as net monetary benefit, which can be slow to compute for each set of inputs. Once a few runs have been observed, the process gives a best guess and an uncertainty for the output at inputs that were never run, so a probabilistic sensitivity analysis or value of information calculation becomes feasible on a slow model. Its predictions follow from a mean function and a covariance function, and the covariance function carries most of the assumptions.

A distribution over functions built from finite pieces

Rasmussen and Williams define a Gaussian process as a collection of random variables, any finite number of which have a joint Gaussian distribution. Each random variable is the value of the function at one input, so a decision model evaluated at ten parameter sets corresponds to ten jointly normal outputs. The pieces must agree, a consistency or marginalisation property, so looking at a larger set of inputs never changes the distribution already assigned to a smaller set.

m(x)=E[f(x)],k(x,x′)=E[(f(x)−m(x))(f(x′)−m(x′))],f(x)∼GP(m(x),k(x,x′))m(x) = E[f(x)], \qquad k(x, x') = E\big[(f(x) - m(x))(f(x') - m(x'))\big], \qquad f(x) \sim \mathcal{GP}\big(m(x), k(x, x')\big)

where f(x)f(x) is the unknown function at input xx, m(x)m(x) is the mean function, k(x,x′)k(x, x') is the covariance function between the outputs at inputs xx and x′x', and GP\mathcal{GP} denotes a Gaussian process.

For any finite set of inputs the process is an ordinary multivariate normal distribution, with m(x)m(x) in the mean vector and k(xi,xj)k(x_i, x_j) in the variance-covariance matrix. The covariance function must be positive semidefinite so that this matrix is valid for every set of inputs. Oakley and O'Hagan treat a complex computer model as a deterministic function y=η(x)y = \eta(x) whose response to its inputs is not transparent, with uncertainty about η(⋅)\eta(\cdot) represented by a Gaussian process prior.

The covariance function sets smoothness and scale

The covariance function says how much the output at one input reveals about the output at another. The squared exponential function is the running example in Rasmussen and Williams.

kSE(x,x′)=σf2exp⁡(−(x−x′)22ℓ2)k_{SE}(x, x') = \sigma_f^2 \exp\left(-\frac{(x - x')^2}{2\ell^2}\right)

where σf2\sigma_f^2 is the signal variance, the prior variance of the output at any single input, and ℓ\ell is the characteristic length-scale. Rasmussen and Williams describe the length-scale as roughly the distance one has to move in input space before the function value can change significantly.

This kernel is infinitely differentiable, so the functions it generates are very smooth. Rasmussen and Williams report Stein's argument that such strong smoothness is unrealistic for many physical processes and his recommendation of the Matérn class, in which a parameter ν\nu controls how rough the function may be. Decision models have many inputs, and a separate length-scale for each is the usual extension, which Rasmussen and Williams call automatic relevance determination because a very large length-scale marks an input as close to irrelevant. Strong, Oakley and Brennan use the same idea for EVPPI, with a correlation length δj\delta_j for each parameter of interest describing how smoothly conditional net benefit changes with it.

The mean function is the second choice. Rasmussen and Williams usually take it as zero, while Oakley and O'Hagan use regressor functions h(x)h(x) for beliefs about the general way the output responds, setting h(x)T=(1,xT)h(x)^T = (1, x^T) in one example, a constant plus a linear term in each input. The mean matters most away from the observed runs, where predictions drift back towards it.

Hyperparameters and the marginal likelihood

The signal variance, the length-scales and any noise variance are hyperparameters, and their values affect every prediction. Rasmussen and Williams describe setting them by maximising the marginal likelihood, the probability of the observed outputs with the function values integrated out, and show that it trades fit against complexity automatically, so it does not simply favour the most flexible model. Oakley and O'Hagan note that integrating over the hyperparameters by Markov chain Monte Carlo is highly intensive and that experience suggests plugging in estimates is adequate. Plug-in estimates leave uncertainty about the hyperparameters out of the reported prediction uncertainty.

Why a smooth prior saves model runs

The case for a Gaussian process rests on smoothness. Oakley and O'Hagan state the requirement as a belief that knowing η(x)\eta(x) gives some idea of η(x′)\eta(x') for nearby x′x', information that plain Monte Carlo simulation ignores after each run. Their design points are chosen to give good information about the function rather than drawn at random, starting in their examples from a Latin hypercube sampling design.

With the hyperparameters fixed, conditioning the prior on the runs gives a posterior that is again a Gaussian process, with a variance that shrinks near the runs, and the Gaussian process regression page gives the matrix formulas. Oakley and O'Hagan report that the standard deviations of their estimates were generally much smaller, often by orders of magnitude, than those from Monte Carlo methods with the same number of runs. They also state that the approach is not appropriate if the model is known to respond erratically or discontinuously to its inputs.

Two uses in economic evaluation

Gaussian processes appear in health economic work in two different ways. The difference changes what the fitted function means and what it is fitted to.

The first is emulation of the whole model as a function of all its uncertain inputs. Stevenson, Oakley and Chilcott applied it to an individual patient simulation of treatments for established osteoporosis, with minimal loss of accuracy, and each further run, which had taken 150 minutes, became virtually instantaneous, so that probabilistic sensitivity analysis became possible. Rojnik and Naveršnik used Gaussian process and multiple linear regression metamodels to compute partial EVPI for six groups of parameters in a breast cancer screening model. The Gaussian process performed better, and with it the computing time was 47 days instead of 44 years.

The second use, set out by Strong, Oakley and Brennan, works on an existing probabilistic sample and models only the conditional expected net benefit as a function of the parameters of interest. The sampled net benefits are treated as noisy data about that function, and the fitted values give the inner expectation needed for EVPPI without a nested Monte Carlo loop. The authors call this subtly different from the earlier applications, which modelled net benefit as a function of all the inputs. They recommend the Gaussian process over a generalised additive model when the parameters of interest number more than 6 or so and are expected to interact.

Worked example with a squared exponential kernel (illustrative)

All numbers here are illustrative. An analyst places a Gaussian process prior on incremental net monetary benefit (INMB), in GBP thousands, as a function of one input xx, the hazard ratio for progression on the new treatment. The prior mean is zero, σf2=4\sigma_f^2 = 4 (a prior standard deviation of GBP 2,000) and ℓ=0.1\ell = 0.1. The inputs of interest are x1=0.70x_1 = 0.70, x2=0.75x_2 = 0.75 and x3=0.90x_3 = 0.90.

1. Prior covariances. For x1x_1 and x2x_2 the exponent is (x1−x2)2/(2ℓ2)=0.0025/0.02=0.125(x_1 - x_2)^2 / (2\ell^2) = 0.0025 / 0.02 = 0.125, and for x1x_1 and x3x_3 it is (x1−x3)2/(2ℓ2)=0.04/0.02=2(x_1 - x_3)^2 / (2\ell^2) = 0.04 / 0.02 = 2.

k(x1,x2)=4×e−0.125=4×0.8825=3.530,k(x1,x3)=4×e−2=4×0.1353=0.541k(x_1, x_2) = 4 \times e^{-0.125} = 4 \times 0.8825 = 3.530, \qquad k(x_1, x_3) = 4 \times e^{-2} = 4 \times 0.1353 = 0.541

where each kk is a prior covariance between INMB values, in squared GBP thousands. Dividing by the prior variance of 4 gives correlations of 0.88 for the nearby pair and 0.14 for the distant pair.

2. Condition on one model run. The model is run once at x1=0.70x_1 = 0.70 and returns an INMB of 3, or GBP 3,000, with no noise. For a single noise-free run the conditional normal formulas are as follows.

μ(x∗)=m(x∗)+k(x∗,x1)k(x1,x1)(y1−m(x1)),v(x∗)=k(x∗,x∗)−k(x∗,x1)2k(x1,x1)\mu(x_*) = m(x_*) + \frac{k(x_*, x_1)}{k(x_1, x_1)}\big(y_1 - m(x_1)\big), \qquad v(x_*) = k(x_*, x_*) - \frac{k(x_*, x_1)^2}{k(x_1, x_1)}

where x∗x_* is the prediction input, y1=3y_1 = 3 is the observed output, m(⋅)=0m(\cdot) = 0 is the prior mean, k(x1,x1)=k(x∗,x∗)=4k(x_1, x_1) = k(x_*, x_*) = 4 is the prior variance, μ(x∗)\mu(x_*) is the predictive mean and v(x∗)v(x_*) the predictive variance.

3. Prediction at the nearby input. At x2x_2 the mean is μ(x2)=0.8825×3=2.65\mu(x_2) = 0.8825 \times 3 = 2.65 and the variance is v(x2)=4−12.461/4=4−3.115=0.885v(x_2) = 4 - 12.461 / 4 = 4 - 3.115 = 0.885, a standard deviation of 0.94. With Φ\Phi the standard normal distribution function, the probability that INMB is positive is Φ(2.65/0.94)=Φ(2.82)=0.998\Phi(2.65 / 0.94) = \Phi(2.82) = 0.998.

4. Prediction at the distant input. At x3x_3 the mean is μ(x3)=0.1353×3=0.41\mu(x_3) = 0.1353 \times 3 = 0.41 and the variance is v(x3)=4−0.293/4=4−0.073=3.927v(x_3) = 4 - 0.293 / 4 = 4 - 0.073 = 3.927, a standard deviation of 1.98, so the prediction has fallen most of the way back to the prior, and Φ(0.41/1.98)=Φ(0.21)=0.58\Phi(0.41 / 1.98) = \Phi(0.21) = 0.58.

5. Change the length-scale. With ℓ=0.2\ell = 0.2 the exponent for x1x_1 and x3x_3 is 0.04 / 0.08 = 0.5 and the covariance is k(x1,x3)=4×e−0.5=4×0.6065=2.426k(x_1, x_3) = 4 \times e^{-0.5} = 4 \times 0.6065 = 2.426. The prediction at x3x_3 becomes μ(x3)=0.6065×3=1.82\mu(x_3) = 0.6065 \times 3 = 1.82 with v(x3)=4−5.885/4=4−1.471=2.529v(x_3) = 4 - 5.885 / 4 = 4 - 1.471 = 2.529, a standard deviation of 1.59, and Φ(1.82/1.59)=Φ(1.14)=0.87\Phi(1.82 / 1.59) = \Phi(1.14) = 0.87.

6. Interpretation. One run says a great deal about hazard ratios near 0.70 and little about 0.90, and the length-scale alone moves the probability of positive INMB at 0.90 between 0.58 and 0.87. That probability describes uncertainty about what the slow model would return. It says nothing about how likely a hazard ratio of 0.90 is, which is the job of the input distributions in the probabilistic analysis. A real emulator uses many runs across all the uncertain inputs and estimates the length-scales from them.

Assumptions an analyst has to defend

The smoothness in the kernel does most of the work. Stopping rules or changes of treatment line can produce kinks or jumps that a smooth kernel rounds off, so predictions should be checked against held-out runs of the original model.

The noise assumption must match the model. A deterministic cohort model returns the same output for the same inputs and can be interpolated exactly, whereas an individual patient simulation carries Monte Carlo error, and Stevenson, Oakley and Chilcott note that large numbers of patients must be simulated to reduce this first-order uncertainty. In the EVPPI method of Strong, Oakley and Brennan the noise term is central, because variation due to parameters outside the group of interest is treated as noise around the conditional expectation.

The word Gaussian refers to the joint distribution of function values under the prior. It does not mean that net benefit across a probabilistic sample is normally distributed, and the model's outputs can be skewed or bounded.

Gaussian process regression and neighbouring methods

The Gaussian process is the prior model over functions, and Gaussian process regression is the procedure that conditions it on input and output pairs to predict. A Bayesian analysis of one parameter starts from a prior distribution over a number, whereas a Gaussian process is a prior over a whole function, and conditioning gives a posterior distribution over functions.

Outside value of information work, Oakley and O'Hagan used the fitted process to compute the main effects and interactions behind variance-based sensitivity analysis from a single set of runs, a strand of uncertainty quantification.

Limits and common misreadings

Most problems arise from forgetting that the process is a model of the model, with assumptions of its own. Five errors recur, and each can change a reported result.

  1. Ignoring computational cost. Rasmussen and Williams give n3/6n^3/6 operations for the Cholesky factorisation with nn training points, and Strong, Oakley and Brennan note that the cubic growth limits a probabilistic sample to the order of tens of thousands.
  2. Reading small predictive variance as small parameter uncertainty. Predictive variance measures how well the emulator knows the slow model's output, not how well the evidence pins down the inputs.
  3. Trusting extrapolation. Outside the design, predictions return towards the prior mean, so the design should cover the input distributions used in the probabilistic analysis.
  4. Treating hyperparameters as known. Plug-in length-scales and variances make predictive intervals too narrow when they are poorly determined.
  5. Assuming one kernel suits every model. Different kernels can give materially different predictions between runs, so the choice should be reported with its validation.

Sources

  • Oakley JE, O'Hagan A. Probabilistic sensitivity analysis of complex models: a Bayesian approach. Journal of the Royal Statistical Society: Series B (Statistical Methodology). 2004;66(3):751-769. https://doi.org/10.1111/j.1467-9868.2004.05304.x
  • Rasmussen CE, Williams CKI. Gaussian Processes for Machine Learning. MIT Press; 2006. Chapters 2, 4 and 5. https://gaussianprocess.org/gpml/
  • Rojnik K, Naveršnik K. Gaussian process metamodeling in Bayesian value of information analysis: a case of the complex health economic model for breast cancer screening. Value in Health. 2008;11(2):240-250. https://doi.org/10.1111/j.1524-4733.2007.00244.x
  • Stevenson MD, Oakley J, Chilcott JB. Gaussian process modeling in conjunction with individual patient simulation modeling: a case study describing the calculation of cost-effectiveness ratios for the treatment of established osteoporosis. Medical Decision Making. 2004;24(1):89-100. https://doi.org/10.1177/0272989X03261561
  • Strong M, Oakley JE, Brennan A. Estimating multiparameter partial expected value of perfect information from a probabilistic sensitivity analysis sample: a nonparametric regression approach. Medical Decision Making. 2014;34(3):311-326. https://doi.org/10.1177/0272989X13505910

Library

Publications

1
  • Journal article

    Value of Information Analytical Methods: Report 2 of the ISPOR Value of Information Analysis Emerging Good Practices Task Force — Rothery, Strong, Koffijberg, Basu, Ghabri, Knies, Murray, Sanders Schmidler, Steuten & Fenwick, Vol. 23, No. 3 ed., 2020 (Value in Health)

    The methods companion to the ISPOR VOI series, giving detailed algorithms and software guidance for computing EVPI, EVPPI, EVSI and the expected net benefit of sampling, with recommendations for selecting methods by decision-problem features.

Frequently Asked Questions (6)

  • What is a Gaussian process?

    A Gaussian process is a probability distribution over unknown functions, used in health economics to emulate slow decision models and to estimate EVPPI.

    Source: Rasmussen & Williams 2006

  • How does a Gaussian process describe an unknown function?

    A Gaussian process places a probability model on the function itself rather than on a small set of parameters. Rasmussen and Williams define it as a collection of random variables, any finite number of which have a joint Gaussian distribution, where each variable is the value of the function at one input. A mean function gives the expected output at each input and a covariance function gives how the outputs at two inputs vary together. The finite pieces must be consistent, so looking at a larger set of inputs never changes the distribution already assigned to a smaller set.

    Source: Rasmussen & Williams 2006

  • How does a Gaussian process work?

    Before any data are seen, the analyst chooses a mean function and a covariance function, which together fix a prior over functions. With the hyperparameters fixed, conditioning this prior on observed input and output pairs gives a posterior that is again a Gaussian process, and its predictive variance shrinks close to the observed points. Far from the observations, predictions drift back towards the prior mean. The signal variance, the length-scales and any noise variance are usually set by maximising the marginal likelihood, which Rasmussen and Williams show trades model fit against complexity automatically.

    Source: Rasmussen & Williams 2006

  • Why are Gaussian processes used as emulators?

    A health economic decision model can be slow to compute for each set of inputs, which makes probabilistic sensitivity analysis on it costly. Oakley and O'Hagan base the emulator on a belief that the model output is smooth, so knowing its value at one input gives some idea of its value at nearby inputs, information that plain Monte Carlo simulation ignores after each run. A Gaussian process fitted to a designed set of runs then predicts the output, with an uncertainty, at inputs that were never run. In their work the standard deviations of the estimates were generally much smaller, often by orders of magnitude, than those from Monte Carlo methods with the same number of runs.

    Source: Oakley & O'Hagan 2004

  • What is the role of the covariance function in a Gaussian process?

    The covariance function states how much the output at one input reveals about the output at another, and it carries most of the assumptions in a Gaussian process. In the squared exponential form, the running example of Rasmussen and Williams, a signal variance sets the prior variance of the output and a length-scale sets roughly how far an input must move before the output can change significantly. That kernel produces very smooth functions, and the Matérn class allows rougher ones. A separate length-scale for each model input gives automatic relevance determination, in which a very large length-scale marks an input as close to irrelevant.

    Source: Rasmussen & Williams 2006

  • What are the limitations of Gaussian processes?

    Exact fitting relies on a Cholesky factorisation whose cost Rasmussen and Williams put at n cubed over 6 operations for n training points, so very large sets of model runs become expensive to use. A smooth kernel can round off the kinks or jumps that stopping rules or changes of treatment line create in a health economic model, and predictions should therefore be checked against held-out runs of the original model. Outside the range of the design, predictions return towards the prior mean. Plugging in estimated hyperparameters as if they were known makes predictive intervals too narrow when those values are poorly determined.

    Source: Rasmussen & Williams 2006

Trust Record

Verified by Dr Darrin Baines

British health economist

Professional identity: darrinbaines.org

Verification date: 31 Oct 2026

Content version: 1.0.2

Canonical Identity

Term code
HE-EM-VI-020

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