Learn R Programming

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

PwrGSD (version 2.3.3)

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.3

License

GPL (>= 2)

Maintainer

Grant Izmirlian

Last Published

January 27th, 2021

Functions in PwrGSD (2.3.3)

cpd.PwrGSD

Create a skeleton compound PwrGSD object
Pocock

The Pocock Alpha Spending Function
PwrGSD

Calculate Power in a Group Sequential Design
Power

Extract the Power results
as.boundaries

Convert a "PwrGSD" object to a "boundaries" object
LanDemets

The Lan-Demets method of Boundary Construction
SC

The Stochastic Curtailment method of Boundary Construction
Elements

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

The Haybittle method of Boundary Construction
ObrienFleming

The O'Brien-Fleming Alpha Spending Function
Pow

The Wang-Tsiatis Power Alpha Spending Function
SimGSB

Verifies the results of "GrpSeqBnds" via simulation
CY2TOShaz

Calender year rates to Study Year Rates
CDFOR2LRR

Convert CDF Odds Ratio to Logged Relative Risks
paste

The paste operator
gsd.dens

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

Computes efficacy and futility boundaries
wtdlogrank

Weighted log-rank test
EX1gXK

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

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

Plot Method for cpd.PwrGSD objects
CondPower

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

A utility function for forming differences
lung

Mayo Clinic Lung Cancer Data
IntSurvDiff

Weighted Integrated Survival function test
agghaz

Aggregated Hazard
detail

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

Relative risk to Relative Cumulative Mortality
lookup

Lookup values for a piecewise constant function
CRRtoRR

Cumulative-risk ratios to risk ratios
mysurvfit

My Survfit
mystack

Stack a dataset
RCM2RR

Relative cumulative mortality to Relative Risk