Gaussian hypergeometric function for exact distribution of a correlation

I am trying to define the exact distribution of a correlation, but I cannot find a built-in Stan function for the Gaussian hypergeometric function. Frankly my math is not up to snuff to understand it and write it myself. Is this built in to Stan already, or has anyone written their own version?

2 Likes

@andrjohns has worked on adding it. I believe the next release should have it.

1 Like

Thanks for the heads up! I’ll keep my eye out for it.

1 Like

Is this function available today?