stanc3 icon indicating copy to clipboard operation
stanc3 copied to clipboard

Add poisson_binomial lpmf/lcdf/lccdf/rng

Open rok-cesnovar opened this issue 5 years ago • 4 comments

The following signature recently got stan math support.

real poisson_binomial_lpmf(int, vector)
real poisson_binomial_lpmf(int[], vector)
real poisson_binomial_lpmf(int[], vector[])
real poisson_binomial_lcdf(int, vector)
real poisson_binomial_lcdf(int[], vector)
real poisson_binomial_lcdf(int[], vector[])
real poisson_binomial_lccdf(int, vector)
real poisson_binomial_lccdf(int[], vector)
real poisson_binomial_lccdf(int[], vector[])
int poisson_binomial_rng(vector)

I can handle the stanc3 PR but would require help for the docs PR.

rok-cesnovar avatar Jul 09 '20 09:07 rok-cesnovar

This is blocked by missing deprecated suffixes.

rok-cesnovar avatar Jan 16 '21 18:01 rok-cesnovar

I believe we can add these without the deprecated suffixes using #1191 and the missing_math_functions list, no?

WardBrian avatar Jul 26 '22 14:07 WardBrian

Yes, we can add this now finally.

rok-cesnovar avatar Jul 26 '22 14:07 rok-cesnovar

It seems like the deprecated signatures actually were added, its https://github.com/stan-dev/math/issues/2490 which is still blocking

WardBrian avatar Aug 02 '22 13:08 WardBrian