Sample size and effect size calculation for overall survival given the information on short-term binary endpoints.
In this work, we consider a mixture model that relates both the survival and binary endpoints. We distinguish between patients who respond to the binary endpoint, called responders, and those who don’t, non-responders. We use the difference of the restricted mean survival times (RMSTs) as the basis of the comparison between arms.
The expected effect size (RMSTs difference) and sample size are then calculated on the basis of the response rate of the binary endpoint as well as on the survival functions for responders and non-responders in each treatment arm.
This repository contains R functions for sample size and effect size calculation according to different set of parameters.
The functions included in this repository are the following:
The R package survmixer is available on CRAN:
https://cran.r-project.org/web/packages/survmixer/index.html
You can install the R package from CRAN:
# install.packages("survmixer") library(survmixer)
or install the development version from GitHub:
# install.packages("devtools") library(devtools) install_github("MartaBofillRoig/survmixer")
If you are a newcomer, you can take a look at the functions of the package using the vignettes:
This repository also contains the source files of the preprint:
Specifically,