-
-
Notifications
You must be signed in to change notification settings - Fork 182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Normal quantile function with new approximations #2964
Comments
I believe the regular version is nearly the same as what is in today. The log version in this paper should be much faster than what is in Stan and it has a larger range of values. |
@spinkney I'm working on translating the code across now, and it looks like there are improvements for the regular version as well (hooray!). This test which used to underflow to Additionally, it also detected that some of the Cool stuff! |
Ahhh I take it back, it's a floating-point precision issue. Using exact inputs matches the test vals: https://www.wolframalpha.com/input?i=N%5BInverseCDF%5BNormalDistribution%5B0%2C1%5D%2C999999999%2F1000000000%5D%2C16%5D |
Description
The R project recently published a vignette covering various approximations for the quantiles of the normal distribution, including for log inputs: https://CRAN.R-project.org/package=DPQ/vignettes/qnorm-asymp.pdf
The text was updated successfully, but these errors were encountered: