R/seqCI.R

Defines functions seqCI

Documented in seqCI

seqCI = function(bi, ti, Zval, conf.level=0.95)
{
  bi[length(bi)] = Zval
  target = 0.5 + c(-1, 1)*conf.level/2
  LL = Drift(bi, ti, target[1])
  UL = Drift(bi, ti, target[2])
  return(c(lower=LL, upper=UL))
}

Try the sasLM package in your browser

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

sasLM documentation built on Nov. 19, 2023, 5:12 p.m.