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
Describe the bug
For large values of the Wald statistic (typical with large n) the current implementation of the Phi1 function in BAS returns NA or Inf
due to overflow in the exponential function. This impacts Bayes factor calculations with several prior distributions
in bas.glm, such as the hyper-g/n
To Reproduce
Steps to reproduce the behavior:
BAS::phi1(1, 2, 1.5, 1000, 1/100)
Reported by Daniel Heeman
The text was updated successfully, but these errors were encountered:
Describe the bug
For large values of the Wald statistic (typical with large n) the current implementation of the Phi1 function in BAS returns NA or Inf
due to overflow in the exponential function. This impacts Bayes factor calculations with several prior distributions
in
bas.glm
, such as thehyper-g/n
To Reproduce
Steps to reproduce the behavior:
BAS::phi1(1, 2, 1.5, 1000, 1/100)
Reported by Daniel Heeman
The text was updated successfully, but these errors were encountered: