Industrial Data Analytics for Diagnosis and Prognosis. Yong Chen

Чтение книги онлайн.

Читать онлайн книгу Industrial Data Analytics for Diagnosis and Prognosis - Yong Chen страница 25

Industrial Data Analytics for Diagnosis and Prognosis - Yong Chen

Скачать книгу

with respect to μ and setting it to be equal to one, it is easy to see that

table row cell f left parenthesis D right parenthesis equals integral f left parenthesis D vertical line bold mu right parenthesis g left parenthesis bold mu right parenthesis text d end text bold mu. end cell end table

      A point estimate of μ can be obtained by maximizing the posterior distribution. This method is called the maximum a posteriori (MAP) estimate. The MAP estimate of μ can be written as

      From (3.27), it can be seen that the MAP estimate is closely related to MLE. Without the prior g(μ), the MAP is the same as the MLE. So if the prior follows a uniform distribution, the MAP and MLE will be equivalent. Following this argument, if the prior distribution has a flat shape, we expect that the MAP and MLE are similar.

      We first consider a simple case where the data follow a univariate normal distribution with unknown mean μ and known variance σ2. The likelihood function based on a random sample of independent observations D = {x1, x2,…, xn} is given by

table row cell f left parenthesis D vertical line mu right parenthesis equals product from i equals 1 to n of f left parenthesis x subscript i vertical line mu right parenthesis equals 1 over left parenthesis 2 pi sigma squared right parenthesis to the power of n divided by 2 end exponent e to the power of negative fraction numerator 1 over denominator 2 sigma squared end fraction sum from i equals 1 to n of left parenthesis x subscript i minus mu right parenthesis squared end exponent. end cell end table

      Based on (3.26), we have

table row cell f left parenthesis mu vertical line D right parenthesis proportional to f left parenthesis D vertical line mu right parenthesis g left parenthesis mu right parenthesis comma end cell end table

      where g(μ) is the probability density function of the prior distribution. We choose a normal distribution N(μ0, σ02) as the prior for μ. This prior is a conjugate prior because the resulting posterior distribution will also be normal. By completing the square in the exponent of the likelihood and prior, the posterior distribution can be obtained as

table row cell mu vertical line D tilde N left parenthesis mu subscript n comma sigma subscript n superscript 2 right parenthesis comma end cell end table

      The posterior mean given in (3.28) can be understood as a weighted average of the prior mean μ0 and the sample mean , which is the MLE of μ. When the sample size n is very large, the weight for is close to one and the weight for μ0 is close to 0, and the posterior mean is very close to the MLE, or the sample mean. On the other hand, when n is very small, the posterior mean is very close the prior mean μ0. Similarly, if the prior variance σ02 is very large, the prior distribution has a flat shape and the posterior mean is close to the MLE. Note that because the mode of a normal distribution is equal to the mean, the MAP of μ is exactly μn. Consequently, when n is very large, or when the prior is flat, the MAP is close to the MLE.

      When the data follow a p-dimensional multivariate normal distribution with unknown mean μ and known covariance matrix Σ, the posterior distribution based on a random sample of independent observations D = {x1, x2,…, xn} is given by

f left parenthesis bold mu vertical line D right parenthesis proportional to f left parenthesis D vertical line bold mu right parenthesis g left parenthesis bold mu equals product from i equals 1 to n of f left parenthesis bold x subscript i vertical line bold mu right parenthesis g left parenthesis bold mu right parenthesis comma

      where g(μ) is the density of the conjugate prior distribution Np(μ0, Σ0). Similar to the univariate case, the posterior distribution of μ can be obtained as

table row cell bold mu vertical line D tilde N subscript p left parenthesis mu subscript n comma capital sigma subscript n right parenthesis comma end cell end table

      where

Скачать книгу