{
  "_id": "6a253bc54b233be198398cbd",
  "Package": "bate",
  "Title": "Computes Bias-Adjusted Treatment Effect",
  "Version": "0.1.0",
  "Authors@R": "c(\nperson(\"Deepankar\", \"Basu\", , \"dbasu@umass.edu\", role = c(\"aut\", \"cre\")),\nperson(\"Evan\", \"Wasner\", , \"ewasner@umass.edu\", role = c(\"aut\")))",
  "Description": "Compute bounds for the treatment effect after adjusting\nfor the presence of omitted variables in linear econometric\nmodels, according to the method of Basu (2022)\n<arXiv:2203.12431>. You supply the data, identify the outcome\nand treatment variables and additional regressors. The main\nfunctions will compute bounds for the bias-adjusted treatment\neffect. Many plot functions allow easy visualization of\nresults.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.2.3",
  "LazyData": "true",
  "VignetteBuilder": "knitr",
  "URL": "https://github.com/dbasu-umass/bate/,\nhttps://rpubs.com/dbasu/bate/",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\nlibssl-dev libproj-dev libsqlite3-dev libudunits2-dev\nlibnode-dev",
  "Repository": "https://dbasu-umass.r-universe.dev",
  "Date/Publication": "2023-07-02 23:32:50 UTC",
  "RemoteUrl": "https://github.com/dbasu-umass/bate",
  "RemoteRef": "HEAD",
  "RemoteSha": "46798901e6e9f26578f9366c7c03b1434e4745fa",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-07 09:12:31 UTC",
    "User": "root"
  },
  "Author": "Deepankar Basu [aut, cre],\nEvan Wasner [aut]",
  "Maintainer": "Deepankar Basu <dbasu@umass.edu>",
  "MD5sum": "ce5af73efd24658f189cf50caa3a82cf",
  "_user": "dbasu-umass",
  "_type": "src",
  "_file": "bate_0.1.0.tar.gz",
  "_fileid": "adf4c9a6c11c4bb3bfc2b8365312d0420712fc8ea4ec5c42aa58b61a93b8ecae",
  "_filesize": 530758,
  "_sha256": "adf4c9a6c11c4bb3bfc2b8365312d0420712fc8ea4ec5c42aa58b61a93b8ecae",
  "_created": "2026-06-07T09:12:31.000Z",
  "_published": "2026-06-07T09:37:09.240Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79947038742,
      "time": 151,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7462715854"
    },
    {
      "job": 79947038741,
      "time": 135,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7462713432"
    },
    {
      "job": 79947038756,
      "time": 127,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7462712513"
    },
    {
      "job": 79947038727,
      "time": 117,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7462710954"
    },
    {
      "job": 79946774422,
      "time": 247,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7462694010"
    },
    {
      "job": 79947038732,
      "time": 1441,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 79947038749,
      "time": 92,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7462707562"
    },
    {
      "job": 79947038739,
      "time": 92,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7462707472"
    },
    {
      "job": 79947038762,
      "time": 97,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7462708094"
    }
  ],
  "_buildurl": "https://github.com/r-universe/dbasu-umass/actions/runs/27088222360",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/dbasu-umass/bate",
  "_commit": {
    "id": "46798901e6e9f26578f9366c7c03b1434e4745fa",
    "author": "Deepankar Basu <dbasu@umass.edu>",
    "committer": "Deepankar Basu <dbasu@umass.edu>",
    "message": "Added function cinhaz to README\n",
    "time": 1688340770
  },
  "_maintainer": {
    "name": "Deepankar Basu",
    "email": "dbasu@umass.edu",
    "login": "dbasu-umass",
    "description": "",
    "uuid": 87197338
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "concaveman",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "tidyselect",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "latex2exp",
      "role": "Imports"
    },
    {
      "package": "sensemakr",
      "role": "Imports"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "vtable",
      "role": "Suggests"
    }
  ],
  "_owner": "dbasu-umass",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 2,
  "_contributors": [
    {
      "user": "dbasu-umass",
      "count": 54,
      "uuid": 87197338
    },
    {
      "user": "ewasner",
      "count": 6,
      "uuid": 70219097
    }
  ],
  "_userbio": {
    "uuid": 87197338,
    "type": "user",
    "name": "dbasu-umass"
  },
  "_downloads": {
    "count": 186,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/bate"
  },
  "_devurl": "https://github.com/dbasu-umass/bate",
  "_searchresults": 3,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/bate.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/dbasu-umass/bate",
  "_realowner": "dbasu-umass",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2022-03-28"
    }
  ],
  "_exports": [
    "cinhaz",
    "collect_par",
    "cplotbias",
    "delfplot",
    "dplotbate",
    "expand_border",
    "get_border",
    "mycubic",
    "mydisc",
    "osterbds",
    "osterdelstar",
    "ovbias",
    "ovbias_lm",
    "ovbias_par",
    "partocoef",
    "selectroot",
    "split_nurr",
    "urrplot"
  ],
  "_datasets": [
    {
      "name": "NLSY_BW",
      "title": "NLSY Birth Weight.",
      "object": "NLSY_BW",
      "class": [
        "data.frame"
      ],
      "fields": [
        "birth_wt",
        "BF_months",
        "mom_drink_preg_all",
        "lbw_preterm",
        "age",
        "female",
        "black",
        "motherAge",
        "motherEDU",
        "mom_married",
        "income",
        "sex",
        "race",
        "gesweek",
        "any_smoke"
      ],
      "rows": 7686,
      "table": true,
      "tojson": true
    },
    {
      "name": "NLSY_IQ",
      "title": "NLSY IQ.",
      "object": "NLSY_IQ",
      "class": [
        "data.frame"
      ],
      "fields": [
        "iq_std",
        "BF_months",
        "mom_drink_preg_all",
        "lbw_preterm",
        "age",
        "female",
        "black",
        "motherAge",
        "motherEDU",
        "mom_married",
        "income",
        "sex",
        "race"
      ],
      "rows": 6514,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "cinhaz",
      "title": "Conduct partial and total R2-based sensitivity analysis",
      "topics": [
        "cinhaz"
      ]
    },
    {
      "page": "collect_par",
      "title": "Collect parameters from the short, intermediate and auxiliary regressions",
      "topics": [
        "collect_par"
      ]
    },
    {
      "page": "cplotbias",
      "title": "Create contour plot of bias",
      "topics": [
        "cplotbias"
      ]
    },
    {
      "page": "delfplot",
      "title": "Plot graph of function delta=f(Rmax)",
      "topics": [
        "delfplot"
      ]
    },
    {
      "page": "dplotbate",
      "title": "Histogram of bias adjusted treatment effect",
      "topics": [
        "dplotbate"
      ]
    },
    {
      "page": "expand_border",
      "title": "Extend border of bounded box by +/- e",
      "topics": [
        "expand_border"
      ]
    },
    {
      "page": "get_border",
      "title": "Identify all border points in a region",
      "topics": [
        "get_border"
      ]
    },
    {
      "page": "mycubic",
      "title": "Compute roots of the cubic equation",
      "topics": [
        "mycubic"
      ]
    },
    {
      "page": "mydisc",
      "title": "Evaluates discriminant of the cubic equation",
      "topics": [
        "mydisc"
      ]
    },
    {
      "page": "NLSY_BW",
      "title": "NLSY Birth Weight.",
      "topics": [
        "NLSY_BW"
      ]
    },
    {
      "page": "NLSY_IQ",
      "title": "NLSY IQ.",
      "topics": [
        "NLSY_IQ"
      ]
    },
    {
      "page": "osterbds",
      "title": "Computes identified set according to Oster (2019)",
      "topics": [
        "osterbds"
      ]
    },
    {
      "page": "osterdelstar",
      "title": "Computes delta* according to Oster (2019)",
      "topics": [
        "osterdelstar"
      ]
    },
    {
      "page": "ovbias",
      "title": "Compute bias adjusted treatment effect taking parameter vector as input.",
      "topics": [
        "ovbias"
      ]
    },
    {
      "page": "ovbias_lm",
      "title": "Compute bias adjusted treatment effect taking three lm objects as input.",
      "topics": [
        "ovbias_lm"
      ]
    },
    {
      "page": "ovbias_par",
      "title": "Compute bias adjusted treatment effect taking data frame as input.",
      "topics": [
        "ovbias_par"
      ]
    },
    {
      "page": "partocoef",
      "title": "Returns coefficients of the cubic equation",
      "topics": [
        "partocoef"
      ]
    },
    {
      "page": "selectroot",
      "title": "Select root of the cubic based on the root of a nearest point",
      "topics": [
        "selectroot"
      ]
    },
    {
      "page": "split_nurr",
      "title": "Split a region into two parts",
      "topics": [
        "split_nurr"
      ]
    },
    {
      "page": "urrplot",
      "title": "Region plot to demarcate URR and NURR for the bounded box",
      "topics": [
        "urrplot"
      ]
    }
  ],
  "_readme": "https://github.com/dbasu-umass/bate/raw/HEAD/README.md",
  "_rundeps": [
    "class",
    "classInt",
    "cli",
    "concaveman",
    "cpp11",
    "curl",
    "DBI",
    "dplyr",
    "e1071",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "jsonlite",
    "KernSmooth",
    "labeling",
    "latex2exp",
    "lifecycle",
    "magrittr",
    "MASS",
    "pillar",
    "pkgconfig",
    "proxy",
    "purrr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "s2",
    "S7",
    "scales",
    "sensemakr",
    "sf",
    "tibble",
    "tidyselect",
    "units",
    "utf8",
    "V8",
    "vctrs",
    "viridisLite",
    "withr",
    "wk"
  ],
  "_vignettes": [
    {
      "source": "bate-vignette.Rmd",
      "filename": "bate-vignette.html",
      "title": "Bias-Adjusted Treatment Effect",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Cinelli and Hazlett (2020) Approach",
        "Oster (2019) Approach",
        "Four Regressions",
        "Two Important Parameters",
        "The Algorithm",
        "The Main Functions",
        "ovbias() function",
        "ovbias_par() function",
        "ovbias_lm() function",
        "Additional Functions",
        "Example: Impact of Maternal Behavior on Child IQ",
        "Setting Up",
        "Setting Up the Analysis",
        "Using ovbias()",
        "Comparing Our Results with Oster (2019)",
        "Using the ovbias_par() function",
        "Using the ovbias_lm() function",
        "References"
      ],
      "created": "2022-03-05 14:18:14",
      "modified": "2023-07-02 23:26:10",
      "commits": 9
    }
  ],
  "_score": 4,
  "_indexed": true,
  "_nocasepkg": "bate",
  "_universes": [
    "dbasu-umass"
  ],
  "_binaries": [
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-05-22T14:17:41.000Z",
      "commit": "46798901e6e9f26578f9366c7c03b1434e4745fa",
      "fileid": "10c7e41252dbb3dba974da443f3d5a856c34bca579c0b9c162f29db1d9e051a7",
      "status": "success",
      "buildurl": "https://github.com/r-universe/dbasu-umass/actions/runs/25540369924"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-06-07T09:14:58.000Z",
      "distro": "noble",
      "commit": "46798901e6e9f26578f9366c7c03b1434e4745fa",
      "fileid": "1befa90cff3751aeec753d63daab1c6a1bd4c02778ffd22fe8c0e2c69578b52d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dbasu-umass/actions/runs/27088222360"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-06-07T09:14:42.000Z",
      "distro": "noble",
      "commit": "46798901e6e9f26578f9366c7c03b1434e4745fa",
      "fileid": "0a53cd75ad57187842d4adc802093387d6a64e53341ba839b044eea428c46028",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dbasu-umass/actions/runs/27088222360"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-06-07T09:14:36.000Z",
      "commit": "46798901e6e9f26578f9366c7c03b1434e4745fa",
      "fileid": "7fb02e95bda13670a2c256b6026bb080ee387231a4ddaf4a0a5c435d86c4904a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dbasu-umass/actions/runs/27088222360"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-06-07T09:14:23.000Z",
      "commit": "46798901e6e9f26578f9366c7c03b1434e4745fa",
      "fileid": "6e81c3ded72756cbc32f07c302303ef74cafa042e9d306cb6d452e2b12dea213",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dbasu-umass/actions/runs/27088222360"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-07T09:13:56.000Z",
      "commit": "46798901e6e9f26578f9366c7c03b1434e4745fa",
      "fileid": "9739cbf7f26b00ae6b8a2144e58e17229fc9689432c4a58d3267ee205a0a48bf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dbasu-umass/actions/runs/27088222360"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-07T09:13:52.000Z",
      "commit": "46798901e6e9f26578f9366c7c03b1434e4745fa",
      "fileid": "97b203f92f40849236c946d7c26069700a0fb43b1bb36b55f38ff0ef78f5cb84",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dbasu-umass/actions/runs/27088222360"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-07T09:13:56.000Z",
      "commit": "46798901e6e9f26578f9366c7c03b1434e4745fa",
      "fileid": "38cb7707d59265576480f0690d9faa102068ac86dab6212ec33d809297697a33",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dbasu-umass/actions/runs/27088222360"
    }
  ]
}