R/pmvt.alt.R

Defines functions pmvt.alt

Documented in pmvt.alt

pmvt.alt <- function(low, upp, corr, df)
{
  integrand <- function(arg, df)
  {
    x <- arg[1]
    y <- arg[2]
    ff <- dmvt(c(x,y), sigma=corr, df=df, log=FALSE)
    return(ff)
  }
cuhre(f=integrand, df=df, lowerLimit=low, upperLimit=upp)$integral
}

Try the GenOrd package in your browser

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

GenOrd documentation built on Nov. 5, 2025, 7:31 p.m.