StoppingLowestDoseHSRBeta-class: 'StoppingLowestDoseHSRBeta'

Description Usage Arguments Slots Examples

Description

[Experimental]

StoppingLowestDoseHSRBeta is a class for stopping based on a Hard Safety Rule using the Beta posterior distribution with Beta(a,b) prior and a Bin-Beta model based on the observed data at the lowest dose level. The rule is triggered when the first dose is considered to be toxic (i.e. above threshold probability) based on the observed data at the lowest dose level and a Beta(a,b) prior distribution. The default prior is Beta(1,1). In case that placebo is used, the rule is evaluated at the second dose of the dose grid, i.e. at the lowest non-placebo dose. Note: this stopping rule is independent from the underlying model.

[Experimental]

StoppingLowestDoseHSRBeta is a class for stopping based on a hard safety rule using the Beta posterior distribution with Beta(a,b) prior and a Bin-Beta model based on the observed data at the lowest dose level. The rule is triggered when the first dose is considered to be toxic (i.e. above threshold probability) based on the observed data at the lowest dose level and a Beta(a,b) prior distribution. The default prior is Beta(1,1). In case that placebo is used, the rule is evaluated at the second dose of the dosegrid, i.e. at the lowest non-placebo dose.

Usage

1
2
3
StoppingLowestDoseHSRBeta(target = 0.3, prob = 0.95, a = 1, b = 1)

StoppingLowestDoseHSRBeta(target = 0.3, prob = 0.95, a = 1, b = 1)

Arguments

target

(number)
the target toxicity probability (e.g. 0.3) defining the MTD.

prob

(number)
the threshold probability for the lowest dose being toxic (e.g. 0.95).

a

(number)
shape parameter a>0 of probability distribution Beta (a,b), default is Beta(1,1)

b

(number)
shape parameter b>0 of probability distribution Beta (a,b), default is Beta(1,1)

Slots

target

(proportion)
the target toxicity.

prob

(proportion)
the threshold probability for the lowest dose being toxic.

a

(number)
shape parameter a>0 of probability distribution Beta (a,b).

b

(number)
shape parameter b>0 of probability distribution Beta (a,b).

target

(number)
the target toxicity

prob

(number)
the threshold probability for the lowest dose being toxic

a

(number)
shape parameter a>0 of probability distribution Beta (a,b)

b

(number)
shape parameter b>0 of probability distribution Beta (a,b)

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Stopping the study if the first dose is toxic with more than 90%
# probability based on a Beta posterior distribution with Beta(1,1) prior.
my_stopping <- StoppingLowestDoseHSRBeta(
  target = 0.3,
  prob = 0.9
)

# Stopping the study if the first dose is toxic with more than 90%
# probability based on a Beta posterior distribution with Beta(0.5,0.5) prior.
my_stopping <- StoppingLowestDoseHSRBeta(
  target = 0.3,
  prob = 0.9,
  a = 0.5,
  b = 0.5
)

#   Stopping the study if the first dose is toxic with more than 90%
#   probability based on a Beta posterior distribution with Beta(1,1) prior.

my_stopping <- StoppingLowestDoseHSRBeta(target = 0.3,
                                         prob = 0.9)


#   Stopping the study if the first dose is toxic with more than 90%
#   probability based on a Beta posterior distribution with Beta(0.5,0.5) prior.

my_stopping <- StoppingLowestDoseHSRBeta(target = 0.3,
                                         prob = 0.9,
                                         a = 0.5,
                                         b = 0.5)

0liver0815/onc-crmpack-test documentation built on Feb. 19, 2022, 12:25 a.m.