Learn R Programming

PwrGSD (version 2.3.8)

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

License

GPL (>= 2)

Maintainer

Grant Izmirlian

Last Published

October 10th, 2024

Functions in PwrGSD (2.3.8)

PwrGSD

Calculate Power in a Group Sequential Design
as.boundaries

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

Extract the Power results
Haybittle

The Haybittle method of Boundary Construction
Pow

The Wang-Tsiatis Power Alpha Spending Function
Pocock

The Pocock Alpha Spending Function
LanDemets

The Lan-Demets method of Boundary Construction
cpd.PwrGSD

Create a skeleton compound PwrGSD object
ObrienFleming

The O'Brien-Fleming Alpha Spending Function
SC

The Stochastic Curtailment method of Boundary Construction
IntSurvDiff

Weighted Integrated Survival function test
mysurvfit

My Survfit
mystack

Stack a dataset
SimGSB

Verifies the results of "GrpSeqBnds" via simulation
wtdlogrank

Weighted log-rank test
agghaz

Aggregated Hazard
Elements

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

Computes efficacy and futility boundaries
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
CRRtoRR

Cumulative-risk ratios to risk ratios
CDFOR2LRR

Convert CDF Odds Ratio to Logged Relative Risks
lung

Mayo Clinic Lung Cancer Data
SCtoBdry

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

Relative cumulative mortality to Relative Risk
detail

Function to extract the 'detail' component from a PwrGSD object
gsd.dens

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

Relative risk to Relative Cumulative Mortality
lookup

Lookup values for a piecewise constant function
EX1gXK

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

Calender year rates to Study Year Rates