hello, is it possible to code a log-likelihood function with hypergeometric_pFq now? I believe it has been in development for some time. Thank you.

Unless it’s in the functions reference, no. And the only thing in the Functions Reference is this: 16.4 Hypergeometric distribution | Stan Functions Reference

I don’t know what the hypergeometric_pFq is. Can you just implement it as a user-defined function in Stan? If it’s all integer inputs then there are no gradients and not much efficiency gain to coding it yourself rather than using the Stan language.

Hello, sorry for the late reply. I was referring to this link: https://github.com/stan-dev/math/blob/develop/stan/math/prim/fun/hypergeometric_pFq.hpp

Any update would be appreciated