Bivariate Normal Gibbs Sampler
Alternate conditional Gaussian draws for a zero-mean, unit-variance bivariate normal with caller-supplied correlation. Samples are autocorrelated.
Description
Alternate conditional Gaussian draws for a zero-mean, unit-variance bivariate normal with caller-supplied correlation. Samples are autocorrelated.
Bivariate Normal Gibbs Sampler: Alternate conditional Gaussian draws for a zero-mean, unit-variance bivariate normal with caller-supplied correlation. Samples are autocorrelated.
When to use Bivariate Normal Gibbs Sampler
Use this probability or sampling tool to compute a stated quantity or generate reproducible draws from a precisely parameterized distribution or stochastic model.
- correlation
- Required number input.
- start X
- Required number input.
- start Y
- Required number input.
- count
- Required integer input.
- seed
- Required string input.
How Bivariate Normal Gibbs Sampler works
Alternate conditional Gaussian draws for a zero-mean, unit-variance bivariate normal with caller-supplied correlation. Samples are autocorrelated. The tool evaluates the supplied inputs together and returns the named outputs below; it does not infer omitted operating conditions or change the units shown.1
- samples
- The resulting samples returned as a list.
Limitations and assumptions
- Results depend on parameterization, support, random source, seed, convergence, burn-in, autocorrelation, proposal quality, normalization, numerical tails, and whether model assumptions match the process. Samples are not exact evidence of convergence.
- Use finite inputs in the displayed units and preserve more precision than the final presentation requires. Independently verify safety-critical, financial, compliance, or production decisions.
Alternative or Complementary approaches
Check analytic moments or known test cases, use independent chains and diagnostics for Monte Carlo methods, report seed and effective sample size, and inspect tail behavior.
References
-
Monte Carlo method — Wikipedia contributors
Similar or alternative tools
- Metropolis-Hastings Normal Sampler
Use a Gaussian random-walk Metropolis-Hastings chain targeting the standard normal density. Report acceptance rate; samples are correlated.
- Cauchy Distribution Sampler
Sample a Cauchy distribution by inverse CDF from a seed. Cauchy samples have no finite mean or variance.
- Finite-State Markov Chain Monte Carlo Sampler
Sample a finite-state Markov chain from a caller-supplied row-stochastic transition matrix and initial state. This samples the chain, not an arbitrary target distribution.