Skip to content

Fix P update in stationary coefficients.#199

Merged
jstac merged 1 commit intomasterfrom
KalmanFix
Sep 28, 2015
Merged

Fix P update in stationary coefficients.#199
jstac merged 1 commit intomasterfrom
KalmanFix

Conversation

@thomassargent30
Copy link
Copy Markdown
Contributor

In the stationary coefficients for Kalman filter, update was being done with

P = Matrix
...
dot(P, P)

but this gives us P, P^2, P^4... instead of P, P^2, P^3...

Opening PR so John can make it prettier if he would like.

@thomassargent30
Copy link
Copy Markdown
Contributor Author

Leave open: Will add a corresponding test soon.

@jstac
Copy link
Copy Markdown
Contributor

jstac commented Sep 28, 2015

@cc7768 I'm accepting the PR so that the correction can be merged immediately but I'll add an issue stating that we need a test. Thanks for finding the error and handling this.

jstac added a commit that referenced this pull request Sep 28, 2015
Fix P update in stationary coefficients.
@jstac jstac merged commit 079545d into master Sep 28, 2015
@jstac jstac deleted the KalmanFix branch September 28, 2015 15:32
@jstac jstac mentioned this pull request Sep 28, 2015
@cc7768
Copy link
Copy Markdown
Member

cc7768 commented Sep 28, 2015

Sounds good.

@lbui01 lbui01 mentioned this pull request Mar 7, 2017
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

Successfully merging this pull request may close these issues.

3 participants