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

Controlling tolerance parameter in SSModel to control for degenerate models or numerical errors #6

Open
RajarshiBhadra opened this issue May 2, 2016 · 1 comment

Comments

@RajarshiBhadra
Copy link

RajarshiBhadra commented May 2, 2016

Often ucm is accompanied with the warning message

In KFS(modelH, filtering = "state", smoothing = "state") : Model is degenerate, diffuse phase did not end.

OR

In KFS(modelH, filtering = "state", smoothing = "state") : Possible error in diffuse filtering: Number of nonzero elements in Finf is not equal to the number of diffuse states. Either model is degenerate or numerical errors occured. Check the model or try changing the tolerance parameter tol or P1/P1inf of the model

This can be controlled by the tol parameter in SSModel which by default is .Machine$double.eps^0.5

Users of rucm can be given independence to assign tolerance parameter values according to their data types so as to control for degenerate models or numerical errors in SSModel

@timvink
Copy link

timvink commented Mar 6, 2018

Hee @RajarshiBhadra I added the tolerance parameter in #11 (rucm 0.6.1, not published on CRAN yet). Does that solve this issue?

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

No branches or pull requests

2 participants