Skip to content
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

bug in kalman smoother when k=0? #92

Open
rBatt opened this issue Apr 25, 2015 · 3 comments
Open

bug in kalman smoother when k=0? #92

rBatt opened this issue Apr 25, 2015 · 3 comments
Assignees
Labels

Comments

@rBatt
Copy link
Contributor

rBatt commented Apr 25, 2015

https://github.com/GLEON/LakeMetabolizer/blob/master/R/metab.kalman.R#L295

The commit (ryan's) that created the bug is here

Resulted from trying to handle k=0. That's a bug, right??

@lawinslow

@cbuelo You said you'd had an issue with smoothing the oxygen, right? It might be that the earlier versions I tested hadn't yet tried to handle k=0, I'd have to check.

Note that this only affects the smoother of DO, not the estimation of metabolism.

@cbuelo
Copy link
Contributor

cbuelo commented Apr 27, 2015

Yeah if I remember correctly the returned "smooth" DO time series had big, random-looking jumps in it.

@rBatt
Copy link
Contributor Author

rBatt commented Apr 27, 2015

That's probably due to dividing by a small fraction in the smoother, but
I'm not sure.

These issues may be unrelated. However, I'd be interested to see if your
smoothing problem was solved once this bug fix is implemented.

On Mon, Apr 27, 2015 at 9:20 AM, Cal [email protected] wrote:

Yeah if I remember correctly the returned "smooth" DO time series had big,
random-looking jumps in it.


Reply to this email directly or view it on GitHub
#92 (comment)
.

@rBatt
Copy link
Contributor Author

rBatt commented May 22, 2017

This is now related to #126

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

No branches or pull requests

2 participants