{
  "_id": "6a10332facfb0bcc41c9823d",
  "Package": "binsreg",
  "Type": "Package",
  "Title": "Binscatter Estimation and Inference",
  "Date": "2026-05-22",
  "Version": "2.1",
  "Authors@R": "c(\nperson(\"Matias D.\", \"Cattaneo\", email = \"matias.d.cattaneo@gmail.com\", role = c(\"aut\", \"cre\")),\nperson(\"Richard K.\", \"Crump\", email = \"richard.crump@gmail.com\", role = \"aut\"),\nperson(\"Max H.\", \"Farrell\", email = \"mhfarrell@gmail.com\", role = \"aut\"),\nperson(\"Yingjie\", \"Feng\", email = \"fengyingjiepku@gmail.com\", role = \"aut\"))",
  "Author": "Matias D. Cattaneo [aut, cre], Richard K. Crump [aut], Max H.\nFarrell [aut], Yingjie Feng [aut]",
  "Maintainer": "Matias D. Cattaneo <matias.d.cattaneo@gmail.com>",
  "Description": "Provides tools for statistical analysis using the\nbinscatter methods developed by Cattaneo, Crump, Farrell and\nFeng (2024)\n<https://nppackages.github.io/references/Cattaneo-Crump-Farrell-Feng_2024_AER.pdf>,\nCattaneo, Crump, Farrell and Feng (2025)\n<https://nppackages.github.io/references/Cattaneo-Crump-Farrell-Feng_2025_Stata.pdf>\nand Cattaneo, Crump, Farrell and Feng (2026)\n<https://nppackages.github.io/references/Cattaneo-Crump-Farrell-Feng_2026_RESTAT.pdf>.\nBinscatter provides a flexible way of describing the\nrelationship between two variables based on\npartitioning/binning of the independent variable of interest.\nbinsreg(), binsqreg() and binsglm() implement binscatter least\nsquares regression, quantile regression and generalized linear\nregression respectively, with particular focus on constructing\nbinned scatter plots. They also implement robust (pointwise and\nuniform) inference of regression functions and derivatives\nthereof. binstest() implements hypothesis testing procedures\nfor parametric functional forms of and nonparametric shape\nrestrictions on the regression function. binspwc() implements\nhypothesis testing procedures for pairwise group comparison of\nbinscatter estimators. binsregselect() implements data-driven\nprocedures for selecting the number of bins for binscatter\nestimation. All the commands allow for covariate adjustment,\nsmoothness restrictions and clustering.",
  "URL": "https://nppackages.github.io/,\nhttps://github.com/nppackages/binsreg",
  "BugReports": "https://github.com/nppackages/binsreg/issues",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "Config/testthat/edition": "3",
  "Config/roxygen2/version": "8.0.0",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-22 10:39:31 UTC",
    "User": "root"
  },
  "Repository": "https://mdcattaneo.r-universe.dev",
  "Date/Publication": "2026-05-22 07:30:02 UTC",
  "RemoteUrl": "https://github.com/cran/binsreg",
  "RemoteRef": "HEAD",
  "RemoteSha": "994833b4d0ba26ecd9a5f8e6a85358dfa5879976",
  "MD5sum": "1004a9d274e8f9ada067e36c39a06b4f",
  "_user": "mdcattaneo",
  "_type": "src",
  "_file": "binsreg_2.1.tar.gz",
  "_fileid": "3da007e9fac425e33a4842f5752ac6936dd9232a5861975d219fb92ff73a9c03",
  "_filesize": 302336,
  "_sha256": "3da007e9fac425e33a4842f5752ac6936dd9232a5861975d219fb92ff73a9c03",
  "_created": "2026-05-22T10:39:31.000Z",
  "_published": "2026-05-22T10:42:55.470Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77363704430,
      "time": 165,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7158599654"
    },
    {
      "job": 77363704445,
      "time": 159,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7158597803"
    },
    {
      "job": 77363704560,
      "time": 113,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7158598659"
    },
    {
      "job": 77363704465,
      "time": 108,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7158594964"
    },
    {
      "job": 77363280852,
      "time": 173,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7158551368"
    },
    {
      "job": 77363704424,
      "time": 98,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7158580783"
    },
    {
      "job": 77363704453,
      "time": 124,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7158587883"
    },
    {
      "job": 77363704504,
      "time": 113,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7158585046"
    },
    {
      "job": 77363704571,
      "time": 128,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7158589445"
    }
  ],
  "_buildurl": "https://github.com/r-universe/mdcattaneo/actions/runs/26282896346",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/binsreg",
  "_commit": {
    "id": "994833b4d0ba26ecd9a5f8e6a85358dfa5879976",
    "author": "Matias D. Cattaneo <matias.d.cattaneo@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 2.1\n",
    "time": 1779435002
  },
  "_maintainer": {
    "name": "Matias D. Cattaneo",
    "email": "matias.d.cattaneo@gmail.com",
    "login": "mdcattaneo",
    "description": "",
    "uuid": 24854721
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.1",
      "role": "Depends"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "sandwich",
      "role": "Imports"
    },
    {
      "package": "quantreg",
      "role": "Imports"
    },
    {
      "package": "splines",
      "role": "Imports"
    },
    {
      "package": "matrixStats",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-20",
      "n": 1
    },
    {
      "week": "2026-21",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "2.0",
      "date": "2026-05-15"
    },
    {
      "name": "2.1",
      "date": "2026-05-22"
    }
  ],
  "_stars": 2,
  "_contributors": [
    {
      "user": "yingjieum",
      "count": 5,
      "uuid": 69371650
    },
    {
      "user": "mdcattaneo",
      "count": 2,
      "uuid": 24854721
    }
  ],
  "_userbio": {
    "uuid": 24854721,
    "type": "user",
    "name": "Matias D. Cattaneo"
  },
  "_downloads": {
    "count": 935,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/binsreg"
  },
  "_devurl": "https://github.com/nppackages/binsreg",
  "_searchresults": 146,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/binsreg.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "manual.pdf"
  ],
  "_realowner": "mdcattaneo",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.2.0",
      "date": "2019-03-19"
    },
    {
      "version": "0.6",
      "date": "2021-08-07"
    },
    {
      "version": "0.7",
      "date": "2021-10-11"
    },
    {
      "version": "0.9",
      "date": "2023-01-06"
    },
    {
      "version": "1.0",
      "date": "2023-07-11"
    },
    {
      "version": "1.1",
      "date": "2024-07-23"
    },
    {
      "version": "2.0",
      "date": "2026-05-15"
    },
    {
      "version": "2.1",
      "date": "2026-05-22"
    }
  ],
  "_exports": [
    "binsglm",
    "binspwc",
    "binsqreg",
    "binsreg",
    "binsregselect",
    "binstest"
  ],
  "_help": [
    {
      "page": "binsreg-package",
      "title": "Binsreg Package Document",
      "topics": [
        "binsreg-package"
      ]
    },
    {
      "page": "binsglm",
      "title": "Data-Driven Binscatter Generalized Linear Regression with Robust Inference Procedures and Plots",
      "topics": [
        "binsglm"
      ]
    },
    {
      "page": "binspwc",
      "title": "Data-Driven Pairwise Group Comparison using Binscatter Methods",
      "topics": [
        "binspwc"
      ]
    },
    {
      "page": "binsqreg",
      "title": "Data-Driven Binscatter Quantile Regression with Robust Inference Procedures and Plots",
      "topics": [
        "binsqreg"
      ]
    },
    {
      "page": "binsreg",
      "title": "Data-Driven Binscatter Least Squares Regression with Robust Inference Procedures and Plots",
      "topics": [
        "binsreg"
      ]
    },
    {
      "page": "binsregselect",
      "title": "Data-Driven IMSE-Optimal Partitioning/Binning Selection for Binscatter",
      "topics": [
        "binsregselect"
      ]
    },
    {
      "page": "binstest",
      "title": "Data-Driven Nonparametric Shape Restriction and Parametric Model Specification Testing using Binscatter",
      "topics": [
        "binstest"
      ]
    }
  ],
  "_rundeps": [
    "cli",
    "cpp11",
    "farver",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "MASS",
    "Matrix",
    "MatrixModels",
    "matrixStats",
    "quantreg",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "sandwich",
    "scales",
    "SparseM",
    "survival",
    "vctrs",
    "viridisLite",
    "withr",
    "zoo"
  ],
  "_score": 2.7664128471123997,
  "_indexed": true,
  "_nocasepkg": "binsreg",
  "_universes": [
    "mdcattaneo",
    "nppackages"
  ],
  "_previous": "2.0",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.1",
      "date": "2026-05-22T10:41:47.000Z",
      "distro": "noble",
      "commit": "994833b4d0ba26ecd9a5f8e6a85358dfa5879976",
      "fileid": "ce00d52d9e98dabd93f830d2c5362146de0d1495ac14575f83e66ef71906a373",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mdcattaneo/actions/runs/26282896346"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.1",
      "date": "2026-05-22T10:41:41.000Z",
      "distro": "noble",
      "commit": "994833b4d0ba26ecd9a5f8e6a85358dfa5879976",
      "fileid": "888b1ca438b48554345d1297fc90cc18551c65971f003687de9e85fd1dbebe39",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mdcattaneo/actions/runs/26282896346"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.1",
      "date": "2026-05-22T10:42:00.000Z",
      "commit": "994833b4d0ba26ecd9a5f8e6a85358dfa5879976",
      "fileid": "1cdb8b2b4742fe54adfb2740b699bdc1c336369111ac820178c86c014a765891",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mdcattaneo/actions/runs/26282896346"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.1",
      "date": "2026-05-22T10:41:49.000Z",
      "commit": "994833b4d0ba26ecd9a5f8e6a85358dfa5879976",
      "fileid": "761ad3957215a2471e254c2ba21fa75613d248b77294a0e65f24e7086a858655",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mdcattaneo/actions/runs/26282896346"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.1",
      "date": "2026-05-22T10:41:35.000Z",
      "commit": "994833b4d0ba26ecd9a5f8e6a85358dfa5879976",
      "fileid": "d1fa0b832c8f0a794e076376ff197f73a4be90c6154bc59f2afe6d8029e0203d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mdcattaneo/actions/runs/26282896346"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.1",
      "date": "2026-05-22T10:40:55.000Z",
      "commit": "994833b4d0ba26ecd9a5f8e6a85358dfa5879976",
      "fileid": "24d06ba73ac3241f36d26c79e070d140e5fc83a7fd8e5d8e4af638bfb457e95a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mdcattaneo/actions/runs/26282896346"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.1",
      "date": "2026-05-22T10:40:49.000Z",
      "commit": "994833b4d0ba26ecd9a5f8e6a85358dfa5879976",
      "fileid": "249ac3c5270f4ddc9b724c58dc8ca5596d8110f6939b50e59fe1504be07d9040",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mdcattaneo/actions/runs/26282896346"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "2.1",
      "date": "2026-05-22T10:41:04.000Z",
      "commit": "994833b4d0ba26ecd9a5f8e6a85358dfa5879976",
      "fileid": "264d4c4a216a3a2272af802c914542ff79b84e70d81fe31951a474efd694e6d8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mdcattaneo/actions/runs/26282896346"
    }
  ]
}