Comments (4)
Hi,
The proposal distribution in mcmc.pmmh
is a Gaussian random walk; i.e. the proposed parameter value is simulated from
First, can you ask you whether this point was clear to you? Otherwise, I think I should review the documentation. (This point is explained at least in the corresponding notebook tutorial, but maybe not in the docstrings.)
Anyway, I guess what happens here is that eventually the algorithm proposes a value of theta which gives you singular cov matrices (I'm talking about the cov matrix of the proposal of the states this time, inside each PF). Could you adapt the prior so that the prior probability of this happening is really zero?
In that case, pmmh
will not even run the PF, and the problem should not arise.
from particles.
Thanks for your response.
It isn't clear to me how I could give the proposal covariance for the simulation of the new
My covariance matrix gets singular if it appears that
But since I gave as a prior a truncated normal distirbution which is truncated at
But still it simulates
from particles.
First, to set the covariance matrix of the proposal, use argument rw_cov
; see here:
https://particles-sequential-monte-carlo-in-python.readthedocs.io/en/latest/_autosummary/particles.mcmc.PMMH.html#particles.mcmc.PMMH
But now that you mention it, I can see that the docstring is not super-clear... I'll try to fix it shortly.
Second, yes, you're right, a value below
from particles.
More details are now given in the docstrings of PMMH and parent classes regarding parameter rw_cov
, and more generally how to calibrate random walk proposals.
from particles.
Related Issues (20)
- Add an improper distribution class HOT 1
- Typos in `MvNormal` HOT 1
- Not a big issue, but just the typo in document HOT 1
- Wrong reference in documentation HOT 1
- Feature: log-normal dists
- SSM for SIR-Model HOT 4
- Missing feature: Multivariate normal distribution with a different covariance matrix for each particle HOT 2
- Error in guided particle filtering for pre-implemented stochastic volatility model. HOT 4
- Information request regarding particle attribute and predictive steps HOT 1
- nsteps in backward_sampling_mcmc
- Categorical distribution
- Automate upper_bound_log_pt
- Mixture error? HOT 3
- Potential Bug in SMC2 HOT 1
- Forum Creation HOT 3
- Not working given example in the Kalman file HOT 1
- Bug in BayesianVS_gprior HOT 1
- Feature request: parallelisation over the particles? HOT 3
- smc_samplers.AdaptiveTempering may raise an error before reaching exponent == 1. HOT 1
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 particles.