prob.def3: and conditional probabilities of claiming consistency of...

Description Usage Arguments Value Examples

View source: R/prob.def3.R

Description

and conditional probabilities of claiming consistency of treatments effects in an MRCT with a survival endpoint by Definition 3.

Usage

1
prob.def3(r0, s, E0, u, f, eps, pai, alpha)

Arguments

r0

True overall log hazard ratio

s

Number of regions participating in the MRCT

E0

Event number of all regions with two groups combined

u

A vector presents ratios of true regional log hazard ratios to true overall log hazard ratio r=u*r0

f

A Vector presents proportions of total event number assigned to each region

eps

Significance level of not rejecting H0 in Definition 3

pai

The preserved proportion of overall treatment effect

alpha

The risk of rejecting the null hypothesis H0:r0>=0 when it is really true

Value

A list

Examples

1
2
3
4
5
6
alpha=0.05
r0=log(0.7)
E0=Eventnum(r=r0, alpha=0.05, beta=0.2)
set.seed(123)
AP3 <- prob.def3(r0=r0, s=3, E0=E0, u=c(1,1,1), f=c(1/3,1/3,1/3),
eps=0.3,pai=1/3, alpha=alpha)

carolinewei/apsurvival documentation built on Nov. 4, 2019, 8:44 a.m.