math icon indicating copy to clipboard operation
math copied to clipboard

Generalised Hypergeometric (pFq) function

Open andrjohns opened this issue 4 years ago • 3 comments

Description

One of the pre-requisites for implementing the inverse-CDF (quantile) of the Gamma distribution is the hypergeometric 2F2 function, which is needed for the gradients.

The gradients are the same for the 2F2 and the generalised pFq, so may as well implement the more generalised version

Current Version:

v4.1.0

andrjohns avatar Jun 21 '21 02:06 andrjohns

Was this completed by #2510?

sethaxen avatar Jun 15 '23 12:06 sethaxen

Also @andrjohns is this the last major prerequisite for implementing the Gamma quantile and its derivative?

sethaxen avatar Jun 15 '23 12:06 sethaxen

Hi @andrjohns, I am working on the N-mixture model to estimate abundance from count data. The model relies on the hypergeometric_2F2 and hypergeometric_3F2 functions. Has/will these functions be implemented/exposed in stan?

Thank you

nikunj410 avatar Oct 29 '23 07:10 nikunj410