You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pbnbinom and pgpois (and potentially bbbinom) are slow for some combinations of parameters. This is caused by the fact that they are computed as F(x) = sum(f(1:x)) and it is inefficient (no matter of optimizations) for large x or for some combinations of parameters (e.g. for beta negative binomial small alpha and large beta).
The text was updated successfully, but these errors were encountered:
But on benchmarks this makes the code approx 1.35x slower unless when using vectorization heavily (many different combinations of parameters relatively to sample size).
pbnbinom
andpgpois
(and potentiallybbbinom
) are slow for some combinations of parameters. This is caused by the fact that they are computed asF(x) = sum(f(1:x))
and it is inefficient (no matter of optimizations) for largex
or for some combinations of parameters (e.g. for beta negative binomial small alpha and large beta).The text was updated successfully, but these errors were encountered: