Comments (4)
Hi @grahamgower,
Thanks for your comment.
I think I agree with what you say about the "MK" recipe although I believe the effect is very minor. I haven't seen a case in which it actually affects the outcome. Please let me know if you can think of anything where this could be a problem. A nice property of this estimator, apart from its lower variance (see the figure), is that it can help diagnose violations of ergodicity. E.g. If the walkers are unable to jump from mode to mode in a multimodal case the the MK estimate of the autocorrelation time would be equal to the length of the chain.
I've tried what you suggested and it seems to give similar results to the Goodman-Weare estimator as you can see in the figure bellow:
from zeus.
Thanks for your insights. I guess all these estimators are asymptotically unbiased when the chain length tends to inf.
I've tried what you suggested and it seems to give similar results to the Goodman-Weare estimator as you can see in the figure bellow:
Ah! This is obvious in hindsight because the fourier transform preserves linearity. Sorry, I should admit that I haven't looked at a fourier transform in quite some years (and never used one outside a classroom).
from zeus.
Here's another simple alternative that seems reasonable: https://arxiv.org/abs/2009.01799. They just take the ACvF of mean-centered chains, where the mean is calculated globally over all chains.
from zeus.
Thanks! That looks interesting, I'll have a look.
I'm not 100% sure that this applies to chains like the ones that zeus generates (from interacting walkers) but I'll have to read the paper first.
from zeus.
Related Issues (20)
- get_last_sample should be function HOT 3
- Constrained sampling in parameter space HOT 13
- Resuming a chain more efficiently HOT 3
- zeus and emcee HOT 1
- Can I resume jobs with the same Zeus sampler? HOT 2
- zeus has no attribute 'EnsembleSampler' HOT 10
- `zeus` has a hard time with a simple transit fit problem (as compared to `emcee`) HOT 1
- Print parameter values if likelihood fails HOT 7
- [ENH] support for named parameters HOT 1
- specify random seed? HOT 1
- zeus fails to estimate parameters on simple example where emcee has no trouble HOT 2
- [Feature Request] Add a `CITATION.cff` HOT 1
- Poor/no mixing of walkers
- Deprecation Warning for Collections
- Computation of R-hat Statistic
- Bug: Autocorrelation fails with newest Scipy
- Poor parallelisation scaling
- Update sklearn requirement to scikit-learn HOT 1
- Enhancement Request: Ability to call chain manager by external function / module
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zeus.