R/Sensitivity.Index.R

Defines functions Sensitivity.Index

Documented in Sensitivity.Index

Sensitivity.Index <-
function(alpha,n,deltaT){
t=qt(1-alpha/2,n-2)
p=1-pt(t,n-2,deltaT)+pt(-t,n-2,deltaT)
}

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.