PWEALL-package |
Design and Monitoring of Survival Trials Accounting for Complex Situations |
cp |
Conditional power given observed log hazard ratio |
cpboundary |
The stopping boundary based on the conditional power criteria |
cpstop |
The stopping probability based on the stopping boundary |
fourhr |
A utility functon |
innercov |
A utility function to calculate the inner integration of the overall covariance |
innervar |
A utility function to calculate the inner integration of the overall variance |
instudyfindt |
calculate the timeline in study when some or all subjects have entered |
ovbeta |
calculate the overall log hazard ratio |
overallcov |
calculate the overall covariance |
overallcovp1 |
calculate the first part of the overall covariance |
overallcovp2 |
calculate the other parts of the overall covariance |
overallvar |
calculate the overall variance |
pwe |
Piecewise exponential distribution: hazard, cumulative hazard, density, distribution, survival |
pweall |
Design and Monitoring of Survival Trials Accounting for Complex Situations |
pwecx |
Various function for piecewise exponential distribution with crossover effect |
pwecxcens |
Integration of the density of piecewise exponential distribution with crossover effect and the censoring function |
pwecxpwu |
Integration of the density of piecewise exponential distribution with crossover effect, censoring and recruitment function |
pwecxpwufindt |
calculate the timeline when certain number of events accumulates |
pwecxpwuforvar |
calculate the utility function used for varaince calculation |
pwefv2 |
A utility function |
pwefvplus |
A utility functon |
pwepower |
Calculating the powers of various the test statistics for superiority trials |
pwepowereq |
Calculating the powers of various the test statistics for equivalence trials |
pwepowerfindt |
Calculating the timepoint where a certain power of the specified test statistics is obtained |
pwepowerni |
Calculating the powers of various the test statistics for non-inferiority trials |
pwesim |
simulating the test statistics |
pwu |
Piecewise uniform distribution: distribution |
qpwe |
Piecewise exponential distribution: quantile function |
qpwu |
Piecewise uniform distribution: quantile function |
rpwe |
Piecewise exponential distribution: random number generation |
rpwecx |
Piecewise exponential distribution with crossover effect: random number generation |
rpwu |
Piecewise uniform distribution: random number generation |
spf |
A utility function |