SingleArmCRGIStudy: Create a 'Study' object for a CRGI type single arm study

Description Usage Arguments Value

Description

Create a Study object for a CRGI type single arm study

Usage

1
2
SingleArmCRGIStudy(N, study.duration, ctrl.time, ctrl.proportion, k, acc.period,
  shape = 1, followup, dropout = NULL, lag.settings = NullLag())

Arguments

N

Number of subjects to be recruit (integer)

study.duration

Number of months the study will be going.

ctrl.time

The time at which ctrl.proportion of subjects have had an event. Used to set the event rate

ctrl.proportion

The proportion of subjects who have had an event by time time

k

non-uniformity of accrual (integer, 1=uniform). Non-uniform accrual is allowed for using the following distribution for the probability of a patient entering the trial at time b within the accrual period [0,B]: F(b)=b_k/B_k; f(b)=k b_{k-1}/B_k where k is the measure of non-uniformity (k>0). k=1 indicates uniform accrual. This implies that during the first half of the accrual period, 1/2^k of the patients will be recruited. Half of the patients will be recruited by time B/2^{1/k}.

acc.period

Accrual time.

shape

The Weibull shape parameter

followup

The follow up time for each subject

dropout

if subjects drop out in study (due to competing risks not as there is a finite follow up time) then this argument should contain a list with proportion and time and optionally shape i.e. dropout=list(proportion=0.03,time=12,shape=1.2) meaning in the absence of events 3 will have dropped out after 12 months with a Weibull hazard rate with shape=1.2. If shape is not included then it defaults to 1 (exponential rate). If dropout is NULL then no subjects will drop out

lag.settings

The LaggedEffect object describing any lag effect for the study

Value

A Study object


scientific-computing-solutions/eventPrediction documentation built on May 29, 2019, 3:44 p.m.