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.
Version: | 0.2.2 |
Imports: | stats, pracma, ineq, triangle |
Published: | 2020-03-11 |
Author: | David J. Hunter and McKalie Drown |
Maintainer: | Dave Hunter <dhunter at westmont.edu> |
License: | MIT + file LICENSE |
NeedsCompilation: | no |
Materials: | NEWS |
CRAN checks: | binsmooth results |
Reference manual: | binsmooth.pdf |
Package source: | binsmooth_0.2.2.tar.gz |
Windows binaries: | r-devel: binsmooth_0.2.2.zip, r-release: binsmooth_0.2.2.zip, r-oldrel: binsmooth_0.2.2.zip |
macOS binaries: | r-release: binsmooth_0.2.2.tgz, r-oldrel: binsmooth_0.2.2.tgz |
Old sources: | binsmooth archive |
Please use the canonical form https://CRAN.R-project.org/package=binsmooth to link to this page.