R/tailU_grid.R

Defines functions tailU.grid

tailU.grid <- function(gc){
  k <- gc$k
  m <- gc$m
  
  t <- min(c(m,k))
  
  value <- 2 - (1 - p.grid(U = (t-1)/t * (1 + 1e-3 * 1/t) , 
                           V = (t-1)/t * (1 + 1e-3 * 1/t), gc = gc)
  )/(1 - ((t-1)/t * (1 + 1e-3 * 1/t)))
  return(value)
}

Try the GRIDCOPULA package in your browser

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

GRIDCOPULA documentation built on June 22, 2024, 12:24 p.m.