Correlated multivariable gaussian random number generation

Click For Summary
SUMMARY

The discussion focuses on generating correlated multivariable Gaussian random numbers, specifically x_1, x_2, and x_3, using a single Gaussian random-number generator. The probability density function (PDF) is rewritten in terms of the multivariate normal distribution, utilizing the covariance matrix Σ. The method involves generating samples with the formula x = Σ^(1/2) y + μ, where y is a 3-vector of independent standard Gaussian random numbers.

PREREQUISITES
  • Understanding of multivariate normal distribution
  • Familiarity with covariance matrices
  • Knowledge of Gaussian random number generation
  • Basic concepts of probability density functions (PDFs)
NEXT STEPS
  • Study the properties of the multivariate normal distribution
  • Learn about covariance matrix manipulation in statistical contexts
  • Explore Gaussian random number generation techniques in programming languages
  • Research transformation techniques for correlated random variables
USEFUL FOR

Statisticians, data scientists, and anyone involved in simulations or modeling that requires generating correlated random variables.

iibewegung
Messages
14
Reaction score
0
\mathrm{prob} \propto \mathrm{e}^{-\frac{(a -x_1)^2}{2 \sigma^2}} \mathrm{e}^{-\frac{(x_1 -x_2)^2}{2 \sigma^2}} \mathrm{e}^{-\frac{(x_2 -x_3)^2}{2 \sigma^2}} \mathrm{e}^{-\frac{(x_3 -b)^2}{2 \sigma^2}}

a and b are known real constants.
Is there a way to generate x_1, x_2, x_3 independently using a single gaussian random-number generator 3 times, then transforming them somehow?

I'm almost certain this appears in statistics or applied math textbooks but I don't know what to look for.
 
Physics news on Phys.org
iibewegung said:
Is there a way to generate x_1, x_2, x_3 independently using a single gaussian random-number generator 3 times, then transforming them somehow?

Yes there is.

First you need to rewrite your PDF as a standard http://en.wikipedia.org/wiki/Multivariate_normal_distribution" \Sigma^{1/2} of \Sigma.

Then you can generate samples using

x = \Sigma^{1/2} y + \mu

where y is a 3-vector of single Gaussian (zero mean, variance=1) random numbers.
 
Last edited by a moderator:

Similar threads

  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
7
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K