Closed wleoncio closed 8 months ago
I think it’s best that it actually does fail, in the same way that we expect an error message if issue log(0) /René
Fra: Waldir Leoncio @.> Svar til: ocbe-uio/TruncExpFam @.> Dato: fredag 1. mars 2024 kl. 17:34 Til: ocbe-uio/TruncExpFam @.> Kopi: Subscribed @.> Emne: [ocbe-uio/TruncExpFam] Fix support check for Inverse Gaussian (Issue #106)
This should fail, since the support for the Inverse Gaussianhttps://en.wikipedia.org/wiki/Inverse_Gaussian_distribution is $(0, \Inf)$.
validateSupport.trunc_invgauss(n = 0, NULL)
It does indeed fail on rmutil::prinvgauss()
rmutil::pinvgauss(q = 0, m = 1, s = 2)
The former does not fail because judgeSupportLimits() doesn't distinguish between $< 0$ and $\le 0$ in this particular case.
— Reply to this email directly, view it on GitHubhttps://github.com/ocbe-uio/TruncExpFam/issues/106, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFPRUPXERI23WXEIZBHBFDDYWCUYZAVCNFSM6AAAAABECBTXDSVHI2DSMVQWIX3LMV43ASLTON2WKOZSGE3DGNZVG42TONI. You are receiving this because you are subscribed to this thread.Message ID: @.***>
This should fail, since the support for the Inverse Gaussian is $(0, \infty)$.
It does indeed fail on
rmutil::prinvgauss()
The former does not fail because
judgeSupportLimits()
doesn't distinguish between $< 0$ and $\le 0$ in this particular case.