1.10.0
- Fixed bug in rgpdwhich produced negative samples.
- The RcppExports.cpp was fixed by reformatting it thanks to Dirk
Eddelbuettel.
1.9.1
- Generated header file, inst/include/extraDistr.h, to
make C++ code callable from C++ code in other R packages (#23,
contribution from Jon Fintzi, @fintzij).
1.8.11
- Fixed bugs in Frechet distribution implementations
(pfrechet).
1.8.10
- Now zero-inflated negative-binomial (#12) and beta negative-binomial
distributions (#14) do not have integer-only constraint on
sizeparameter.
- Fixed mistakes in the zero-inflated Poisson distribution
documentation (#15) and negative hypergeometric distribution
documentation.
- Minor changes towards future Rcpp STRICT_R_HEADERS
compatibility.
- Fixed bug in vectorization code for pbbinom(#16).
Additionally, this should makepbbinomandpbnbinomfaster when working with large vectors.
1.8.9
- Fixed bug in dinvgammafunction
- Updated the DESCRIPTION file by mentioning the packages used in
optional unit tests for CRAN compatibility
1.8.8
- Deprecated functions: dnst,pnst,qnstandrnstwere removed
- Fixed typos in documentation (thanks to #8 by philchalmers)
- Converted a number of pdf and cdf functions to more numerically
stable versions using logs (see #9 and #10)
- Fixed bug in ppower: withlower.tail = FALSEit returned wrong values
- Fixed bug in dgpdandpgpd: they assumed
slightly wrong support
- Improved the rgevandrgpd, now they give
better random values since relying on exponential distribution random
generator if possible
- Documentation was improved and corrected in several places
- Power distribution functions now check if alpha > 0andbeta > 0
1.8.7
- Fixed bug in pinvgamma(lower.tailandlog.pdidn’t work)
- Fixed underflow issues with rmnomandrdirmnom(#7)
- The *nstfunctions are now deprecated and renamed to
more informative abbrevation*lst
1.8.6
- Now consistently with base R only the first elements of the logical
arguments are used (thanks to #5)
- Fixed bug in rtnorm(sampling from lower bound returned
incorrect values)
- When computation becomes slow, now pbnbinom,pbbinom,pgpoisfunctions are easier to
brake
- Automatically registering native routines via Rcpp
- Fixed bug in pinvgamma(it returned non-zero
probabilities for q < 0)
1.8.5
- Now rmnomandrdirmnom(issue #3) do not
returnNaN’s due to underflow issues
- Fixed bug (issue #4) that resulted in hanging R if zero-length
vectors were provided as input
1.8.4
- Random generation from categorical distribution parametrized by
log-probabilities rcatlp
- Re-parametrized beta distribution is now more flexible since “prior”
parameter was introduced (see documentation); this change is connected
to switching to different prior equal to zero (instead of one as
previously). Such parametrization is more commonly used in the
literature. This change is documented in the ?PropBetadocumentation
- Improvements in documentation and examples
- Fixed bugs in pbbinom,pbnbinom,pgpois,*nhyperthat prevented compiling on
RedHat Linux (#2)
1.8.3
- Switched to C++11, underlying code was simplified and improved
- Using memoization techniques for pbbinom,pbnbinom,pgpoisand negative hypergeometric
distribution that lead to major speed improvements
- Improved and simplified code for beta-binomial, beta
negative-binomial, and gamma-Poisson cdf; now recursive algorithm
employing memoization techniques is used what noticeably improves
performance
- Discrete gamma, shifted Gompertz (d,p,r), negative hypergeometric
and truncated binomial distributions (d,p,q,r) were added
- Now lower.tailandlog.poptions forpbetaprwork properly
- Simplified code for multivariate hypergeometric, multinomial,
Dirichlet-multinomial and categorical distributions
- Truncated poisson distribution is now parametrized by lower and
upper truncation points
- Fixed bugs in dbvpois(it returned underestimated
probabilities),dslash(there was discontinuity at x=0),pcat(randomly it broke if x was greater then the upper
limit), andpdnorm.
- Random generation functions throw warnings and produce
NA’s onNA’s in parameters or incorrect
parameters - as in base R
- Order of parameters in discrete Laplace distribution was changed to
location and scale (vs scale and location) for consistency with other
distributions (e.g. continous Laplace)
- Improved exception handling
1.8.1-2
- Corrected and simplified documentation for *propdistribution
- Categorical, multinomial, mixture of normals and mixture of Poisson
distributions are now less restrictive about probability
parameters and accept any non-negative values. Probability parameter
vectors are normalized to sum to one (i.e. c(1,1,1)becomesc(1,1,1)/3)
- NA’s and- NaN’s in input now always lead to- NA’s in output
- Fixed bugs in rtnorm, now it properly handles sampling
from extreme tails
- Tests for multivariate distribution now done with tolerance
1e-2
1.8.0
- Bug fixes in qtnorm- now it works properly for
non-standard truncated normal
- Bug fixes for rmnomandrdirmnom- now
they correctly use theprobparameter values
- Minor improvements in dmvhyperanddbvpois
- Cleaned-up the documentation
- Added discrete Laplace distribution
- Faster RNG generator for Laplace distribution
- Changes to using lower level RNG functions (unif_rand,norm_rand) when possible
- More tests
1.7.2
- Documentation clean-up
- Minor improvements and simplifications in C++ code
- For min == maxdiscrete uniform distribution behaves
now as degenerate distribution
1.7.1
- Added Dirichlet-multinomial and beta prime distributions
- Code clean-up for categorical distribution
- Improvements in documentation and examples (e.g. bivariate Poisson,
bivariate normal)
- Other minor improvements in the code
1.7.0
- Cleaning namespace - now mathematical functions are explicitly
called from std library
- “using namespace Rcpp” was removed from all the files
- All the numerical values are now explicitly
<double>’s, or casted to<double>;
or<int>’s (for indexing)
- Improvements in algorithms for discrete uniform, categorical,
mixture of normal, mixture of Poisson distributions
- Improvements in discrete uniform; now it accepts only integer valued
parameters
- Major C++ code clean-up
1.6.10-14
- Removed erf,erfc,inv_erfthat are not used at this moment and caused problems when compiling on
Fedora and Solaris
- Minor improvements in documentation
- Added mixtures of normal and of Poisson distributions
- Added truncated Poisson distribution
1.6.7-9
- Minor changes and improvements in documention
- Truncated normal returns normal for infinite truncation points
- Added half-t, half-normal and half-Cauchy distributions
- Changed naming of data-variable from xtoqfor CDF’s
- Added inverse-CDF for discrete normal distribution, fixed random
generation
- Added tests
- Multiple minor bug fixes (e.g. functions returning NaNinstead of0forInfvalues)
- Added Birnbaum-Saunders (fatigue life) distribution
- New algorithm for rtriang
- Added quantile functions for: zero-inflated Poisson, zero-inflated
binomial zero-inflated negative binomial, inverse gamma, inverse
chi-squared distributions
- Added Huber density
1.6.1
- Exception handling in discrete uniform distribution functions
- Bug fixes in rdunif
- Clean-up in documentation and examples
- Now dbvnormanddbvpoiswork with
matrixes
- Renaming of parameters in bivariate normal to be consistent with
base R normal distribution
1.6.0
- Warning messages for non-integer values in discrete
distributions
- Warning when returning NANs
- Code clean-up in pbbinomandpbnbinom
- Clean-up in documentation
1.5.15-19
- Ranamed zero-inflated distributions to *zipand*zinb
- Added zero-inflated binomial *zib
- Code clean-up
- Added pzipoisandpzibinom
- Added qlgser; changes inplgserandrlgser
- Fixed bug in rlgser
- Examples for most of the functions
- Exception handling for dmvhyperandrmvhyper: values ofx,n, andkare checked against being non-integers