-
Notifications
You must be signed in to change notification settings - Fork 10
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
Implement Square Root Filter #11
Comments
That, or use A different solution is make the Arguments to the Kalman-Filter-Type which are covariances actually |
Cool, thank you.
I tried to make the prior Hermitian, but it didn't propagate to the posteriors. Is that what you meant? |
Ah, I see that this is not yet possible. I'll have to a square root filter anyway which alleviates the problem. |
Hi, I have a similar issue with some of my data. My It happens as soon as Here is a MWE:
Error stack:
|
Hi @touste
to force symmetry. But do you need actually the likelihood? If not, I could make a version of the filter which does not compute the likelihood, then this problem does not show up. You could also define |
Hi, thanks for the tip, it works perfectly! Yes I need the likelihood, but I wonder why is this definition not the default one in your package? It seems that there can be plenty of cases where S is not symmetric. |
master now follows your suggestion |
After running the Kalman filter on some data, I'd like to sample from the posterior, but I get
I admit that I don't understand these issues as well as I should. Should I just follow their advice, and use
P.μ + chol(Hermitian(P.Σ))'*randn(T, length(P.μ))
? It seems to work.The text was updated successfully, but these errors were encountered: