R/WilliamsDesign.Equivalence.R

Defines functions WilliamsDesign.Equivalence

Documented in WilliamsDesign.Equivalence

WilliamsDesign.Equivalence <-
function(alpha,beta,sigma,sequence,delta,margin){
n<-(qnorm(1-alpha)+qnorm(1-beta/2))^2*sigma/(sequence*(margin-abs(delta))^2)
n
}

Try the TrialSize package in your browser

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

TrialSize documentation built on May 30, 2017, 7:18 a.m.