Package: smoothedIPW 0.1.1
smoothedIPW: Time-Smoothed Inverse Probability Weighting for Repeatedly Measured Outcomes
Implements several methods to estimate effects of generalized time-varying treatment strategies on the mean of an outcome at one or more selected follow-up times of interest. Specifically, the package implements the time-smoothed inverse probability weighted estimators described in McGrath et al. (2025) <doi:10.48550/arXiv.2509.13971>. Outcomes may be repeatedly, non-monotonically, informatively, and sparsely measured in the data source. The package also supports settings where outcomes are truncated by death, i.e. some individuals die during follow-up which renders the outcome of interest undefined at the follow-up time of interest.
Authors:
smoothedIPW_0.1.1.tar.gz
smoothedIPW_0.1.1.zip(r-4.7)smoothedIPW_0.1.1.zip(r-4.6)smoothedIPW_0.1.1.zip(r-4.5)
smoothedIPW_0.1.1.tgz(r-4.6-any)smoothedIPW_0.1.1.tgz(r-4.5-any)
smoothedIPW_0.1.1.tar.gz(r-4.7-any)smoothedIPW_0.1.1.tar.gz(r-4.6-any)
smoothedIPW_0.1.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
smoothedIPW/json (API)
| # Install 'smoothedIPW' in R: |
| install.packages('smoothedIPW', repos = c('https://stmcg.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/stmcg/smoothedipw/issues
- data_null - Example dataset with null treatment effects
- data_null_deaths - Example dataset with null treatment effects and deaths
- data_null_deaths_binary - Example dataset with null treatment effects and deaths
Last updated from:9f243f8597. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 135 | ||
| source / vignettes | OK | 215 | ||
| linux-release-x86_64 | OK | 126 | ||
| macos-release-arm64 | OK | 106 | ||
| macos-oldrel-arm64 | OK | 109 | ||
| windows-devel | OK | 92 | ||
| windows-release | OK | 102 | ||
| windows-oldrel | OK | 90 | ||
| wasm-release | OK | 87 |
Dependencies:clicrayondata.tablegluehmslifecyclepkgconfigprettyunitsprogressR6rlangvctrs
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Example dataset with null treatment effects | data_null |
| Example dataset with null treatment effects and deaths (continuous outcome) | data_null_deaths |
| Example dataset with null treatment effects and deaths (binary outcome) | data_null_deaths_binary |
| Bootstrap-based confidence intervals | get_CI |
| Time-smoothed inverse probability weighting | ipw |
| Prepare data set for inverse probability weighting | prep_data |
| Print method for "ipw" objects | print.ipw |
| Print method for "ipw_ci" objects | print.ipw_ci |
