-
Notifications
You must be signed in to change notification settings - Fork 43
Description
As far as I can see the collection of "d-p-q-r" functions (to use the R terminology) in src/distrs/norm.jl is complete. I propose that the implementations (not the functions themselves) be moved to Distributions/src/univariate/continuous/normal.jl and the functions here be deprecated.
The deprecation might be a bit tricky because the Distributions package requires the StatsFuns package, not the other way around. The situation here would be that to deprecate functions in StatsFuns you need to ensure that a certain version of Distributions or later is available. Given that user code and other packages "should" not call these functions directly that may not be too much of a problem. But it is a tricky situation.
Where should a function like _norminvlogcdf_impl and its dependencies go? I think it should migrate with the other code to Distributions but then does it need a new name to avoid a conflict with the function here during the deprecation period?
I hope what I am asking makes sense. Ping me if this is too confusing. I have only had one cup of coffee so this might be complete nonsense.