## From Reboussin, et al. (2000)
t <- c(0.13,0.4,0.69,0.9,0.98,1)
upper <- c(5.3666,3.7102,2.9728,2.5365,2.2154,1.9668)
bound.pr <- ldPower(t,zb=upper,drift=3.242)
summary(bound.pr)
t <- c(0.2292,0.3333,0.4375,0.5833,0.7083,0.8333)
power.fam <- ldBounds(t,iuse=3,alpha=0.05)
bound.ci <- ldPower(power.fam,conf=0.95,zval=2.82)
bound.p <- ldPower(power.fam,method="LR",pvaltime=5,zval=2.82)
summary(bound.ci)
summary(bound.p)
plot(bound.ci)
obf.bd <- ldBounds(5)
obf.dr <- ldPower(obf.bd,pow=0.9)
summary(obf.dr)
Run the code above in your browser using DataLab