R/Dt.R

Defines functions Dt

Documented in Dt

Dt <-
function(rho) {
  threshold=0.05
  ut = qnorm(1 - threshold/2)
  delta = unlist(lapply(rho,bivprob,lower=-ut)) - (1 - threshold)^2
  dt = delta/(threshold * (1 - threshold))
  return(dt)
}

Try the bapred package in your browser

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

bapred documentation built on June 22, 2022, 9:08 a.m.