Learn R Programming

DistributionUtils (version 0.6-1)

Distribution Utilities

Description

Utilities are provided which are of use in the packages I have developed for dealing with distributions. Currently these packages are GeneralizedHyperbolic, VarianceGamma, and SkewHyperbolic and NormalLaplace. Each of these packages requires DistributionUtils. Functionality includes sample skewness and kurtosis, log-histogram, tail plots, moments by integration, changing the point about which a moment is calculated, functions for testing distributions using inversion tests and the Massart inequality. Also includes an implementation of the incomplete Bessel K function.

Copy Link

Version

Install

install.packages('DistributionUtils')

Monthly Downloads

6,944

Version

0.6-1

License

GPL (>= 2)

Maintainer

Last Published

August 28th, 2023

Functions in DistributionUtils (0.6-1)

Sample Moments

Sample Skewness and Kurtosis
momChangeAbout

Obtain Moments About a New Location
is.wholenumber

Is Object Numeric and Whole Numbers
inversionTests

Inversion Tests for Distributions
tsHessian

Calculate Two-Sided Hessian Approximation
logHist

Plot Log-Histogram
safeIntegrate

Safe Integration of One-Dimensional Functions
momIntegrated

Moments Using Integration
moranTest

Moran's Log Spacings Test
momSE

Standard Errors of Sample Moments
tailPlot

Tail Plot Functions
pDist

Distribution and Quantile Functions for Unimodal Distributions
distMode

Mode of a Unimodal Distribution
Bessel K Ratio

Ratio of Bessel K Functions
distStepSize

Step Size for Calculating the Range of a Unimodal Distribution
distIneqMassart

Massart Inequality for Distributions
distIneqMassartPlot

Massart Inequality Plot Function
distCalcRange

Range of a Unimodal Distribution
DistributionUtils-internal

Internal Distribution Utilities Functions
incompleteBesselK

The Incomplete Bessel K Function
integrateDens

Integrates a Density Function
DistributionUtils-package

Utility functions useful for all distributions in packages following the standard approach developed in Scott, Wuertz and Dong.