R/rhoci2.R

Defines functions rhoci2

Documented in rhoci2

rhoci2 <-
function(n,rho,cv){

    rat <- (1-rho)/(1+rho)
    u1 <- exp(-cv*(2/sqrt(n-3)))
    u2 <- exp(cv*(2/sqrt(n-3)))
    ub <- (1-rat*u1)/(1+rat*u1)
    lb <- (1-rat*u2)/(1+rat*u2)
    rhoci <- c(rho,lb,ub)
    return(rhoci)
}

Try the DBfit package in your browser

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

DBfit documentation built on May 1, 2021, 1:09 a.m.