CRAN/E | binsmooth

binsmooth

Generate PDFs and CDFs from Binned Data

Installation

About

Provides several methods for generating density functions based on binned data. Methods include step function, recursive subdivision, and optimized spline. Data are assumed to be nonnegative, the top bin is assumed to have no upper bound, but the bin widths need be equal. All PDF smoothing methods maintain the areas specified by the binned data. (Equivalently, all CDF smoothing methods interpolate the points specified by the binned data.) In practice, an estimate for the mean of the distribution should be supplied as an optional argument. Doing so greatly improves the reliability of statistics computed from the smoothed density functions. Includes methods for estimating the Gini coefficient, the Theil index, percentiles, and random deviates from a smoothed distribution. Among the three methods, the optimized spline (splinebins) is recommended for most purposes. The percentile and random-draw methods should be regarded as experimental, and these methods only support splinebins.

Key Metrics

Version 0.2.2
Published 2020-03-11 1507 days ago
Needs compilation? no
License MIT
License File
CRAN checks binsmooth results

Downloads

Yesterday 7 0%
Last 7 days 42 -34%
Last 30 days 225 +2%
Last 90 days 628 -26%
Last 365 days 2.766 -27%

Maintainer

Maintainer

Dave Hunter

dhunter@westmont.edu

Authors

David J. Hunter
McKalie Drown

Material

NEWS
Reference manual
Package source

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

r-oldrel

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

binsmooth archive

Imports

stats
pracma
ineq
triangle