{
  "_id": "6ac3945e192c10f297258be4",
  "Package": "sbw",
  "Type": "Package",
  "Version": "1.2",
  "Date": "2025-10-15",
  "Title": "Stable Balancing Weights for Causal Inference and Missing Data",
  "Authors@R": "c(person(\"Jose R.\", \"Zubizarreta\", role = c(\"aut\", \"cre\"),\nemail = \"zubizarreta@hcp.med.harvard.edu\"),\nperson(\"Yige\", \"Li\", role = \"aut\",\nemail = \"yige_li@hcp.med.harvard.edu\"),\nperson(\"Kwangho\", \"Kim\", role = \"aut\",\nemail = \"kkim@hcp.med.harvard.edu\"),\nperson(\"Amine\", \"Allouah\", role = \"ctb\",\nemail = \"mallouah19@gsb.columbia.edu\"),\nperson(\"Noah\", \"Greifer\", role = \"ctb\",\nemail = \"ngreifer@live.unc.edu\"))",
  "Maintainer": "Jose R. Zubizarreta <zubizarreta@hcp.med.harvard.edu>",
  "License": "GPL-2 | GPL-3",
  "Description": "Implements the Stable Balancing Weights by Zubizarreta\n(2015) <DOI:10.1080/01621459.2015.1023805>. These are the\nweights of minimum variance that approximately balance the\nempirical distribution of the observed covariates. For an\noverview, see Chattopadhyay, Hase and Zubizarreta (2020)\n<DOI:10.1002/sim.8659>. To solve the optimization problem in\n'sbw', the default solver is 'quadprog', which is readily\navailable through CRAN. The solver 'osqp' is also posted on\nCRAN. To enhance the performance of 'sbw', users are encouraged\nto install other solvers such as 'gurobi' and 'Rmosek', which\nrequire special installation. For the installation of gurobi\nand pogs, please follow the instructions at\n<https://docs.gurobi.com/projects/optimizer/en/current/reference/r.html>\nand <http://foges.github.io/pogs/stp/r>.",
  "RoxygenNote": "7.2.1",
  "Encoding": "UTF-8",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-05 12:09:49 UTC",
    "User": "root"
  },
  "Author": "Jose R. Zubizarreta [aut, cre], Yige Li [aut], Kwangho Kim\n[aut], Amine Allouah [ctb], Noah Greifer [ctb]",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2025-10-17 11:20:12 UTC",
  "RemoteUrl": "https://github.com/cran/sbw",
  "RemoteRef": "HEAD",
  "RemoteSha": "60f7e5676d6b910354207b9d40bd01b1a9c4d482",
  "_user": "cran",
  "_type": "src",
  "_file": "sbw_1.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/3af629f08fa6f2e4db046d1fa4721a814a3cdd376392dd98cd8e4f840404d4e3",
  "_filesize": 151013,
  "_sha256": "3af629f08fa6f2e4db046d1fa4721a814a3cdd376392dd98cd8e4f840404d4e3",
  "_expires": "2027-01-13T12:13:16.000Z",
  "_created": "2026-10-05T12:09:49.000Z",
  "_published": "2026-10-05T12:13:18.641Z",
  "_jobs": [
    {
      "job": 111755179925,
      "time": 144,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11344561894"
    },
    {
      "job": 111755179850,
      "time": 166,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11343874437"
    },
    {
      "job": 111754222421,
      "time": 155,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11343958788"
    },
    {
      "job": 111755179936,
      "time": 97,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11344870189"
    },
    {
      "job": 111755180000,
      "time": 116,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11343744775"
    },
    {
      "job": 111755179879,
      "time": 96,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11344875109"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/37307339609",
  "_status": "success",
  "_upstream": "https://github.com/cran/sbw",
  "_commit": {
    "id": "60f7e5676d6b910354207b9d40bd01b1a9c4d482",
    "author": "Jose R. Zubizarreta <zubizarreta@hcp.med.harvard.edu>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.2\n",
    "time": 1760700012
  },
  "_maintainer": {
    "name": "Jose R. Zubizarreta",
    "email": "zubizarreta@hcp.med.harvard.edu"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.2",
      "role": "Depends"
    },
    {
      "package": "Matrix",
      "role": "Depends"
    },
    {
      "package": "quadprog",
      "role": "Depends"
    },
    {
      "package": "slam",
      "role": "Depends"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "spatstat.univar",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "gurobi",
      "role": "Enhances"
    },
    {
      "package": "Rcplex",
      "role": "Enhances"
    },
    {
      "package": "Rmosek",
      "role": "Enhances"
    },
    {
      "package": "pogs",
      "role": "Enhances"
    },
    {
      "package": "osqp",
      "role": "Enhances"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-42",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.2",
      "date": "2025-10-17"
    }
  ],
  "_stars": 2,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 631,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 2120,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/sbw"
  },
  "_mentions": 1,
  "_searchresults": 22,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/sbw.html"
  ],
  "_realowner": "cran",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0",
      "date": "2019-12-30"
    },
    {
      "version": "1.1.1",
      "date": "2020-06-23"
    },
    {
      "version": "1.1.3",
      "date": "2021-06-18"
    },
    {
      "version": "1.1.5",
      "date": "2021-09-22"
    },
    {
      "version": "1.1.8",
      "date": "2024-07-09"
    },
    {
      "version": "1.1.9",
      "date": "2024-07-27"
    },
    {
      "version": "1.2",
      "date": "2025-10-17"
    }
  ],
  "_exports": [
    "estimate",
    "sbw",
    "summarize",
    "visualize"
  ],
  "_datasets": [
    {
      "name": "lalonde",
      "title": "The Lalonde data set",
      "object": "lalonde",
      "file": "lalonde.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "treatment",
        "age",
        "education",
        "black",
        "hispanic",
        "married",
        "nodegree",
        "re74",
        "re75",
        "re78"
      ],
      "rows": 614,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "estimate",
      "title": "Estimate causal contrasts and population means",
      "topics": [
        "estimate"
      ]
    },
    {
      "page": "lalonde",
      "title": "The Lalonde data set",
      "topics": [
        "lalonde"
      ]
    },
    {
      "page": "sbw",
      "title": "Stable balancing weights for causal contrasts and population means.",
      "topics": [
        "sbw"
      ]
    },
    {
      "page": "summarize",
      "title": "Summarize output from 'sbw'",
      "topics": [
        "summarize"
      ]
    },
    {
      "page": "visualize",
      "title": "Visualize output from 'sbw'",
      "topics": [
        "visualize"
      ]
    }
  ],
  "_rundeps": [
    "lattice",
    "MASS",
    "Matrix",
    "quadprog",
    "slam",
    "spatstat.univar",
    "spatstat.utils"
  ],
  "_score": 1.9697885374149389,
  "_indexed": true,
  "_nocasepkg": "sbw",
  "_universes": [
    "cran"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2",
      "date": "2026-10-05T12:12:12.000Z",
      "distro": "resolute",
      "commit": "60f7e5676d6b910354207b9d40bd01b1a9c4d482",
      "fileid": "https://r2.ropensci.org/248e31cf11921d9c994251812ea56575696636bedab397b7c3938f8672df9701",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/37307339609"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.2",
      "date": "2026-10-05T12:12:28.000Z",
      "distro": "resolute",
      "commit": "60f7e5676d6b910354207b9d40bd01b1a9c4d482",
      "fileid": "https://r2.ropensci.org/0e043f89e26e3ae8e687beb96151a512070cc61be766b0b176e528c428bad635",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/37307339609"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2",
      "date": "2026-10-05T12:11:46.000Z",
      "commit": "60f7e5676d6b910354207b9d40bd01b1a9c4d482",
      "fileid": "https://r2.ropensci.org/adcd47d5f01ee342bef8650003d7e2635f63eb97afd5eab42743202512d9d538",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/37307339609"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2",
      "date": "2026-10-05T12:11:36.000Z",
      "commit": "60f7e5676d6b910354207b9d40bd01b1a9c4d482",
      "fileid": "https://r2.ropensci.org/b67f21f404775c6d18b8802c6e615cad917934fa6e6f129a2dd0bdb29c266c83",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/37307339609"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.2",
      "date": "2026-10-05T12:11:14.000Z",
      "commit": "60f7e5676d6b910354207b9d40bd01b1a9c4d482",
      "fileid": "https://r2.ropensci.org/4e34581266545611d19403c3023dde7ffe0513d348b594627b89d4ab666918be",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/37307339609"
    }
  ]
}