Package: binequality 1.0.4

Samuel V. Scarpino

binequality: Methods for Analyzing Binned Income Data

Methods for model selection, model averaging, and calculating metrics, such as the Gini, Theil, Mean Log Deviation, etc, on binned income data where the topmost bin is right-censored. We provide both a non-parametric method, termed the bounded midpoint estimator (BME), which assigns cases to their bin midpoints; except for the censored bins, where cases are assigned to an income estimated by fitting a Pareto distribution. Because the usual Pareto estimate can be inaccurate or undefined, especially in small samples, we implement a bounded Pareto estimate that yields much better results. We also provide a parametric approach, which fits distributions from the generalized beta (GB) family. Because some GB distributions can have poor fit or undefined estimates, we fit 10 GB-family distributions and use multimodel inference to obtain definite estimates from the best-fitting distributions. We also provide binned income data from all United States of America school districts, counties, and states.

Authors:Samuel V. Scarpino, Paul von Hippel, and Igor Holas

binequality_1.0.4.tar.gz
binequality_1.0.4.zip(r-4.7-any)binequality_1.0.4.zip(r-4.6-any)
binequality_1.0.4.tar.gz(r-4.7-any)binequality_1.0.4.tar.gz(r-4.6-any)
binequality_1.0.4.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
card.svg |card.png
binequality/json (API)

# Install 'binequality' in R:
install.packages('binequality', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))
Datasets:

On CRAN:

Conda:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

1.34 score 22 scripts 388 downloads 17 exports 10 dependencies

Last updated from:a3398c123e. Checks:6 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK113
source / vignettesOK211
linux-releaseOK108
windows-develOK73
windows-releaseOK83
wasm-releaseOK87

Exports:fitFuncgetMidsgetQuantilesParamsginiCoefLRTmakeFitCombmakeIntmakeIntWeightmakeWeightsAICmAvgmidStatsMLDmodelAvgparamFiltrun_GB_familySDLtheilInd

Dependencies:gamlssgamlss.censgamlss.datagamlss.distineqlatticeMASSMatrixnlmesurvival