Skip to content

Latin Hypercube Sampling from Multivariate Distribution #2161

Answered by Balandat
iwishiwasaneagle asked this question in Q&A
Discussion options

You must be logged in to vote

The standard way to sample from a MVN is to draw iid normal samples and then correlate them with a root of the covariance matrix: xi = mu + Lv where LL^T = Sigma. GPyTorch has support for this on the MVN but not for LHS. We have some utility for generating Sobol qMC samples in BoTorch that could be used instead here: https://github.com/pytorch/botorch/blob/main/botorch/utils/sampling.py#L199

It’s not LHS but may be useful.

If you do need to compute CDFs of MVNs we are about to add this functionality: pytorch/botorch#1394

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@iwishiwasaneagle
Comment options

@Balandat
Comment options

Answer selected by iwishiwasaneagle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants