R/QT.crossover.R

Defines functions QT.crossover

Documented in QT.crossover

QT.crossover <-
function(alpha, beta,pho,K,delta,gamma){
n=(pho+(1-pho)/K)*(qnorm(1-alpha/2)+qnorm(1-beta))^2/(delta^2-gamma*(qnorm(1-alpha/2)+qnorm(1-beta))^2)
}

Try the TrialSize package in your browser

Any scripts or data that you put into this service are public.

TrialSize documentation built on July 8, 2020, 7:19 p.m.