Learn R Programming

⚠️There's a newer version (2.3.8) of this package.Take me there.

PwrGSD (version 2.3.5)

Power in a Group Sequential Design

Description

Tools for the evaluation of interim analysis plans for sequentially monitored trials on a survival endpoint; tools to construct efficacy and futility boundaries, for deriving power of a sequential design at a specified alternative, template for evaluating the performance of candidate plans at a set of time varying alternatives. See Izmirlian, G. (2014) .

Copy Link

Version

Install

install.packages('PwrGSD')

Monthly Downloads

531

Version

2.3.5

License

GPL (>= 2)

Maintainer

Grant Izmirlian

Last Published

December 9th, 2021

Functions in PwrGSD (2.3.5)

as.boundaries

Convert a "PwrGSD" object to a "boundaries" object
Power

Extract the Power results
cpd.PwrGSD

Create a skeleton compound PwrGSD object
PwrGSD

Calculate Power in a Group Sequential Design
Pocock

The Pocock Alpha Spending Function
ObrienFleming

The O'Brien-Fleming Alpha Spending Function
Pow

The Wang-Tsiatis Power Alpha Spending Function
IntSurvDiff

Weighted Integrated Survival function test
SC

The Stochastic Curtailment method of Boundary Construction
Haybittle

The Haybittle method of Boundary Construction
GrpSeqBnds

Computes efficacy and futility boundaries
LanDemets

The Lan-Demets method of Boundary Construction
CDFOR2LRR

Convert CDF Odds Ratio to Logged Relative Risks
wtdlogrank

Weighted log-rank test
lung

Mayo Clinic Lung Cancer Data
CondPower

Conditional type I and type II error probabilities given current value of the test statistic
detail

Function to extract the 'detail' component from a PwrGSD object
CRRtoRR

Cumulative-risk ratios to risk ratios
SimGSB

Verifies the results of "GrpSeqBnds" via simulation
CY2TOShaz

Calender year rates to Study Year Rates
RCM2RR

Relative cumulative mortality to Relative Risk
mysurvfit

My Survfit
mystack

Stack a dataset
paste

The paste operator
SCtoBdry

Converts a stochastic curtailment boundary (conditional type I or II error probability) into a (efficacy or futility) boundary on the standardized Z scale
Elements

Create a subset of a "cpd.PwrGSD" object
lookup

Lookup values for a piecewise constant function
RR2RCM

Relative risk to Relative Cumulative Mortality
DX

A utility function for forming differences
agghaz

Aggregated Hazard
plot.cpd.PwrGSD

Plot Method for cpd.PwrGSD objects
gsd.dens

A function for computing the probability density for the group sequentially monitored test statistic.
EX1gXK

A function for computing the bias adjusted point estimate for a statistic observed to cross the efficacy boundary.