{
  "_id": "6a2156dacd65a98ecbd2e532",
  "Package": "binequality",
  "Type": "Package",
  "Title": "Methods for Analyzing Binned Income Data",
  "Version": "1.0.4",
  "Date": "2018-11-05",
  "Author": "Samuel V. Scarpino, Paul von Hippel, and Igor Holas",
  "Maintainer": "Samuel V. Scarpino <s.scarpino@northeastern.edu>",
  "Description": "Methods for model selection, model averaging, and\ncalculating metrics, such as the Gini, Theil, Mean Log\nDeviation, etc, on binned income data where the topmost bin is\nright-censored.  We provide both a non-parametric method,\ntermed the bounded midpoint estimator (BME), which assigns\ncases to their bin midpoints; except for the censored bins,\nwhere cases are assigned to an income estimated by fitting a\nPareto distribution. Because the usual Pareto estimate can be\ninaccurate or undefined, especially in small samples, we\nimplement a bounded Pareto estimate that yields much better\nresults.  We also provide a parametric approach, which fits\ndistributions from the generalized beta (GB) family. Because\nsome GB distributions can have poor fit or undefined estimates,\nwe fit 10 GB-family distributions and use multimodel inference\nto obtain definite estimates from the best-fitting\ndistributions. We also provide binned income data from all\nUnited States of America school districts, counties, and\nstates.",
  "License": "GPL (>= 3.0)",
  "LazyLoad": "yes",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-04 10:40:44 UTC",
    "User": "root"
  },
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2018-11-05 13:20:03 UTC",
  "RemoteUrl": "https://github.com/cran/binequality",
  "RemoteRef": "HEAD",
  "RemoteSha": "a3398c123ed494309f78ddc0251f228262345078",
  "MD5sum": "fbf9d2b80340b35f8afdba427ccc38aa",
  "_user": "cran",
  "_type": "src",
  "_file": "binequality_1.0.4.tar.gz",
  "_fileid": "7447bfee8288afc35c427f2af0164bf0a0f10ba2596c8e4d7de3e83f25135a6b",
  "_filesize": 2569020,
  "_sha256": "7447bfee8288afc35c427f2af0164bf0a0f10ba2596c8e4d7de3e83f25135a6b",
  "_created": "2026-06-04T10:40:44.000Z",
  "_published": "2026-06-04T10:43:38.322Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79501518575,
      "time": 128,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7409387331"
    },
    {
      "job": 79501518589,
      "time": 129,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7409387682"
    },
    {
      "job": 79501113465,
      "time": 158,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7409346174"
    },
    {
      "job": 79501518594,
      "time": 96,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7409377330"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/26946610052",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/binequality",
  "_commit": {
    "id": "a3398c123ed494309f78ddc0251f228262345078",
    "author": "Samuel V. Scarpino <s.scarpino@northeastern.edu>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.0.4\n",
    "time": 1541424003
  },
  "_maintainer": {
    "name": "Samuel V. Scarpino",
    "email": "s.scarpino@northeastern.edu"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "gamlss",
      "version": ">= 4.2.7",
      "role": "Depends"
    },
    {
      "package": "gamlss.cens",
      "version": ">= 4.2.7",
      "role": "Depends"
    },
    {
      "package": "gamlss.dist",
      "version": ">= 4.3.0",
      "role": "Depends"
    },
    {
      "package": "survival",
      "version": ">= 2.37-7",
      "role": "Imports"
    },
    {
      "package": "ineq",
      "version": ">= 0.2-11",
      "role": "Imports"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "scarpino",
      "count": 3,
      "uuid": 1714728
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 201,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/binequality"
  },
  "_searchresults": 23,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/binequality.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "manual.pdf"
  ],
  "_realowner": "cran",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.6.1",
      "date": "2014-09-15"
    },
    {
      "version": "1.0.1",
      "date": "2016-12-17"
    },
    {
      "version": "1.0.2",
      "date": "2017-07-09"
    },
    {
      "version": "1.0.3",
      "date": "2018-02-18"
    },
    {
      "version": "1.0.4",
      "date": "2018-11-05"
    }
  ],
  "_exports": [
    "fitFunc",
    "getMids",
    "getQuantilesParams",
    "giniCoef",
    "LRT",
    "makeFitComb",
    "makeInt",
    "makeIntWeight",
    "makeWeightsAIC",
    "mAvg",
    "midStats",
    "MLD",
    "modelAvg",
    "paramFilt",
    "run_GB_family",
    "SDL",
    "theilInd"
  ],
  "_datasets": [
    {
      "name": "county_bins",
      "title": "A data set containing binned income for US counties",
      "object": "county_bins",
      "file": "county_bins.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "fips",
        "bin_num",
        "count_pop",
        "count_pop_moe",
        "bin_min",
        "bin_max",
        "count_sample",
        "county",
        "state",
        "county_fips",
        "state_fips"
      ],
      "rows": 51536,
      "table": true,
      "tojson": true
    },
    {
      "name": "school_district_bins",
      "title": "A data set containing the school district data.",
      "object": "school_district_bins",
      "file": "school_district_bins.rda",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "state_bins",
      "title": "A data set containing the binned state data.",
      "object": "state_bins",
      "file": "state_bins.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "fips_state",
        "bin_min",
        "bin_max",
        "State",
        "households_pop",
        "moe_households_pop",
        "households_sample",
        "hb"
      ],
      "rows": 832,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "binequality-package",
      "title": "Methods for Analyzing Binned Income Data",
      "topics": [
        "binequality-package",
        "binequality"
      ]
    },
    {
      "page": "county_bins",
      "title": "A data set containing binned income for US counties",
      "topics": [
        "county_bins"
      ]
    },
    {
      "page": "fitFunc",
      "title": "A function to fit a parametric distribution to binned data.",
      "topics": [
        "fitFunc"
      ]
    },
    {
      "page": "getMids",
      "title": "A function to calculate the bin midpoints.",
      "topics": [
        "getMids"
      ]
    },
    {
      "page": "getQuantilesParams",
      "title": "A function to extract the quantiles and parameters",
      "topics": [
        "getQuantilesParams"
      ]
    },
    {
      "page": "giniCoef",
      "title": "Calculates the Gini coefficient from quantiles",
      "topics": [
        "giniCoef"
      ]
    },
    {
      "page": "LRT",
      "title": "A function to perform likelihood ratio tests",
      "topics": [
        "LRT"
      ]
    },
    {
      "page": "makeFitComb",
      "title": "A function to transform a list into a dataframe",
      "topics": [
        "makeFitComb"
      ]
    },
    {
      "page": "makeInt",
      "title": "A function to create a survival object from bin counts.",
      "topics": [
        "makeInt"
      ]
    },
    {
      "page": "makeIntWeight",
      "title": "A function to create a survival object from bin counts and normalized bin weights.",
      "topics": [
        "makeIntWeight"
      ]
    },
    {
      "page": "makeWeightsAIC",
      "title": "A function to calculate AIC weights",
      "topics": [
        "makeWeightsAIC"
      ]
    },
    {
      "page": "mAvg",
      "title": "A simple function to perfom model averaging using pre-calculated weights.",
      "topics": [
        "mAvg"
      ]
    },
    {
      "page": "midStats",
      "title": "A function to calculate statistics using bin midpoints",
      "topics": [
        "midStats"
      ]
    },
    {
      "page": "MLD",
      "title": "A function to calculate the MLD",
      "topics": [
        "MLD"
      ]
    },
    {
      "page": "modelAvg",
      "title": "A function to calculate model averages",
      "topics": [
        "modelAvg"
      ]
    },
    {
      "page": "paramFilt",
      "title": "A function to filter models based on estimated parameters",
      "topics": [
        "paramFilt"
      ]
    },
    {
      "page": "run_GB_family",
      "title": "A function to fit a parametric distributions to binned data.",
      "topics": [
        "run_GB_family"
      ]
    },
    {
      "page": "school_district_bins",
      "title": "A data set containing the school district data.",
      "topics": [
        "school_district_bins"
      ]
    },
    {
      "page": "SDL",
      "title": "A function to calculate the SDL",
      "topics": [
        "SDL"
      ]
    },
    {
      "page": "state_bins",
      "title": "A data set containing the binned state data.",
      "topics": [
        "state_bins"
      ]
    },
    {
      "page": "theilInd",
      "title": "A function to calculate the Theil",
      "topics": [
        "theilInd"
      ]
    }
  ],
  "_rundeps": [
    "gamlss",
    "gamlss.cens",
    "gamlss.data",
    "gamlss.dist",
    "ineq",
    "lattice",
    "MASS",
    "Matrix",
    "nlme",
    "survival"
  ],
  "_score": 1.3617278360175928,
  "_indexed": true,
  "_nocasepkg": "binequality",
  "_universes": [
    "cran"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.4",
      "date": "2026-06-04T10:42:43.000Z",
      "distro": "noble",
      "commit": "a3398c123ed494309f78ddc0251f228262345078",
      "fileid": "aab4be08832dd15bad29b0508459d2f42d9795fe2a746038cc252f788c0fb333",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26946610052"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.4",
      "date": "2026-06-04T10:42:43.000Z",
      "distro": "noble",
      "commit": "a3398c123ed494309f78ddc0251f228262345078",
      "fileid": "b04a824d2de8395e8799178d02a92a3974e8b88e3b3055d65453701e18b32c8f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26946610052"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.4",
      "date": "2026-06-04T10:42:44.000Z",
      "commit": "a3398c123ed494309f78ddc0251f228262345078",
      "fileid": "acb45dd314fdda16695db3e6e90c1851287c531034f17b1057a7e3ae5ee4432c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26946610052"
    }
  ]
}