{
  "_id": "6a49e00a2c82cd36148253ae",
  "Package": "lmw",
  "Type": "Package",
  "Title": "Linear Model Weights",
  "Version": "0.0.2",
  "Authors@R": "c(\nperson(\"Ambarish\", \"Chattopadhyay\", email = \"ambarish_chattopadhyay@g.harvard.edu\", role = c(\"aut\"),\ncomment = c(ORCID = \"0000-0002-1502-0974\")),\nperson(\"Noah\", \"Greifer\", role = c(\"aut\", \"cre\"),\nemail = \"ngreifer@iq.harvard.edu\",\ncomment = c(ORCID=\"0000-0003-3067-7154\")),\nperson(\"Jose\", \"Zubizarreta\", email = \"zubizarreta@hcp.med.harvard.edu\", role = c(\"aut\"),\ncomment = c(ORCID = \"0000-0002-0322-147X\"))\n)",
  "Description": "Computes the implied weights of linear regression models\nfor estimating average causal effects and provides diagnostics\nbased on these weights. These diagnostics rely on the analyses\nin Chattopadhyay and Zubizarreta (2023)\n<doi:10.1093/biomet/asac058> where several regression\nestimators are represented as weighting estimators, in\nconnection to inverse probability weighting. 'lmw' provides\ntools to diagnose representativeness, balance, extrapolation,\nand influence for these models, clarifying the target\npopulation of inference. Tools are also available to simplify\nestimating treatment effects for specific target populations of\ninterest.",
  "License": "GPL (>= 2)",
  "Encoding": "UTF-8",
  "URL": "https://github.com/ngreifer/lmw",
  "BugReports": "https://github.com/ngreifer/lmw/issues",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.0",
  "LazyData": "true",
  "Config/testthat/edition": "3",
  "Repository": "https://ngreifer.r-universe.dev",
  "Date/Publication": "2024-02-08 16:01:33 UTC",
  "RemoteUrl": "https://github.com/ngreifer/lmw",
  "RemoteRef": "HEAD",
  "RemoteSha": "e86a8f967fda6dfeddb59bf2f2e9484db4c44a11",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-15 11:47:55 UTC",
    "User": "root"
  },
  "Author": "Ambarish Chattopadhyay [aut] (ORCID:\n<https://orcid.org/0000-0002-1502-0974>),\nNoah Greifer [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-3067-7154>),\nJose Zubizarreta [aut] (ORCID: <https://orcid.org/0000-0002-0322-147X>)",
  "Maintainer": "Noah Greifer <ngreifer@iq.harvard.edu>",
  "_user": "ngreifer",
  "_type": "src",
  "_file": "lmw_0.0.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/9e284a57c6a4644241d543656c0e74b0e8ece9e018d7b0adb000b8d808f97d48",
  "_filesize": 498498,
  "_sha256": "9e284a57c6a4644241d543656c0e74b0e8ece9e018d7b0adb000b8d808f97d48",
  "_expires": "2026-10-13T04:39:36.000Z",
  "_created": "2026-06-15T11:47:55.000Z",
  "_published": "2026-07-05T04:39:38.575Z",
  "_jobs": [
    {
      "job": 85193122041,
      "time": 140,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7637189960"
    },
    {
      "job": 85193122094,
      "time": 140,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7637192005"
    },
    {
      "job": 85193122102,
      "time": 106,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7637177107"
    },
    {
      "job": 85193122022,
      "time": 105,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7637177365"
    },
    {
      "job": 85193121931,
      "time": 196,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7637139087"
    },
    {
      "job": 85193121946,
      "time": 118,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7637181614"
    },
    {
      "job": 85193121934,
      "time": 87,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7637170400"
    },
    {
      "job": 85193122088,
      "time": 100,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7637174969"
    },
    {
      "job": 85193122090,
      "time": 88,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7637170451"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/ngreifer/actions/runs/27543910520",
  "_status": "success",
  "_upstream": "https://github.com/ngreifer/lmw",
  "_commit": {
    "id": "e86a8f967fda6dfeddb59bf2f2e9484db4c44a11",
    "author": "Noah Greifer <noah.greifer@gmail.com>",
    "committer": "Noah Greifer <noah.greifer@gmail.com>",
    "message": "Doc fixes\n",
    "time": 1707408093
  },
  "_maintainer": {
    "name": "Noah Greifer",
    "email": "ngreifer@iq.harvard.edu",
    "login": "ngreifer",
    "twitter": "@noah_greifer",
    "description": "Data Science Specialist at Harvard University Institute for Quantitative Social Science (IQSS)",
    "uuid": 20465600,
    "orcid": "0000-0003-3067-7154"
  },
  "_distro": "noble",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "chk",
      "version": ">= 0.9.1",
      "role": "Imports"
    },
    {
      "package": "sandwich",
      "version": ">= 3.0-2",
      "role": "Imports"
    },
    {
      "package": "backports",
      "version": ">= 1.4.1",
      "role": "Imports"
    },
    {
      "package": "MatchIt",
      "version": ">= 4.3.2",
      "role": "Suggests"
    },
    {
      "package": "WeightIt",
      "version": ">= 0.14.2",
      "role": "Suggests"
    },
    {
      "package": "marginaleffects",
      "version": ">= 0.17.0",
      "role": "Suggests"
    },
    {
      "package": "PSweight",
      "version": ">= 1.1.8",
      "role": "Suggests"
    },
    {
      "package": "estimatr",
      "role": "Suggests"
    },
    {
      "package": "lmtest",
      "role": "Suggests"
    },
    {
      "package": "ivreg",
      "role": "Suggests"
    },
    {
      "package": "mlogit",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "ngreifer",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 11,
  "_contributors": [
    {
      "user": "ngreifer",
      "count": 79,
      "uuid": 20465600
    }
  ],
  "_userbio": {
    "uuid": 20465600,
    "type": "user",
    "name": "Noah Greifer",
    "followers": 188,
    "description": "Data Science Specialist at Harvard University Institute for Quantitative Social Science (IQSS)"
  },
  "_downloads": {
    "count": 230,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/lmw"
  },
  "_devurl": "https://github.com/ngreifer/lmw",
  "_searchresults": 24,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/lmw.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/ngreifer/lmw",
  "_realowner": "ngreifer",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.0.1",
      "date": "2023-03-14"
    },
    {
      "version": "0.0.2",
      "date": "2024-02-08"
    }
  ],
  "_exports": [
    "lmw",
    "lmw_est",
    "lmw_iv"
  ],
  "_datasets": [
    {
      "name": "lalonde",
      "title": "Data from National Supported Work Demonstration and PSID, as analyzed by Dehejia and Wahba (1999).",
      "object": "lalonde",
      "class": [
        "data.frame"
      ],
      "fields": [
        "age",
        "education",
        "married",
        "nodegree",
        "re74",
        "re75",
        "re78",
        "Ins",
        "race",
        "treat",
        "treat_multi"
      ],
      "rows": 2675,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "influence.lmw",
      "title": "Regression Diagnostics for 'lmw' and 'lmw_est' objects",
      "topics": [
        "influence.lmw",
        "influence.lmw_est"
      ]
    },
    {
      "page": "lalonde",
      "title": "Data from National Supported Work Demonstration and PSID, as analyzed by Dehejia and Wahba (1999).",
      "topics": [
        "lalonde"
      ]
    },
    {
      "page": "lmw",
      "title": "Compute linear regression-implied weights",
      "topics": [
        "lmw"
      ]
    },
    {
      "page": "lmw_est",
      "title": "Estimate a treatment effect from a linear model",
      "topics": [
        "lmw_est",
        "lmw_est.lmw",
        "lmw_est.lmw_aipw",
        "lmw_est.lmw_iv"
      ]
    },
    {
      "page": "lmw_iv",
      "title": "Compute instrumental variable regression-implied weights",
      "topics": [
        "lmw_iv"
      ]
    },
    {
      "page": "plot.lmw",
      "title": "Plots diagnosing regression-implied weights",
      "topics": [
        "plot.lmw"
      ]
    },
    {
      "page": "plot.lmw_est",
      "title": "Plot diagnostics for an 'lmw_est' object",
      "topics": [
        "plot.lmw_est"
      ]
    },
    {
      "page": "plot.summary.lmw",
      "title": "Produce a Love plot of balance statistics",
      "topics": [
        "plot.summary.lmw"
      ]
    },
    {
      "page": "summary.lmw",
      "title": "Assess balance for an 'lmw' object",
      "topics": [
        "print.summary.lmw",
        "summary.lmw",
        "summary.lmw_multi"
      ]
    },
    {
      "page": "summary.lmw_est",
      "title": "Extract effect estimates and standard errors from 'lmw_est' fits",
      "topics": [
        "summary.lmw_est",
        "summary.lmw_est_aipw"
      ]
    }
  ],
  "_readme": "https://github.com/ngreifer/lmw/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "chk",
    "cli",
    "lattice",
    "lifecycle",
    "rlang",
    "sandwich",
    "zoo"
  ],
  "_score": 4.12057393120585,
  "_indexed": true,
  "_nocasepkg": "lmw",
  "_universes": [
    "ngreifer"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.2",
      "date": "2026-06-15T11:50:17.000Z",
      "distro": "noble",
      "commit": "e86a8f967fda6dfeddb59bf2f2e9484db4c44a11",
      "fileid": "https://r2.ropensci.org/68fb51b49ea32ba01cee273e8f210a68aecc26a4b3647e25637dcc80717dba65",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ngreifer/actions/runs/27543910520"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.0.2",
      "date": "2026-06-15T11:50:22.000Z",
      "distro": "noble",
      "commit": "e86a8f967fda6dfeddb59bf2f2e9484db4c44a11",
      "fileid": "https://r2.ropensci.org/d498bb8a460d0b7660bef502889349148c29de330c8fc1dfe8e35caed331c888",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ngreifer/actions/runs/27543910520"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.2",
      "date": "2026-06-15T11:49:45.000Z",
      "commit": "e86a8f967fda6dfeddb59bf2f2e9484db4c44a11",
      "fileid": "https://r2.ropensci.org/d633339782baa035f3dc5296a3bf41b16fbe0b37acf0a2d17c6f99f23418167b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ngreifer/actions/runs/27543910520"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.0.2",
      "date": "2026-06-15T11:49:44.000Z",
      "commit": "e86a8f967fda6dfeddb59bf2f2e9484db4c44a11",
      "fileid": "https://r2.ropensci.org/1a368566528799a9a05a4eb114b5cef9e865820eb6c86952e31615d0a1af2169",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ngreifer/actions/runs/27543910520"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.2",
      "date": "2026-06-15T11:50:11.000Z",
      "commit": "e86a8f967fda6dfeddb59bf2f2e9484db4c44a11",
      "fileid": "https://r2.ropensci.org/ba214ed9fb93572f1f276fc0d132f4d884fa7f6bea4ece3b9e24b733cab0650a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ngreifer/actions/runs/27543910520"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.2",
      "date": "2026-06-15T11:49:17.000Z",
      "commit": "e86a8f967fda6dfeddb59bf2f2e9484db4c44a11",
      "fileid": "https://r2.ropensci.org/9f98867521fbd3523e5b7b77fa2a9bd17c988a7032ffed44812c63f81a727fed",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ngreifer/actions/runs/27543910520"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.2",
      "date": "2026-06-15T11:49:30.000Z",
      "commit": "e86a8f967fda6dfeddb59bf2f2e9484db4c44a11",
      "fileid": "https://r2.ropensci.org/2cefa9e9d065c5b66fbba9166a925172e27188f12601105451571a5300a2ce69",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ngreifer/actions/runs/27543910520"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.0.2",
      "date": "2026-06-15T11:49:14.000Z",
      "commit": "e86a8f967fda6dfeddb59bf2f2e9484db4c44a11",
      "fileid": "https://r2.ropensci.org/fd2ba6babd205a09ddd4d6c1c95654799ca120a1f464cc179409f6b45b0cea9c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ngreifer/actions/runs/27543910520"
    }
  ]
}