Skip to content

Add forward sampling methods that compute moments directly #442

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

Open
lucianopaz opened this issue Mar 28, 2025 · 0 comments
Open

Add forward sampling methods that compute moments directly #442

lucianopaz opened this issue Mar 28, 2025 · 0 comments

Comments

@lucianopaz
Copy link
Member

I've recently run into problems that have huge model variables. I can sample the posterior for the free random variables fine, but some deterministics and predictive variables are just to big to store their full posterior represented by chains and draws. We can develop a method that iterates through the free RV samples, draws or computes conditional values of variables of interest and instead of stacking them over chains and draws, compute their mean and std with single pass algorithms such as Welford's. We can even get histograms or quantiles if we were able to get a t-digest implementation that handles batch dimensions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant