Geostatistics Lessons
Methodology
Cite

Cite this lesson

Citation format

Zhang, H., Erten, O., & Deutsch, C. V. (2020). Bayesian Updating for Combining Conditional Distributions. In J. L. Deutsch (Ed.), Geostatistics Lessons. Retrieved from https://geostatisticslessons.com/lessons/bayesianupdating

Zhang, Haoze, et al. “Bayesian Updating for Combining Conditional Distributions.” Geostatistics Lessons, edited by J. L. Deutsch, 2020, https://geostatisticslessons.com/lessons/bayesianupdating.

Zhang, Haoze, Oktay Erten, and Clayton V. Deutsch. 2020. “Bayesian Updating for Combining Conditional Distributions.” In Geostatistics Lessons, edited by J. L. Deutsch. https://geostatisticslessons.com/lessons/bayesianupdating.

@incollection{bayesianupdating,
  author = {Zhang, Haoze and Erten, Oktay and Deutsch, Clayton V.},
  editor = {Deutsch, J. L.},
  title = {Bayesian {Updating} for {Combining} {Conditional}
    {Distributions}},
  booktitle = {Geostatistics Lessons},
  year = {2020},
  url = {https://geostatisticslessons.com/lessons/bayesianupdating}
}

Download PDF(604KB) (opens in a new tab)

Bayesian Updating for Combining Conditional Distributions

  • Haoze Zhang, University of Alberta
  • Oktay Erten, University of Alberta
  • Clayton V. Deutsch, University of Alberta

Learning Objectives

  • Understand the concept of Bayesian Updating and its application in spatial prediction.
  • Explain the steps in Bayesian Updating for incorporating secondary variable(s) in the prediction of a sparsely-sampled primary variable.
  • Review the derivation of the Bayesian Updating equations.

Introduction

In many geoscience disciplines, the main variable of interest is sparsely sampled. In many cases, complementary secondary information from geophysics is incorporated into the modeling of the primary attribute of interest. As the secondary information is remotely sensed, much larger volumes can be sampled. Provided that there is sufficient linear correlation, these different types of data can be merged through Bayesian Updating to model the primary attribute of interest. In mining, widely-spaced borehole data in lateritic bauxite and nickel deposits may be supplemented by a ground penetrating radar survey. Similarly, in petroleum, reservoir quality measurements from widely-spaced wells can be supplemented by seismic data. In addition, multivariate data imputation (or assignment) for missing values often requires combining distributions from spatial data and collocated multivariate data.

Multivariate geostatistical approaches such as cokriging (Doyen, 1988) and collocated cokriging (Xu, Tran, Srivastava, & Journel, 1992) can be used to incorporate the exhaustive (available at all grid nodes to be predicted) secondary variable into the spatial prediction of the primary variable of interest. However, when there are multiple secondary variables, fitting a linear model of coregionalization could be tedious and restrictive. In Bayesian Updating, the only spatial model requirement is the covariance of the primary variable which is required in any case (Deutsch & Zanon, 2004; Neufeld & Deutsch, 2004). This lesson aims at explaining with mathematical derivation how multiple secondary variables could be merged to predict a primary variable of interest through Bayesian Updating.

Consider that in the domain AA, there are two types of data available: (1) primary, and (2) secondary. The former (i.e. well or borehole data) is generally sampled sparsely, and the latter (i.e. the data acquired by a geophysical survey) provides non-invasive exhaustive information related to the primary attribute. The primary variable YY has been sampled at nn locations, {y(ui),i=1,…,n}\{y(\textbf{u}_{i}), i = 1, \ldots,n\}, and the secondary variables, X=[X1,…,Xm]\textbf{X}=[X_{1},\ldots,X_{m}] are available at NN grid nodes within AA, {xj(ui),  j=1,…,m,  i=1,…,N}\{x_j(\textbf{u}_{i}), \;j=1,\ldots,m,\; i=1,\ldots,N\} where mm is the number of secondary variables and NN is the number of grid nodes. Both primary and secondary variables are normal score transformed, Y,Xj∼N(0,1),  j=1,…,mY, X_j\sim N(0,1),\;j=1,\ldots,m and assumed multivariate Gaussian. The primary variable YY is assumed to be second-order stationary within the domain AA, E{Y(u)}=0,Var{Y(u)}=1,∀u∈AE\{Y(\textbf{u})\}=0, Var\{Y(\textbf{u})\}=1, \forall \textbf{u} \in A. The primary and secondary variables are merged through Bayesian Updating to predict the values of the primary variable at the unsampled location within AA (Figure 1). The variance map for secondary data is constant in the domain, because the correlations are calculated using the data at the collocated locations and we assume they are constant in the domain, so the resulting variance is constant as well.

Spatial combination of different data sources through Bayesian Updating
Figure 1: Spatial combination of different data sources through Bayesian Updating

Consider a location u\mathbf{u}_{} where the value of the primary variable is to be predicted. In Bayesian Updating, the primary data {y(ui),i=1,…,n}\{y(\textbf{u}_{i}), i = 1, \ldots,n\} which are not present at location u\mathbf{u}_{}, and the secondary data {xj(ui),  j=1,…,m,  i=1,…,N}\{x_j(\textbf{u}_{i}), \;j=1,\ldots,m,\; i=1,\ldots,N\} which are present in the entire domain, are used for the conditioning. The steps are reviewed, then the mathematical derivation is given.

Steps of Bayesian Updating

Step 1

Calculate the mean yˉ1(u)\bar{y}_1 (\mathbf{u}_{}) and the variance σ12(u)\sigma_1^2(\mathbf{u}_{}) for the unsampled location u\mathbf{u} conditioning to primary data {y(ui),i=1,…,n}\{y(\textbf{u}_{i}), i = 1, \ldots,n\} through the normal equations. It is noted that simple kriging is equivalent to normal equations in Gaussian units:

yˉ1(u)=∑i=1nλiy(ui)σ12(u)=1−∑i=1nλiC(u−ui)∑i=1nλiC(ui−uk)=C(u−uk),    k=1,…,n \begin{split} &\bar{y}_1 (\mathbf{u}_{})= \sum_{i=1}^{n} \lambda_i y(\mathbf{u}_{i}) \\ &\sigma_1^2(\mathbf{u}_{})= 1 - \sum_{i=1}^{n} \lambda_i C(\mathbf{u}_{}- \mathbf{u}_{i})\\ &\sum_{i=1}^{n} \lambda_i C(\mathbf{u}_{i}-\mathbf{u}_{k}) = C(\mathbf{u}_{}- \mathbf{u}_{k}), \;\; k=1,\ldots,n \end{split}

C(ui−uk)C(\mathbf{u}_{i}- \mathbf{u}_{k}) are the data-to-data covariance values and C(u−uk)C(\mathbf{u}_{}- \mathbf{u}_{k}) are the data-to-unknown (or the location where the estimate is needed) covariance values calculated from a variogram model fitted to the experimental variogram of the yy-data.

Step 2

Calculate the mean yˉ2(u)\bar{y}_2(\mathbf{u}_{}) and the variance σ22(u)\sigma_2^2(\mathbf{u}_{}) for the unsampled location conditioning to the collocated secondary data {xj(ui),  j=1,…,m,  i=1,…,N}\{x_j(\textbf{u}_{i}), \;j=1,\ldots,m,\; i=1,\ldots,N\} through the normal equations:

yˉ2(u)=∑j=1mμjxj(u)σ22(u)=1−∑j=1mμjρjY∑j=1mμjρjk=ρkY,    k=1,…,m\begin{split} &\bar{y}_2(\mathbf{u}_{})= \sum_{j=1}^{m} \mu_j x_j(\mathbf{u}_{})\\ &\sigma_2^2(\mathbf{u}_{})= 1 - \sum_{j=1}^{m} \mu_j \rho_{jY}\\ &\sum_{j=1}^{m} \mu_j \rho_{jk}= \rho_{kY}, \;\; k=1,\ldots,m \end{split}

where {xj(u),j=1,…,m}\{x_j(\mathbf{u}_{}), j=1, \ldots,m\} are the secondary data at the unsampled location, ρkY\rho_{kY} is the cross-correlation between the primary and secondary data, and ρjk\rho_{jk} is the cross-correlation between the secondary data.

Step 3

The updated conditional mean yˉU\bar{y}_U and variance σU2\sigma_U^2 merging primary and secondary data through Bayesian Updating is given as follows (note that the unsampled location u\mathbf{u}_{} is dropped from the notation):

yˉU=σ12yˉ2+σ22yˉ1σ12−σ12σ22+σ22σU2=σ12σ22σ12−σ12σ22+σ22\begin{split} &\bar{y}_U = \frac{\sigma_1^2\bar{y}_2+\sigma_2^2\bar{y}_1}{\sigma_1^2-\sigma_1^2\sigma_2^2+\sigma_2^2}\\ &\sigma_U^2= \cfrac{\sigma_1^2\sigma_2^2}{\sigma_1^2- \sigma_1^2\sigma_2^2+\sigma_2^2} \end{split}

Switching the order of the primary and secondary data will not change the result of Bayesian Updating.

Mathematical Derivation

Recall

Recall Bayes Theorem:

P(A∣B)=P(A)P(B∣A)P(B) P(A|B)=\cfrac{P(A)P(B|A)}{P(B)}

In the context of geostatistics, BB represents the available data and AA represents the value at an unsampled location, which is also the variable of the equation. P(B)P(B) is constant; therefore, this equation is often simplified to P(A∣B)∝P(A)P(B∣A)P(A|B) \propto P(A)P(B|A) where P(B∣A)P(B|A) is referred to as the likelihood, P(A)P(A) as the prior, and P(A∣B)P(A|B) as the posterior. In the Bayesian Updating framework, we assume that the primary data source informs on the prior P(A)P(A) and the secondary data source informs on the likelihood P(B∣A)P(B|A) (Besag, 1986; Doyen, den Boer, & Pillet, 1996). Under this formalism, we assume that the collocated secondary data are conditionally independent of the primary data (n)(n) given YY at the prediction location. The conditional distribution given the primary and secondary data is then expressed as:

fY∣(n),x(y)∝fY∣(n)(y)fx∣Y(x). f_{Y |(n),\mathbf{x}}(y)\propto f_{Y |(n)}(y)f_{\mathbf{x} | Y}(\mathbf{x}).

Before giving the expression of prior and likelihood, let’s examine the conditional mean and variance in a standard Gaussian space N(0,1)N(0,1). Consider a set of n  (n=n1+n2)n \; (n=n_1 + n_2) multivariate Gaussian random variables. The conditional distribution of the first n1n_1 random variables given n2n_2 data values is multi-Gaussian with mean vector μ1∣2\boldsymbol{\mu}_{1|2} and covariance matrix ρ1∣2\boldsymbol{\rho}_{1|2} calculated by the well known normal equation (Johnson & Wichern, 2002):

μ1∣2=ρ12ρ22−1x2ρ1∣2=ρ11−ρ12ρ22−1ρ21 \begin{split} \boldsymbol{\mu_{1|2}}&=\boldsymbol{\rho}_{12} \boldsymbol{\rho}_{22}^{-1}\mathbf{x}_2 \\ \boldsymbol{\rho_{1|2}} &= \boldsymbol{\rho}_{11} - \boldsymbol{\rho}_{12} \boldsymbol{\rho}_{22}^{-1} \boldsymbol{\rho}_{21} \end{split}

where x2\mathbf{x}_2 is the n2n_2 dimension random variable values and the nn dimension cross-correlation matrix has the form of ρ=[ρ11ρ12ρ21ρ22]\boldsymbol{\rho}= \begin{bmatrix} \boldsymbol{\rho}_{11} & \boldsymbol{\rho}_{12} \\ \boldsymbol{\rho}_{21} & \boldsymbol{\rho}_{22} \end{bmatrix}.

Derivation of Bayesian Updating Equation

First, consider the prior. Since the variables are jointly Gaussian, all conditional distributions have a Gaussian shape:

fY∣(n)(y)∝exp⁡(−(y−yˉ1)22σ12)∝exp⁡(−y22σ12+yyˉ1σ12−yˉ122σ12)∝exp⁡(−y22σ12+yyˉ1σ12) \begin{split} f_{Y |(n)}(y)&\propto \exp \left( -\frac{(y- \bar{y}_1)^2 }{2\sigma_1^2}\right)\\ &\propto \exp \left( -\frac{y^2}{2\sigma_1^2} + \frac{y \bar{y}_1}{\sigma_1^2}-\frac{\bar{y}_1^2}{2\sigma_1^2} \right) \\ &\propto \exp \left(-\frac{y^2}{2\sigma_1^2} + \frac{y \bar{y}_1}{\sigma_1^2}\right) \end{split}

where yˉ1\bar{y}_1 and σ12\sigma_1^2 are conditional mean and variance calculated from the normal equations given in Step 1:

yˉ1=ρ0nρnn−1yσ12=1−ρ0nρnn−1ρn0,\begin{split} \bar{y}_1&= \boldsymbol{\rho}_{0n} \boldsymbol{\rho}_{nn}^{-1} \mathbf{y} \\ \sigma_1^2&= 1 - \boldsymbol{\rho}_{0n} \boldsymbol{\rho}_{nn}^{-1} \boldsymbol{\rho}_{n0}, \end{split}

where ρ0n\boldsymbol{\rho}_{0n} is the spatial correlation between yy and nn available primary data, y\mathbf{y} is the available primary data, and ρnn\boldsymbol{\rho}_{nn} is the spatial correlation between the available primary data in the domain, both of which are calculated from the analytical model fitted to the experimental variogram of the primary data.

Now, consider the likelihood (based on the collocated secondary data). Since all variables are multivariate Gaussian distributed, the conditional likelihood also has a Gaussian shape,

fx∣Y(x)∝exp⁡(−12[x−bx]Tρx−1[x−bx]), f_{\mathbf{x} | Y}(\mathbf{x})\propto \exp \left(-\frac{1}{2} [\mathbf{x}-\mathbf{b}_x]^T \mathbf{\rho}_x^{-1} [\mathbf{x}-\mathbf{b}_x]\right),

where bx\mathbf{b}_x is the conditional mean of x\mathbf{x} given yy and ρx\mathbf{\rho}_x is the conditional covariance matrix with the dimension of m×mm \times m. The likelihood is the probability distribution of the secondary data x\mathbf{x} given yy, while the prior is the probability distribution of yy given the sampled primary data (n)(n).

From the normal equations,

bx=ρ0myρx=ρmm−ρ0mρ0mT \begin{split} \mathbf{b}_x= \boldsymbol{\rho}_{0m} y \\ \boldsymbol{\rho}_x= \boldsymbol{\rho}_{mm}- \boldsymbol{\rho}_{0m}\boldsymbol{\rho}_{0m}^T \end{split} where ρmm=(ρ11…ρ1m⋮⋱⋮ρm1…ρmm)    ρ0m=[ρ10,…,ρm0]T\boldsymbol{\rho}_{mm}= \begin{pmatrix} \rho_{11} & \ldots & \rho_{1m} \\ \vdots & \ddots & \vdots \\ \rho_{m1} & \ldots & \rho_{mm} \end{pmatrix} \;\;\boldsymbol{\rho}_{0m}=[\rho_{10}, \ldots, \rho_{m0}]^T

The likelihood with the mean and the variance:

fx∣Y(x)∝exp⁡(−12[x−ρ0my]Tρx−1[x−ρ0my])∝exp⁡(−12[xT−ρ0mTy]ρx−1[x−ρ0my])∝exp⁡(−12[xTρx−1x−2ρ0mTρx−1xy+ρ0mTρx−1ρ0my2]) \begin{split} f_{\mathbf{x} | Y}(\mathbf{x})&\propto \exp ( -\frac{1}{2} \left[\mathbf{x} -\boldsymbol{\rho}_{0m}y\right]^T \boldsymbol{\rho}_x^{-1} [\mathbf{x}-\boldsymbol{\rho}_{0m}y]) \\ &\propto \exp ( -\frac{1}{2} [ \mathbf{x}^T -\boldsymbol{\rho}_{0m}^T y]\boldsymbol{\rho}_x^{-1} [\mathbf{x}-\boldsymbol{\rho}_{0m}y]) \\ &\propto \exp ( -\frac{1}{2}[\mathbf{x}^T \boldsymbol{\rho}_x^{-1} \mathbf{x} -2 \boldsymbol{\rho}_{0m}^T \boldsymbol{\rho}_x^{-1} \mathbf{x} y + \boldsymbol{\rho}_{0m}^T \boldsymbol{\rho}_x^{-1} \boldsymbol{\rho}_{0m}y^2]) \end{split}

Since x\mathbf{x} is fixed and yy is the variable, after eliminating the proportionality constant, this equation is simplified to

fx∣Y(x)∝exp⁡(−ρ0mTρx−1ρ0m2⋅y2+ρ0mTρx−1xy). f_{\mathbf{x} | Y}(\mathbf{x})\propto \exp \left(-\frac{\boldsymbol{\rho}_{0m}^T \boldsymbol{\rho}_x^{-1} \boldsymbol{\rho}_{0m}}{2} \cdot y^2 + \boldsymbol{\rho}_{0m}^T \boldsymbol{\rho}_x^{-1} \mathbf{x} y \right).

The next step is to simplify the likelihood equation into a more concise format which shares a similar form with the prior results (Ren, 2007). The conditional mean (yˉ2\bar{y}_2) and the variance (σ22\sigma^2_2) of yy given x\mathbf{x} are to be used to represent the coefficients of the polynomial terms in the likelihood results. First, let’s rewrite the equations for yˉ2\bar{y}_2 and σ22\sigma^2_2, which also come from the normal equations given in Step 2:

yˉ2=∑i=1mλixiσ22=1−∑i=1mλiρi,0∑i=1mλiρi,k=ρk,0,    k=1,…,m \begin{split} &\bar{y}_2 = \sum_{i=1}^{m} \lambda_i x_i \\ &\sigma_2^2= 1 - \sum_{i=1}^{m} \lambda_i \rho_{i,0} \\ &\sum_{i=1}^{m} \lambda_i \rho_{i,k} = \rho_{k,0}, \;\; k=1,\ldots,m \end{split}

In a matrix form, λT=ρ0mTρmm−1\mathbf{\lambda}^T=\boldsymbol{\rho}_{0m}^T \boldsymbol{\rho}_{mm}^{-1}, the mean and covariance are expressed as:

yˉ2=ρ0mTρmm−1xσ22=1−ρ0mTρmm−1ρ0m\begin{split} \bar{y}_2=\boldsymbol{\rho}_{0m}^T \boldsymbol{\rho}_{mm}^{-1} \mathbf{x} \\ \sigma_2^2 =1 - \boldsymbol{\rho}_{0m}^T \boldsymbol{\rho}_{mm}^{-1} \boldsymbol{\rho}_{0m} \end{split}

Then, the expression of ρx−1\boldsymbol{\rho}_x^{-1} is developed. From the previous section, applying the rank-one matrix inverse identity gives:

ρx=ρmm−ρ0mρ0mTρx−1=ρmm−1+ρmm−1ρ0mρ0mTρmm−11−ρ0mTρmm−1ρ0m=ρmm−1+ρmm−1ρ0mρ0mTρmm−1σ22 \begin{split} \boldsymbol{\rho}_x&= \boldsymbol{\rho}_{mm}-\boldsymbol{\rho}_{0m}\boldsymbol{\rho}_{0m}^T \\ \boldsymbol{\rho}_x^{-1}&=\boldsymbol{\rho}_{mm}^{-1}+ \frac{\boldsymbol{\rho}_{mm}^{-1}\boldsymbol{\rho}_{0m}\boldsymbol{\rho}_{0m}^T\boldsymbol{\rho}_{mm}^{-1}} {1-\boldsymbol{\rho}_{0m}^T\boldsymbol{\rho}_{mm}^{-1}\boldsymbol{\rho}_{0m}} \\ &=\boldsymbol{\rho}_{mm}^{-1}+ \frac{\boldsymbol{\rho}_{mm}^{-1}\boldsymbol{\rho}_{0m}\boldsymbol{\rho}_{0m}^T\boldsymbol{\rho}_{mm}^{-1}}{\sigma_2^2} \end{split}

These inverse expressions assume nonsingular covariance matrices and σ22>0\sigma_2^2>0. The coefficient of the linear term ρ0mTρx−1x\boldsymbol{\rho}_{0m}^T \boldsymbol{\rho}_x^{-1} \mathbf{x} is expressed as: ρ0mTρx−1x=yˉ2+(1−σ22)yˉ2σ22=yˉ2σ22 \begin{split} \boldsymbol{\rho}_{0m}^T \boldsymbol{\rho}_x^{-1} \mathbf{x} &=\bar{y}_2+\frac{(1-\sigma_2^2)\bar{y}_2}{\sigma_2^2} \\ &=\frac{\bar{y}_2}{\sigma_2^2} \end{split}

The same method is applied to the quadratic term coefficient ρ0mTρx−1ρ0m\boldsymbol{\rho}_{0m}^T \boldsymbol{\rho}_x^{-1} \boldsymbol{\rho}_{0m}:

ρ0mTρx−1ρ0m=(1−σ22)+(1−σ22)2σ22=1−σ22σ22 \begin{split} \boldsymbol{\rho}_{0m}^T \boldsymbol{\rho}_x^{-1} \boldsymbol{\rho}_{0m} &=(1-\sigma_2^2)+\frac{(1-\sigma_2^2)^2}{\sigma_2^2} \\ &=\frac{1-\sigma_2^2}{\sigma_2^2} \end{split}

Now substituting the two coefficients back into the likelihood gives a simplified form of the likelihood:

fx∣Y(x)∝exp⁡(−1−σ222σ22y2+yˉ2σ22y) f_{\mathbf{x} | Y}(\mathbf{x})\propto \exp\left(-\frac{1-\sigma_2^2}{2 \sigma_2^2} y^2 + \frac{\bar{y}_2}{\sigma_2^2} y \right)

Substituting the prior and the likelihood back to the posterior equation gives the form of the combined probability distribution of yy given the primary and secondary data:

fY∣(n),x(y)∝exp⁡(−12[1−σ22σ22+1σ12]y2+[yˉ2σ22+yˉ1σ12]y). \begin{split} f_{Y |(n), \mathbf{x}}(y)\propto \exp \left(-\frac{1}{2}\left[ \frac{1-\sigma_2^2}{\sigma_2^2} +\frac{1}{\sigma^2_1}\right] y^2+ \left[\frac{\bar{y}_2}{\sigma_2^2} +\frac{\bar{y}_1}{\sigma_1^2}\right] y \right) \end{split}.

This has the form of exp⁡(−Ax2+Bx)\exp(-Ax^2+Bx) which can be rearranged to a standard Gaussian distribution form with the updated conditional mean and variance:

yˉU=B2A=yˉ2σ22+yˉ1σ121−σ22σ22+1σ12=σ12yˉ2+σ22yˉ1σ12−σ12σ22+σ22σU2=12A=11−σ22σ22+1σ12=σ12σ22σ12−σ12σ22+σ22, \begin{split} &\bar{y}_U = \frac{B}{2A}=\cfrac{\cfrac{\bar{y}_2}{\sigma_2^2} + \cfrac{\bar{y}_1}{\sigma_1^2}}{\cfrac{1-\sigma_2^2}{\sigma_2^2}+\cfrac{1}{\sigma_1^2}}= \frac{\sigma_1^2\bar{y}_2+\sigma_2^2\bar{y}_1}{\sigma_1^2-\sigma_1^2\sigma_2^2+\sigma_2^2}\\ &\sigma_U^2=\frac{1}{2A}=\cfrac{1}{\cfrac{1-\sigma_2^2}{\sigma_2^2}+\cfrac{1}{\sigma_1^2}}= \cfrac{\sigma_1^2\sigma_2^2}{\sigma_1^2- \sigma_1^2\sigma_2^2+\sigma_2^2} \end{split},

These are the equations for Bayesian Updating.

In the final posterior equation given above, the exp⁡(−Ax2+Bx)\exp(-Ax^2+Bx) form gives the value of updated mean and variance. When estimating the probability distribution, there is only one variable yy, so consider a standard univariate Gaussian distribution:

g(x;m,σ)∝exp⁡(−(x−m)22σ2)∝exp⁡(−x2−2mx+m22σ2)∝exp⁡(−12σ2⋅x2+mσ2⋅x) \begin{aligned} g(x;m,\sigma) &\propto \exp \left(-\cfrac{(x-m)^2}{2\sigma^2}\right) \\ & \propto \exp\left(-\cfrac{x^2-2mx+m^2}{2\sigma^2} \right) \\ & \propto \exp\left(-\cfrac{1}{2\sigma^2}\cdot x^2 + \cfrac{m}{\sigma^2} \cdot x \right) \end{aligned}

In this equation, suppose 12σ2=A\cfrac{1}{2\sigma^2}= A and mσ2=B\cfrac{m}{\sigma^2}=B. It is easy to prove that σ2=12A\sigma^2= \cfrac{1}{2A} and m=B2Am=\cfrac{B}{2A}, which are the updated variance and mean, respectively.

Summary

Bayesian Updating is a robust method that combines the information from primary and multiple secondary variables in order to generate a posterior (or updated) conditional probability distribution of the primary variable to be predicted fY∣(n),x(y)f_{Y |(n),\mathbf{x}}(y). At each grid node, the posterior distribution is obtained as a product of the conditional distribution of all secondary variables given the primary variable to be predicted fx∣Y(x)f_{\mathbf{x} | Y}(\mathbf{x}) and the conditional distribution of the primary variable to be predicted given available primary data fY∣(n)(y)f_{Y |(n)}(y). Considering the Bayesian inference, the former conditional distribution accounts for the influence of the secondary information and the latter conditional distribution accounts for the influence of the primary variable. The major assumption in Bayesian Updating is that the conditional distribution of all secondary variables given the primary variable is obtained by considering only the collocated available secondary variables with the primary variable to be predicted, which is in fact identical to Markov-type screening hypothesis in collocated cokriging.

The simplicity of Bayesian Updating lies in the fact that the Bayesian Updating process does not require the spatial cross-correlation between primary and secondary data, which is a necessity in collocated cokriging. In the cokriging context, all available data (primary and secondary) are combined in one Gaussian space, and to describe this space, the correlation between dimensions are required. If this space can be described parametrically, the conditional distribution (mean and variance) at the unsampled location (one dimension in the space) can be viewed as other data dimensions’ projection at that dimension. This is why normal equations are used when calculating conditional distributions. However, it is difficult to parameterize this large Gaussian space, therefore, Bayesian Updating is adopted as a way to combine two Gaussian spaces (primary and secondary data space) together, and the combination is based on Bayes Theorem. The two separate Gaussian spaces are easy to describe. The primary data space is defined by the variogram. The secondary data space is parameterized by the correlations calculated from the data. The collocated assumption avoids the spatial correlation requirement in the secondary space. Thus, the variance map for the secondary data is constant in the domain.

The interpretation of prior or likelihood does not influence the final updated results, which can be observed in the Bayesian Updating equations. Each data source provides a conditional mean and variance of yy. Despite the format and derivation difference in Bayesian Updating and collocated cokriging under the Markov-type screening hypothesis, these two methods produce identical results. In the presence of multiple secondary variables, Bayesian Updating may be advantageous because there is no need for the linear coregionalization model to be fitted for all available variables, which is a requirement of the conventional geostatistical algorithms. When multiple secondary variables are available, as with the other geostatistical prediction algorithms, Bayesian Updating also produces the estimation variance indicating the uncertainty associated with the estimate assigned to the particular location.

References

Besag, J. (1986). On the statistical analysis of dirty pictures. Journal of the Royal Statistical Society: Series B (Methodological), 48(3), 259–279. http://doi.org/10.1111/j.2517-6161.1986.tb01412.x
Deutsch, C. V., & Zanon, S. D. (2004). Direct Prediction of Reservoir Performance With Bayesian Updating Under a Multivariate Gaussian Model. In Canadian international petroleum conference (pp. 1–8).
Doyen, P. M. (1988). Porosity from seismic data: A geostatistical approach. Geophysics, 53(10), 1263–1275.
Doyen, P. M., den Boer, L. D., & Pillet, W. R. (1996). Seismic porosity mapping in the Ekofisk field using a new form of collocated cokriging. In SPE annual technical conference and exhibition (pp. 21–30).
Johnson, R. A., & Wichern, D. W. (2002). Applied multivariate statistical analysis (5th ed.). Upper Saddle River, NJ: Prentice Hall.
Neufeld, C., & Deutsch, C. V. (2004). Incorporating secondary data in the prediction of reservoir properties using Bayesian updating (CCG Paper No. 2004-114) (pp. 1–12). Centre for Computational Geostatistics, University of Alberta. Retrieved from https://www.ccgalberta.com/ccgresources/report06/2004-114-bayesian.pdf
Ren, W. (2007). Exact downscaling in reservoir modeling (PhD thesis). University of Alberta, Edmonton, Canada.
Xu, W., Tran, T. T., Srivastava, R. M., & Journel, A. G. (1992). Integrating seismic data in reservoir modeling: the collocated cokriging alternative. In SPE annual technical conference and exhibition (pp. 833–842).

Cite this lesson as:

Zhang, H., Erten, O., & Deutsch, C. V. (2020). Bayesian Updating for Combining Conditional Distributions. In J. L. Deutsch (Ed.), Geostatistics Lessons. Retrieved from https://geostatisticslessons.com/lessons/bayesianupdating

Search lesson titles and content.