You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using gamma_lcdf for values of alpha values approximately > 12 fails estimation. The interesting thing is that we have the Gamma CDF calculated in the gamma_p function. Using this function instead produces the correct output. We should change the gamma_lcdf calculation to just use gamma_p and it's reverse mode derivatives.
I believe #780 fixed the issue for gamma_p (also see the linked issue #525) but the gamma_lcdf was never updated.
Using
gamma_lcdf
for values of alpha values approximately > 12 fails estimation. The interesting thing is that we have the Gamma CDF calculated in thegamma_p
function. Using this function instead produces the correct output. We should change thegamma_lcdf
calculation to just usegamma_p
and it's reverse mode derivatives.I believe #780 fixed the issue for
gamma_p
(also see the linked issue #525) but thegamma_lcdf
was never updated.The issue encountered is explained in more detail at https://discourse.mc-stan.org/t/minimal-censored-gamma-with-very-bad-performance/27922.
The text was updated successfully, but these errors were encountered: