-
Notifications
You must be signed in to change notification settings - Fork 17
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
Jumpy TVPs #81
Comments
Using simulated data this seems to work as expected:
You might to test with different initial values in case you are getting trapped to some poor local optimum. |
Hi, I have already tried a few different initial values with no luck. I suppose that my poor optimization results might be due to either the BFGS algorithm (or its tolerance) or the fact that I am estimating both H and the last element of Q. I will try fixing the last element of Q to a small value and estimate H by targeting the signal-to-noise ratio with the optimizer. If I want to change the tolerance, how do I do it? Alternatively, can I constraint H to be bigger than the last element of Q? |
Well as you can see from my example above, the model should work ok if the data is actually generated according to the model specification. Are you sure you do not need intercept in your model?
|
Hi,
I have written the following code to estimate a univariate linear regression with time-varying parameters (TVP), defining the dynamics of the betas as integrated random walks. In theory, this should result in a relatively smooth outcome. However, the results are very jumpy. Am I setting up the function incorrectly? If not, how can I change the optimizer to something else, perhaps using an EM algorithm, Newton's method or decrease the tolerance?
The text was updated successfully, but these errors were encountered: