Package: lmw Type: Package Title: Linear Model Weights Version: 0.0.2 Authors@R: c( person("Ambarish", "Chattopadhyay", email = "ambarish_chattopadhyay@g.harvard.edu", role = c("aut"), comment = c(ORCID = "0000-0002-1502-0974")), person("Noah", "Greifer", role = c("aut", "cre"), email = "ngreifer@iq.harvard.edu", comment = c(ORCID="0000-0003-3067-7154")), person("Jose", "Zubizarreta", email = "zubizarreta@hcp.med.harvard.edu", role = c("aut"), comment = c(ORCID = "0000-0002-0322-147X")) ) Description: Computes the implied weights of linear regression models for estimating average causal effects and provides diagnostics based on these weights. These diagnostics rely on the analyses in Chattopadhyay and Zubizarreta (2023) where several regression estimators are represented as weighting estimators, in connection to inverse probability weighting. 'lmw' provides tools to diagnose representativeness, balance, extrapolation, and influence for these models, clarifying the target population of inference. Tools are also available to simplify estimating treatment effects for specific target populations of interest. License: GPL (>= 2) Encoding: UTF-8 URL: https://github.com/ngreifer/lmw BugReports: https://github.com/ngreifer/lmw/issues Depends: R (>= 3.5.0) Imports: chk (>= 0.9.1), sandwich (>= 3.0-2), backports (>= 1.4.1) Suggests: MatchIt (>= 4.3.2), WeightIt (>= 0.14.2), marginaleffects (>= 0.17.0), PSweight (>= 1.1.8), estimatr, lmtest, ivreg, mlogit, testthat (>= 3.0.0) 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: 2026-06-15 11:47:55 UTC; root Author: Ambarish Chattopadhyay [aut] (ORCID: ), Noah Greifer [aut, cre] (ORCID: ), Jose Zubizarreta [aut] (ORCID: ) Maintainer: Noah Greifer