Replies: 4 comments 7 replies
-
I have added some automatic translation to https://github.com/dmbates/IanSmithdistmath.jl but am reaching the point where I need advice from someone who knows VBA. @ararslan ? Also, I am not sure what a return value of I assumed that the |
Beta Was this translation helpful? Give feedback.
-
I will start work on the hypergeometric distribution functions in a branch of StatsFuns.jl using translations of the VBA code from Ian Smith. |
Beta Was this translation helpful? Give feedback.
-
I just noticed |
Beta Was this translation helpful? Give feedback.
-
As I have said, I got bogged down trying to translate Ian Smith's VBA code. It is a single 12,600 line source code file. I find it hard to pull apart the pieces associated with a particular function that we would use. As I mentioned, the R-project provides a PDF of Catherine Loader's paper that gives a description of her algorithm and includes both equations and code. She describes the implementation of (log)pdf and (log)cdf for binomial and Poisson. I am beginning to think that the most effective way of writing unencumbered Julia implementations of functions related to the hypergeometric distribution would be to have one person, possibly me, read the code and write a description of the algorithm, then have someone else code from the description. I don't think it would be appropriate for me to be the one writing the code because of my close ties to the R Project. Does this seem like a workable approach or are there other avenues we haven't tried yet? |
Beta Was this translation helpful? Give feedback.
-
There has been discussion on discourse and on slack regarding replacing the last dependencies of StatsFuns on Rmath.jl. In the discourse thread the VBA code by Ian J. Smith was mentioned. See https://github.com/dmbates/IanSmithdistmath.jl
@andreasnoack commented in the slack discussion that
It appears that some of the noncentral distributions are covered in the VBA code.
Beta Was this translation helpful? Give feedback.
All reactions