-
Notifications
You must be signed in to change notification settings - Fork 20
Closed
Description
Describe the bug
Inability to find suitable epsilon in hybrid monte carlo epsilon search when attempting to use NUTS MCMC. SS3 input files have been provided to @Rick-Methot-NOAA.
To Reproduce
ss3_win.exe -hbf -nuts -mcmc 15
Expected behavior
MCMC iterations to proceed
Screenshots
Screenshot for the command above:

In this screenshot we have -verbose_find_epsilon added to the command, showing more detail:

Which OS are you seeing the problem on?
Windows
Which version of SS3 are you seeing the problem on?
3.30.22.1
Additional Context
- This issue has not come up for this model when Q_extra_SD is not an estimated parameter, but it is not clear whether this is exclusively a Q_extra_SD issue.
- The verbose find epsilon flag output suggests the issue is occurring on the first leapfrog jump where epsilon is at its default value of 1.
- In hmc_functions.cpp (admb source) there is this check after the first jump: "if(alpha < 0.5 || std::isnan(alpha)){". Here it seems that we have alpha=Inf rather than NaN because in this case the likelihood is getting vastly better rather than worse (as you might expect).
- I am not sure why the likelihood is getting so much better, whether that is meant to be possible, and whether upgrading this check to include std::isinf might resolve things or whether there is some deeper issue with the input files that is causing this.
Metadata
Metadata
Assignees
Labels
No labels