Package: PWEALL 1.3.0.1

PWEALL: Design and Monitoring of Survival Trials Accounting for Complex Situations

Calculates various functions needed for design and monitoring survival trials accounting for complex situations such as delayed treatment effect, treatment crossover, non-uniform accrual, and different censoring distributions between groups. The event time distribution is assumed to be piecewise exponential (PWE) distribution and the entry time is assumed to be piecewise uniform distribution. As compared with Version 1.2.1, two more types of hybrid crossover are added. A bug is corrected in the function "pwecx" that calculates the crossover-adjusted survival, distribution, density, hazard and cumulative hazard functions. Also, to generate the crossover-adjusted event time random variable, a more efficient algorithm is used and the output includes crossover indicators.

Authors:Xiaodong Luo [aut, cre], Xuezhou Mao [ctb], Xun Chen [ctb], Hui Quan [ctb], Sanofi [cph]

PWEALL_1.3.0.1.tar.gz
PWEALL_1.3.0.1.zip(r-4.5)PWEALL_1.3.0.1.zip(r-4.4)PWEALL_1.3.0.1.zip(r-4.3)
PWEALL_1.3.0.1.tgz(r-4.4-x86_64)PWEALL_1.3.0.1.tgz(r-4.4-arm64)PWEALL_1.3.0.1.tgz(r-4.3-x86_64)PWEALL_1.3.0.1.tgz(r-4.3-arm64)
PWEALL_1.3.0.1.tar.gz(r-4.5-noble)PWEALL_1.3.0.1.tar.gz(r-4.4-noble)
PWEALL_1.3.0.1.tgz(r-4.4-emscripten)PWEALL_1.3.0.1.tgz(r-4.3-emscripten)
PWEALL.pdf |PWEALL.html
PWEALL/json (API)

# Install 'PWEALL' in R:
install.packages('PWEALL', repos = c('https://marvels2031.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Uses libs:
  • fortran– Runtime library for GNU Fortran applications

On CRAN:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

2.12 score 1 packages 44 scripts 234 downloads 42 exports 3 dependencies

Last updated 1 years agofrom:d4c6df009f. Checks:OK: 9. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 08 2024
R-4.5-win-x86_64OKOct 08 2024
R-4.5-linux-x86_64OKOct 08 2024
R-4.4-win-x86_64OKOct 08 2024
R-4.4-mac-x86_64OKOct 08 2024
R-4.4-mac-aarch64OKOct 08 2024
R-4.3-win-x86_64OKOct 08 2024
R-4.3-mac-x86_64OKOct 08 2024
R-4.3-mac-aarch64OKOct 08 2024

Exports:cpcpboundarycpstopfourhrhxbetainnercovinnervarinstudyfindtovbetaoverallcovoverallcovp1overallcovp2overallvarpwepwecxpwecxcenspwecxpwupwecxpwufindtpwecxpwuforvarpwefv2pwefvpluspwepowerpwepowereqpwepowerfindtpwepowernipwesimpwuqpweqpwurmstcovrmsthrmstpowerrmstpowerfindtrmstsimrmstutilrpwerpwecxrpwuspfwlrcalwlrcomwlrutil

Dependencies:latticeMatrixsurvival

Readme and manuals

Help Manual

Help pageTopics
Design and Monitoring of Survival Trials Accounting for Complex SituationsPWEALL-package PWEALL
Conditional power given observed log hazard ratiocp
The stopping boundary based on the conditional power criteriacpboundary
The stopping probability based on the stopping boundarycpstop
A utility functonfourhr
A function to calculate the beta-smoothed hazard ratehxbeta
A utility function to calculate the inner integration of the overall covarianceinnercov
A utility function to calculate the inner integration of the overall varianceinnervar
calculate the timeline in study when some or all subjects have enteredinstudyfindt
calculate the overall log hazard ratioovbeta
calculate the overall covarianceoverallcov
calculate the first part of the overall covarianceoverallcovp1
calculate the other parts of the overall covarianceoverallcovp2
calculate the overall varianceoverallvar
Piecewise exponential distribution: hazard, cumulative hazard, density, distribution, survivalpwe
Various function for piecewise exponential distribution with crossover effectpwecx
Integration of the density of piecewise exponential distribution with crossover effect and the censoring functionpwecxcens
Integration of the density of piecewise exponential distribution with crossover effect, censoring and recruitment functionpwecxpwu
calculate the timeline when certain number of events accumulatespwecxpwufindt
calculate the utility function used for varaince calculationpwecxpwuforvar
A utility functionpwefv2
A utility functonpwefvplus
Calculating the powers of various the test statistics for superiority trialspwepower
Calculating the powers of various the test statistics for equivalence trialspwepowereq
Calculating the timepoint where a certain power of the specified test statistics is obtainedpwepowerfindt
Calculating the powers of various the test statistics for non-inferiority trialspwepowerni
simulating the test statisticspwesim
Piecewise uniform distribution: distributionpwu
Piecewise exponential distribution: quantile functionqpwe
Piecewise uniform distribution: quantile functionqpwu
Calculation of the variance and covariance of estimated restricted mean survival timermstcov
Estimate the restricted mean survival time (RMST) and its variance from datarmsth
Calculate powers at different cut-points based on difference of restricted mean survival times (RMST)rmstpower
Calculating the timepoint where a certain power of mean difference of RMSTs is obtainedrmstpowerfindt
simulating the restricted mean survival timesrmstsim
A utility function to calculate the true restricted mean survival time (RMST) and its variance account for delayed treatment, discontinued treatment and non-uniform entryrmstutil
Piecewise exponential distribution: random number generationrpwe
Piecewise exponential distribution with crossover effect: random number generationrpwecx
Piecewise uniform distribution: random number generationrpwu
A utility functionspf
A utility function to calculate the weighted log-rank statistics and their varainces given the weightswlrcal
A function to calculate the various weighted log-rank statistics and their varainceswlrcom
A utility function to calculate some common functions in contructing weightswlrutil