alloc.def3: distributions derived. size allocation across regions by...

Description Usage Arguments Value Examples

View source: R/alloc.def3.R

Description

distributions derived. size allocation across regions by maximizing conditional assurance probability by Definition 3 when regional treatment effects are sightly different.

Usage

1
alloc.def3(r0, alpha = 0.05, beta = 0.2, s, u, eps, pai, grid = 0.1)

Arguments

r0

True overall log hazard ratio

alpha

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

beta

The risk of failing to reject the null hypothesis H0:r0>=0 when it is really false

s

Number of regions participating in the MRCT

u

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

eps

Significance level of not rejecting H0 in Definition 3

pai

The preserved proportion of overall treatment effect

grid

Grid interval of the grid research

Value

A list

Examples

1
2
3
set.seed(123)
Alloc3 <- alloc.def3(r0=log(0.7), alpha=0.05, beta=0.2, s=3, u=c(1.1,1,0.9), eps=0.3,
pai=1/3, grid=0.1)

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