Sequential Multiple Assignment Randomized Trials Design and Analyses

Implements the interim augmented inverse probability weighted estimator (IAIPWE) for estimating the value of treatment regimes embedded in sequential multiple assignment randomized trials (SMARTs). The IAIPWE subsumes both the inverse probability weighted estimator (IPWE) and the augmented inverse probability weighted estimator (AIPWE), enabling inference at interim and final analyses. The package provides functions for value estimation, sandwich variance computation, group sequential stopping boundaries, and sample size determination for multi-stage SMARTs with up to two treatment options at each stage. See Manschot, Laber, and Davidian (2023) for additional details.


rsmart rsmart hex logo

rsmart is an R package to plan and analyze sequential multiple assignment randomized trials (SMARTs)

Installation

install.packages("rsmart")

Alternatively, to use a new feature or get a bug fix, you can install the development version of rsmart from GitHub:

# install.packages("remotes")
remotes::install_github("MSDLLCpapers/rsmart")

Overview

The rsmart package is intended to provide a common package for analyzing SMARTs with normal, binary, and time-to-event endpoints. The current build implements the inverse-probability weighted estimator, augmented IPWE and interim AIPWE of Wu, Wang, and Wahed, Zhang, Tsiatis, Laber and Davidian, and Manschot, Laber, and Davidian. It provides a convenient structure to implement any of these estimators for continuous (asymptotically normal) endpoints.

If you're new to SMARTs and want to read a high-level overview of the key concepts involved, see our vignette titled "Getting Started with SMARTs."

If you want to see an example of how the rsmart package can be used to implement the inverse probability weighted estimator (IAIPWE) approach, see the vignette titled "Full demo of IAIPWE."

Future Developments

We anticipate future developments to include:

  • Binary and TTE endpoints design features
  • Hazard ratio estimation and global chi-square statistics for TTE endpoints
  • Additional examples

If you are interested in contributing, suggest an issue or open a pull request for review.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("rsmart")

0.1.0 by Cole Manschot, 21 days ago


https://MSDLLCpapers.github.io/rsmart/, https://github.com/MSDLLCpapers/rsmart, https://msdllcpapers.github.io/rsmart/


Report a bug at https://github.com/MSDLLCpapers/rsmart/issues


Browse source code at https://github.com/cran/rsmart


Authors: Cole Manschot [aut, cre] , Tabitha Peter [ctb] , Gabriela Piasecki [ctb] , Laura Frederick [ctb]


Documentation:   PDF Manual  


GPL (>= 3) license


Imports data.table, doFuture, foreach, Matrix, MASS, modelObj, mvtnorm, stats

Suggests dplyr, knitr, pkgdown, rmarkdown, testthat


See at CRAN