extraDistr
extraDistr copied to clipboard
Additional univariate and multivariate distributions
Hi, due to the sequential nature of the algorithm in `pbbinom` (which is still wicked fast compared to competition!), it takes long time to evaluate with large `q`. A simple...
Running rmvhyper(nn = 1, n = 2, k = 1) returns 0 whereas I think it should return 1, since we're making 1 draw from an urn with 2 balls...
This adds a truncated negative binomial distribution, including support for both `prob` and `mu` parameterizations. Tests are included, covering a similar regimen as truncated Poisson. Description is updated to minor...
I'm a big fan of your package 👍. I was curious if you might consider adding two new exponential family distributions for percent or compositional data: the Continuous Bernoulli and...
Great package, thanks for publishing. I think I have found problem in the `rng_wald` for very large `lambda`. I am getting zero and negative values from `rwald`, for example try...
`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...
Please consider adding stable distributions. For example, as implemented in Rcpp by https://cran.r-project.org/web/packages/libstable4u or in base R by https://cran.r-project.org/web/packages/stabledist and https://cran.r-project.org/web/packages/stable
**Description**: The `qbern()` function appears to return `1` instead of `0` for the input `p = 0.1`, `prob = 0.9`, and `lower.tail = TRUE`. Based on the Bernoulli CDF, the...