Package: binsmooth 0.2.2
binsmooth: Generate PDFs and CDFs from Binned Data
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.
Authors:
binsmooth_0.2.2.tar.gz
binsmooth_0.2.2.zip(r-4.5)binsmooth_0.2.2.zip(r-4.4)binsmooth_0.2.2.zip(r-4.3)
binsmooth_0.2.2.tgz(r-4.4-any)binsmooth_0.2.2.tgz(r-4.3-any)
binsmooth_0.2.2.tar.gz(r-4.5-noble)binsmooth_0.2.2.tar.gz(r-4.4-noble)
binsmooth_0.2.2.tgz(r-4.4-emscripten)binsmooth_0.2.2.tgz(r-4.3-emscripten)
binsmooth.pdf |binsmooth.html✨
binsmooth/json (API)
NEWS
# Install 'binsmooth' in R: |
install.packages('binsmooth', repos = c('https://djhunter.r-universe.dev', 'https://cloud.r-project.org')) |
- county_bins - ACS County Income Data, 2006-2010
- county_true - ACS County Income Statistics, 2006-2010
This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.
Last updated 5 years agofrom:b51b3ed85b. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Oct 22 2024 |
R-4.5-win | OK | Oct 22 2024 |
R-4.5-linux | OK | Oct 22 2024 |
R-4.4-win | OK | Oct 22 2024 |
R-4.4-mac | OK | Oct 22 2024 |
R-4.3-win | OK | Oct 22 2024 |
R-4.3-mac | OK | Oct 22 2024 |
Exports:ginirsubbinsrsubbinsNotailrsubbinsTailsb_percentilessb_samplesimcountysplinebinsstats_from_distributionstepbinsstepbinsNotailstepbinsTailtheil
Dependencies:assertthatineqpracmatriangle
Readme and manuals
Help Manual
Help page | Topics |
---|---|
ACS County Income Data, 2006-2010 | county_bins |
ACS County Income Statistics, 2006-2010 | county_true |
Estimate the Gini coefficient | gini |
Recursive subdivision PDF and CDF fitted to binned data | rsubbins rsubbinsNotail rsubbinsTail |
Estimate percentiles from splinebins | sb_percentiles |
Random sample from splinebins distribution | sb_sample |
Simulate data to mimic 'county_bins' and 'county_true' | simcounty |
Optimized spline PDF and CDF fitted to binned data | splinebins |
Estimate various statistics | stats_from_distribution |
Step function PDF and CDF fitted to binned data | stepbins stepbinsNotail stepbinsTail |
Estimate the Theil index | theil |