Package: lmw 0.0.2
lmw: Linear Model Weights
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) <doi:10.1093/biomet/asac058> 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.
Authors:
lmw_0.0.2.tar.gz
lmw_0.0.2.zip(r-4.5)lmw_0.0.2.zip(r-4.4)lmw_0.0.2.zip(r-4.3)
lmw_0.0.2.tgz(r-4.4-any)lmw_0.0.2.tgz(r-4.3-any)
lmw_0.0.2.tar.gz(r-4.5-noble)lmw_0.0.2.tar.gz(r-4.4-noble)
lmw_0.0.2.tgz(r-4.4-emscripten)lmw_0.0.2.tgz(r-4.3-emscripten)
lmw.pdf |lmw.html✨
lmw/json (API)
NEWS
# Install 'lmw' in R: |
install.packages('lmw', repos = c('https://ngreifer.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/ngreifer/lmw/issues
- lalonde - Data from National Supported Work Demonstration and PSID, as analyzed by Dehejia and Wahba (1999).
Last updated 10 months agofrom:e86a8f967f. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 04 2024 |
R-4.5-win | OK | Nov 04 2024 |
R-4.5-linux | OK | Nov 04 2024 |
R-4.4-win | OK | Nov 04 2024 |
R-4.4-mac | OK | Nov 04 2024 |
R-4.3-win | OK | Nov 04 2024 |
R-4.3-mac | OK | Nov 04 2024 |
Dependencies:backportschkcligluelatticelifecyclerlangsandwichzoo
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Regression Diagnostics for 'lmw' and 'lmw_est' objects | influence.lmw influence.lmw_est |
Data from National Supported Work Demonstration and PSID, as analyzed by Dehejia and Wahba (1999). | lalonde |
Compute linear regression-implied weights | lmw |
Estimate a treatment effect from a linear model | lmw_est lmw_est.lmw lmw_est.lmw_aipw lmw_est.lmw_iv |
Compute instrumental variable regression-implied weights | lmw_iv |
Plots diagnosing regression-implied weights | plot.lmw |
Plot diagnostics for an 'lmw_est' object | plot.lmw_est |
Produce a Love plot of balance statistics | plot.summary.lmw |
Assess balance for an 'lmw' object | print.summary.lmw summary.lmw summary.lmw_multi |
Extract effect estimates and standard errors from 'lmw_est' fits | summary.lmw_est summary.lmw_est_aipw |