Published July 23, 2020
| Version v1.4.2
Software
Open
alan-turing-institute/distr6: distr6 1.4.2
Authors/Creators
- 1. UCL
Description
distr6 1.4.2
- Critical patch for patched Solaris: Updated precision in C++
log
- Critical patches for R devel:
workingSupportis now a public method and not an active binding
- Multivariate functions in
VectorDistributionnow return arrays - Analytical
mediannow available forSDistributions where closed form expressions are known - Kernels now implemented in
Rcppwith analytical log-pdf expressions. Analytical lower.tail and log.p will come in future versions. - Adding plotting for bivariate distributions using
{plotly} - Added
EmpiricalMVfor empirical multivariate distributions - All documentation now uses roxygen R6
- Distribution
typeis now required in construction customDistributions as the previous method of 'guessing' was inefficient. - Added
ParameterSetCollectionforWrappers. Same functionality as before but much more efficient. - Added
$addDepsand$depstoParameterSets to replaceupdateFunc. This allows faster and more precise control over parameter updates. - Added
$addChecksand$checkstoParameterSets to replace custom checks in distributions, and$addTrafosand$trafosto replace custom parameter transformations before setting. These allows clearner control over parameter setting. categoriesparameter inCategoricalnow callednCategories- Constructor of
Categoricalnow requires elements to be provided as alisttoelements settableinParameterSetnow refers to the more intuitive flag that describes if a parameter can be set after construction- Added
lengthactive binding toParameterSetto return number of parameters in the set. - Renamed
squared2NorminKernels topdfSquared2Normand addedxto arguments to allow for shifted norms. - Added
mixturiseVectorfor mixing vector distributions
- Individual property and trait accessors deprecated:
$support, $symmetry, $kurtosisType, $skewnessType, $valueSupport, $variateForm, $type - Separated
LoglogisticandShiftedLoglogisticso only the latter has alocationparameter. Additionally added an analyticalrandexpression toShiftedLoglogistic, andLoglogisticnow implemented from packageactuar - Removed deprecated classes:
ArrayDistribution - Removed deprecated functions:
listSpecialSets WeighedDiscretedistribution now stores samples and probabilities as parameters.- Removed
verboseargument from distribution constructor - Public
updatemethod inParameterSetmoved toprivate - Removed
squared2Normfrom theExoticStatisticsdecorator - Deprecated
updateFuncfromParameterSet - Removed
.getRefParamsfromSDistributions and addeddeps
- Bugfix in
decoratefunction that was overwriting thedecoratorsprivate field instead of appending - Vastly improved speed of construction of
SDistributionandKernel - Bugfix in
$randforGeometricdistribution withtrials == TRUE, previously was randomising between $[1, Inf)$ not $[0, Inf)$ - Changed default
formparameter inNegativeBinomial, now errors if supplied argument is not in one of the four choices (previously reverted to "fbs") - Fixed bug in
MultivariateNormalrand()which was not adding themeancorrectly - Massive bottleneck in
VectorDistributionfor same distribution type removed in d/p/q/r functions as well as non-generating function methods - Improved speed in
VectorDistributionwhen only one row or column of data passed to d/p/q Dirichlet, DiscreteUniform, Frechet Gumbel, Pareto, Rayleigh, Triangular, Waldnow implemented from packageextraDistr- Bug fix in
Frechet$cdf - Analytical
logandlower.tailnow available for allSDistributionsand imputation possible for customs withCoreStatistics NegativeBinomialnow uses Rcpp for d/p/q/r- Distributions from
statsare now vectorised across parameters in C Degenerate,ShiftedLoglogisticnow Rcpp- Removed redundant
Kparameter fromMultivariateNormal - Bugfix in
Wald, symmetry was incorrectly flagged as "symmetric" - Fixed bug in
TruncatedDistributionsupport - previously support interval type was"[]"instead of"(]". An important implication is that even if truncating at or outside of the distribution limits, the support will still be changed if the distribution was left-closed to become left-open. - Improved speed of assertions by using package
{checkmate} - Bugfix in
listDistributionswhich was overriding filtering withsimplify
Files
alan-turing-institute/distr6-v1.4.2.zip
Files
(875.6 kB)
| Name | Size | Download all |
|---|---|---|
|
md5:0f8674f52b06ffc57418544a54912247
|
875.6 kB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/alan-turing-institute/distr6/tree/v1.4.2 (URL)