Open spinkney opened 3 years ago
This probably changed after https://github.com/stan-dev/math/pull/1411
btw a vectorized log_Phi()
that is robust (as in your posted linked issue) would be great to have for copulas
Part of this is a math issue though. Since normal_lcdf(x | 0, 1)
does not output the same as Phi()
the tails.
Issue: https://github.com/stan-dev/math/issues/2470#issue-856948197
I believe this is a docs issue with the normal distribution. The documentation at https://mc-stan.org/docs/2_26/functions-reference/normal-distribution.html#normal-distribution says that
Phi_approx
is more robust in the tails. However, inspecting this shows that usingnormal_lcdf
is actually more robust thanPhi_approx
.Description:
Describe the issue as clearly as possible.
If I check out
Looking at
Shows that the normal_lcdf is more robust