wmst | R Documentation |
Performs two-sample comparisons using the window mean survival time (WMST) as a summary measure of the survival time distribution. Three kinds of between-group contrast metrics (i.e., the difference in WMST, the ratio of WMST and the ratio of the window mean time lost (WMTL)) are computed. The Greenwood plug-in estimator is used for the asymptotic variance.
wmst(time, status, arm, tau0 = NULL, tau1 = NULL, alternative = "two.sided", alpha = 0.05)
time |
The follow-up time for right censored data. |
status |
The status indicator, 1=event, and 0=right censored. |
arm |
The group indicator for comparison. The elements of this vector take either 1 or 0. Normally, 0=control group, 1=active treatment group. |
tau0 |
A scaler value to specify the lower truncation time point of the window for the WMST calculation.
|
tau1 |
A scaler value to specify the upper truncation time point of the window for the WMST calculation.
|
alternative |
Determines the sidedness of the alternative hypothesis. The default is "two.sided" which performs a two-tailed hypothesis test. If set to "greater" an upper-tailed test is performed. If set to "less" a lower-tailed test is performed. |
alpha |
The default is 0.05. (1- |
For more details, please see the package vignette: browseVignettes(package = "survWMST")
an object of class wmst.
tau0 |
the lower truncation time used in the analyses |
tau1 |
the upper truncation time used in the analyses |
note |
a note regarding the truncation time |
WMST.arm1 |
WMST results in arm 1. |
WMST.arm0 |
WMST results in arm 0. |
result |
Results of the WMST analyses. |
Mitchell Paukner
Note to self: figure out what to place here! (Definitely give Hajime Uno, Lu Tian, Miki Horiguchi, Angel Cronin, Chakib Battioui, James Bell credit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.