-
Notifications
You must be signed in to change notification settings - Fork 16
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
NK_CGG02AL not working (edit: NOT CGG99AL!) #86
Comments
To add to the confusion: it works for me (at least in the developer version) with both, Matlab 2019a and Octave 5.1 and Dynare 4.5.7...I used the default gain parameter setting of 0.01 and all states selected and tried all available rules with a MP shock. |
We've encountered this before. (From conversation with fstrobel, sorry for citing the german text)
|
This is what I encountered until now. The model also works fine for me (in dev version, but also in the version for testing, using ctave 4.4.1, dynare 4.5.7, windows 10). When I was looking into the code of MMB 2.3 I find the same ting Felix says. Stoch_simul_MMB.m calls resol_MMB.m stochastic_solvers_MMB.m has its main function called stochastic_solvers() In line 227 of stochastic_solvers_MMB.m, it says stoch_simul_MMB.m calls TRFromBeta.m Is it possible that this problem can be solved by adding It is very strange, since the model, like other AL models, is running through and delivers IRFs... |
Thanks for looking into that Alex. I also don't get it. If it would be a naming issue ("ALTOOL" vs "ALTOOL_MMB") the problem would be with all models. I renamed file references and folder anyways, the problem is then:
Explicitely in
Then its a problem with this I would just remove the model for now, as we don't have the time to have a closer look. @AlexDece if you want to, you can have one last look at it. Otherwise I'd just put it in an alternative |
@JTWendelborn @AlexDece one quick thing to check is how this Does @JTWendelborn does the compatibility test run trough for you with Octave? |
@JTWendelborn You can run the tests from the command line via
after changing the dynare path in those test files. |
Running this command from the command line strangely gives me a syntax error: |
My M_.Sigma_e looks like what Jonas sent above.
Am Mi., 4. Dez. 2019 um 18:13 Uhr schrieb JTWendelborn <
[email protected]>:
… Running this command from the command line strangely gives me a syntax
error. However, when I run the compatibility test (Octave 5.1, Dynare
4.5.7) from the developer GUI, it reports that one of the tests has failed.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#86?email_source=notifications&email_token=ANVSGFLIOZGIWKUZ3OROW6LQW7QKXA5CNFSM4JU4I672YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEF5YB3Y#issuecomment-561742063>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANVSGFOTZVTOQLREQ3MN733QW7QKXANCNFSM4JU4I67Q>
.
|
@JTWendelborn you should run it from within octave, not bash. It is important that we get these details because it helps us to figure out what is wrong with the tests and/or octave (while the GUI is not very informative).
|
Sorry, my bad. I ran it from within Octave and got the following result, which seems to be the same that Alex reported in #82 :
--- Autocorrelation --- I can try to install a different version of Octave/Dynare as my current setup is not officially compatible... |
Great, then we're all on the same page. Lets keep the compatibilty test in #82 and deal with NK_CGG99AL here (although it seems to me as if they are related). @JTWendelborn Can you please confirm again that NK_CGG99AL works for you in Octave 5.1? This really puzzles me. |
To tackle this one, please see my latest reply in #82 |
Yes, it works for me in the dev version of the MMB with Octave 5.1 and Dynare 4.5.7. I also tried out the different policy rules and they all work as well. |
You mean:
I did not rename anything. It just worked. |
Sorry! I was talking about the wrong model all the time. It is NK_CGG02AL that gives me an error with the Cholesky decompositon. Can you confirm that? |
No problem. NK_CGG02AL also works for me with the same setup...I can check tomorrow whether it does for all rules and shocks, but for the moment it didn't give me an error. |
Setting a max/min value would be possible, but at the end the user could see that for himself. 1e-16 in any case is far beyond anything meaningful in terms of machine precision. If he choses to look at shock processes that are not triggered by the chosen shock - his bad. @JTWendelborn @AlexDece @millazar |
I can have a look at it in the evening or tomorrow morning
For me it works fine with Octave 4.4.1, except that after the iteration is finished you will need to wait one minute until you can close the window and the results are displayed. However, this applies for all AL models and I don't think so that it is normal. @JTWendelborn @AlexDece @millazar |
I didnt notice a difference there...
…On Fri, 6 Dec 2019, 16:22 btatar13 ***@***.***> wrote:
*Describe the bug*
NK_CGG99AL gives problem with Cholesky decomposition. See #82 (comment)
<#82 (comment)>
and #82 (comment)
<#82 (comment)>
for details.
@AlexDece <https://github.com/AlexDece> as far as I understand,
oo_.dr.jacobia is created by the AL routines. Apparently it fails
somewhere on the way.
@millazar <https://github.com/millazar> @btatar13
<https://github.com/btatar13> does either of you have a deeper
understanding of these routines? If nobody knows how to fix it I would just
remove the model for now, as it appears that it was never working (hence
not our responsibility).
I can have a look at it in the evening or tomorrow morning
Setting a max/min value would be possible, but at the end the user could
see that for himself. 1e-16 in any case is far beyond anything meaningful
in terms of machine precision. If he choses to look at shock processes that
are not triggered by the chosen shock - his bad.
@JTWendelborn <https://github.com/JTWendelborn> @AlexDece
<https://github.com/AlexDece> @millazar <https://github.com/millazar>
So it seems as if I am the only one facing this issue that NK_CGG02AL is
not working under Octave?
In that case I would not longer investigate this issue as it seems
Linux/Octave related and not of particular relevance in practice...
For me it works fine with Octave 4.4.1, except that after the iteration is
finished you will need to wait one minute until you can close the window
and the results are displayed. However, this applies for all AL models and
I don't think so that it is normal.
@JTWendelborn <https://github.com/JTWendelborn> @AlexDece
<https://github.com/AlexDece> @millazar <https://github.com/millazar>
What is your experience?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#86?email_source=notifications&email_token=ANVSGFPDJFUACYETM53QLF3QXJU2RA5CNFSM4JU4I672YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGENCBI#issuecomment-562614533>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANVSGFJW7HBGZGK64WQ5HTDQXJU2RANCNFSM4JU4I67Q>
.
|
Describe the bug
NK_CGG99ALNK_CGG02AL gives problem with Cholesky decomposition. See #82 (comment) and #82 (comment) for details.@AlexDece as far as I understand,
oo_.dr.jacobia
is created by the AL routines. Apparently it fails somewhere on the way.@millazar @btatar13 does either of you have a deeper understanding of these routines? If nobody knows how to fix it I would just remove the model for now, as it appears that it was never working (hence not our responsibility).
The text was updated successfully, but these errors were encountered: