Other packages > Find by keyword >

npsurvSS  

Sample Size and Power Calculation for Common Non-Parametric Tests in Survival Analysis
View on CRAN: Click here


Download and install npsurvSS package within the R console
Install from CRAN:
install.packages("npsurvSS")

Install from Github:
library("remotes")
install_github("cran/npsurvSS")

Install by package version:
library("remotes")
install_version("npsurvSS", "1.1.0")



Attach the package and use:
library("npsurvSS")
Maintained by
Godwin Yung
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2019-12-18
Latest Update: 2024-05-08
Description:
A number of statistical tests have been proposed to compare two survival curves, including the difference in (or ratio of) t-year survival, difference in (or ratio of) p-th percentile survival, difference in (or ratio of) restricted mean survival time, and the weighted log-rank test. Despite the multitude of options, the convention in survival studies is to assume proportional hazards and to use the unweighted log-rank test for design and analysis. This package provides sample size and power calculation for all of the above statistical tests with allowance for flexible accrual, censoring, and survival (eg. Weibull, piecewise-exponential, mixture cure). It is the companion R package to the paper by Yung and Liu (2019) . Specific to the weighted log-rank test, users may specify which approximations they wish to use to estimate the large-sample mean and variance. The default option has been shown to provide substantial improvement over the conventional sample size and power equations based on Schoenfeld (1981) .
How to cite:
Godwin Yung (2019). npsurvSS: Sample Size and Power Calculation for Common Non-Parametric Tests in Survival Analysis. R package version 1.1.0, https://cran.r-project.org/web/packages/npsurvSS. Accessed 22 Sep. 2026.
Previous versions and publish date:
(2026-07-09 06:25), 1.0.1 (2019-12-18 16:10)
Other packages that cited npsurvSS R package
View npsurvSS citation profile
Other R packages that npsurvSS depends, imports, suggests or enhances
Complete documentation for npsurvSS
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

odns  
Access Scottish Health and Social Care Open Data
Allows potential users of Scottish Health and Social Care Open Data ( ...
Download / Learn more Package Citations See dependency  
jointseg  
Joint Segmentation of Multivariate (Copy Number) Signals
Methods for fast segmentation of multivariate signals into piecewise constant profiles and for gene ...
Download / Learn more Package Citations See dependency  
Countr  
Flexible Univariate Count Models Based on Renewal Processes
Flexible univariate count models based on renewal processes. The models may include covariates and ...
Download / Learn more Package Citations See dependency  
r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
cnum  
Chinese Numerals Processing
Chinese numerals processing in R, such as conversion between Chinese numerals and Arabic numerals a ...
Download / Learn more Package Citations See dependency  
heatmaply  
Interactive Cluster Heat Maps Using 'plotly' and 'ggplot2'
Create interactive cluster 'heatmaps' that can be saved as a stand- alone HTML file, embedded in 'R ...
Download / Learn more Package Citations See dependency  

28,720

R Packages

247,686

Dependencies

75,677

Author Associations

28,721

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA