-
Notifications
You must be signed in to change notification settings - Fork 26
MCMC Sampling of partially-observed multivariate normal nodes #1612
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: devel
Are you sure you want to change the base?
Conversation
`partial_mvn` sampler, to have the code here for posterity.
|
So do we think the most common use case would be that |
|
@paciorek Please see the addition of the When one or more dimensions (from among the unobserved dimensions) of a partially-observed MVN node themselves have no data dependencies, then a @paciorek A second set of eyes would be appreciated. There might also be some efficiency improvements with the linear algebra within the |
Addresses NCT issue 296.
This PR adds support for MCMC sampling of partially-observed multivariate normal nodes. That is, multivariate-distributed nodes, where some of the dimensions are observed data, and some of the dimensions are unobserved (latent). The
partial_mvnsampler essentially operates by assigning univariate RW samplers to the (individual) unobserved dimensions of partially-observed (and therefore also partially-unobserved) MVN-distributed nodes.More specifically, several cases for sampling the unobserved dimensions are handled:
posterior_predictivesamplers.multivariateNodesAsScalars = TRUE, then all remaining unobserved dimensions are assigned univariateRWsamplers.multivariateNodesAsScalars = FALSE, then all remaining unobserved dimensions are assigned a single multivariateRW_block.A variety of test cases are also added.