2

When learning Gibbs sampler, the most used example is bivariate normal. But what if we want to simulate multivariate normal distribution? The computation (mean and variance) of conditional distribution really annoys me.

Deriving the conditional distributions of a multivariate normal distribution gives some formula to compute it. But computing conditional mean and variable of each variable is quite complicated. For example, if you want to simulate trivariate normal distribution, any good way to computing conditional mean and variance of $x_2$ and $x_3$ after you have computed that of $x_1$ by that formula mentioned above in that link.

Alexis
  • 26,219
  • 5
  • 78
  • 131
Spaceship222
  • 221
  • 1
  • 5

0 Answers0